---
title: "AI agents | Trial Insights"
description: "Connect an AI agent to Trial Insights with its anonymous MCP server."
canonical: "https://trialinsights.com/agents"
last_updated: 2026-12-04
---

# Trial Insights

> A way for pharma researchers and biotech investors to track new and ongoing clinical trials. Agent guide: https://trialinsights.com/agents.

## Scope

This file describes how an AI agent connects to Trial Insights over MCP (Model Context Protocol). It covers the anonymous endpoint, which serves what the public site shows a visitor. It needs no account and no token.

## Install

Claude Code, one command, no account and no token:

```bash
claude mcp add --transport http trial-insights https://trialinsights.com/mcp/public/v1
```

Codex, in `~/.codex/config.toml`:

```toml
[mcp_servers.trial-insights]
url = "https://trialinsights.com/mcp/public/v1"
```

Cursor, in `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "trial-insights": {
      "url": "https://trialinsights.com/mcp/public/v1"
    }
  }
}
```

## Configure

- Endpoint: https://trialinsights.com/mcp/public/v1
- Transport: Streamable HTTP, by URL.
- Authentication: none. The anonymous endpoint refuses any request that carries a credential.
- Server name: trial-insights

## Usage

The anonymous endpoint serves 6 tools:

- `trial_search`: Searches the clinical trials on Trial Insights (ClinicalTrials.gov registrations), the same search and filters trialinsights.com offers: a keyword, condition, phase, status, country and a start-year range.
- `trial_recent_changes`: Lists the trials whose registry record changed in the last 7 days, newest first, at most 10, as the strip on trialinsights.com does.
- `trial_starts_by_year`: Returns the number of trials started per year (from 2000), split by phase, for the trials matching a search and filters, the same set and the same chart as the home page of Trial Insights.
- `trial_status_mix`: Returns the number of trials in each overall status for the trials matching a search and filters, the same set and chart as the home page of Trial Insights.
- `trial_top_sponsors`: Returns the ten lead sponsors with the most trials, biggest first, for the trials matching a search and filters, the same set and chart as the home page of Trial Insights.
- `trial_top_conditions`: Returns the ten conditions with the most trials, biggest first, for the trials matching a search and filters, the same set and chart as the home page of Trial Insights.

Example prompts:

```text
Which phase 3 trials for lung cancer started in 2025?
```

```text
Show me trials started per year by phase for Alzheimer's disease
```

```text
What changed on clinical trial records in the last week?
```

## Links

- [Agent guide](https://trialinsights.com/agents)
- [llms.txt](https://trialinsights.com/llms.txt)
- [Sitemap](https://trialinsights.com/sitemap.md)
- [Pharma Observatory agent guide](https://pharmaobservatory.com/agents)

## Sitemap

- [Markdown sitemap](https://trialinsights.com/sitemap.md)
- [XML sitemap](https://trialinsights.com/sitemap.xml)
