ARIA Clinical Research
<!-- mcp-name: io.github.pkotecha-eng/aria-mcp-server -->
# ๐งฌ ARIA Clinical Research MCP Server
A standalone MCP server that gives any Claude agent real-time access to biomedical literature and clinical trials โ no API keys required.
[](https://glama.ai/mcp/servers/pkotecha-eng/aria-mcp-server)
## Tools
| Tool | Description |
|------|-------------|
| `search_pubmed` | Search 35M+ peer-reviewed papers via NCBI E-utilities |
| `search_clinical_trials` | Search 400K+ trials via ClinicalTrials.gov v2 API |
| `search_isrctn` | Search UK/European trials via ISRCTN registry |
## Prompts
| Prompt | Description |
|--------|-------------|
| `clinical-research-brief` | Comprehensive evidence + trial brief for a condition |
| `adverse-event-analysis` | Structured AE and safety profile for a drug |
| `trial-eligibility-checker` | Patient eligibility assessment across recruiting trials |
## Resources
| Resource | Description |
|----------|-------------|
| `info://aria` | Overview of ARIA capabilities and data sources |
| `reference://trial-phases` | Phase IโIV definitions and FDA special designations |
| `reference://high-impact-journals` | Curated high-impact journals by specialty |
| `reference://fda-databases` | FDA databases for drug, safety, and regulatory research |
## Example queries
Once connected, ask Claude:
- "Search PubMed for ketogenic diet pediatric epilepsy outcomes"
- "Find recruiting trials for lung cancer immunotherapy"
- "What does the literature say about veliparib in ovarian cancer, and are there active trials?"
- "Find UK and European trials for pediatric epilepsy via ISRCTN"
## Quickstart
```bash
pip install aria-mcp-server
aria-mcp-server
```
## Install as a Claude Code plugin
The plugin bundles the MCP server with the `aria-clinical-research` skill, which teaches the agent when and how to use the tools, and hooks that enforce parts of that skill (see [Plugin hooks](#plugin-hooks)). In Claude Code:
```
/plugin install aria --marketplace pkotecha-eng/aria-mcp-server
```
Claude Code first asks **Add marketplace?** (y/n), then a scope picker:
- **Install for you (user scope)**
- **Install for all collaborators on this repository (project scope)**
- **Install for you, in this repo only (local scope)**
To check the install:
- `/plugin` shows **ARIA Clinical Research @ pkotecha-eng** with its scope, version, `Skills: aria-clinical-research` and `MCP servers: aria-clinical-research`. When a newer version is published, the same details screen offers **Update now**.
- `/mcp` shows `plugin:aria:aria-clinical-research` as connected with 3 tools.
The plugin starts the server with `uvx --from "aria-mcp-server>=0.2.2" aria-mcp-server`, so [uv](https://docs.astral.sh/uv/) must be on your `PATH`. The hooks also need `python3` 3.9 or later on your `PATH`. Without `uv`, use the standalone server from the Quickstart instead (the plugin's skill and hooks are not installed that way).
Run the plugin **or** a standalone `aria-mcp-server` entry in your MCP config, not both, or the tools appear twice.
### Updating
Plugin updates are published as new plugin versions. To update, open `/plugin` โ **Installed** โ **ARIA Clinical Research** โ **Update now**, then run `/reload-plugins`. No restart is needed. The details screen then shows the new version.
Plugin install tested on Claude Code 2.1.326; hooks tested on 2.1.332. If `/plugin` is missing or behaves differently, run `which claude` and `claude --version` to make sure an older copy isn't shadowing the current one.
### Plugin hooks
| When | What the hook does |
|------|--------------------|
| Before a search | Denies an `search_isrctn` query that contains an ISRCTN ID, an NCT ID lookup without `status=ALL`, an unknown ARIA tool, and any search past 15 per user prompt. Reminds Claude at the 8th. |
| After a search | Adds a reminder when the result count equals `max_results`, a field ends in `...`, `Exclusion Criteria` is `N/A`, the result is empty, the call failed, or the output is unrecognized. |
| Final answer | Every PMID, NCT ID and ISRCTN ID must appear in ARIA results from the session or in your own prompts. A failing answer is sent back twice per prompt, then allowed with a visible "unverified" warning. |
A hook failure blocks searches on Claude Code 2.1.295 or later; on older versions, searches continue unchecked. State (identifiers, counts and audit entries) is kept in the plugin's data directory.
Limits: the check runs after the answer is displayed, so it can force a correction but not retract text. It does not judge wording, such as whether a methods note is accurate. IDs you type are allowed even if ARIA never confirmed them. Scheduled, `/loop` and cross-agent prompts are untested. See [DECISIONS.md](DECISIONS.md).
## Connect to Claude Desktop
Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
```json
{
"mcpServers": {
"aria-clinical-research": {
"command": "aria-mcp-server"
}
}
}
```
Restart Claude Desktop. The server will appear under Settings โ Developer โ Local MCP Servers.
## Data sources
- **PubMed** โ NCBI E-utilities (public API, no key required)
- **ClinicalTrials.gov** โ v2 REST API (public API, no key required)
- **ISRCTN** โ UK/European clinical trials registry (public API, no key required)
## Tech stack
- [FastMCP](https://gofastmcp.com) โ MCP server framework
- Python 3.10+
## Use cases
- Life sciences researchers needing real-time literature access
- Clinical trial coordinators checking eligibility and recruiting status
- Drug discovery teams cross-referencing published evidence with active trials
- Any Claude agent needing grounded biomedical knowledge
## Project Structure
```
aria-mcp-server/ โ root, where mcp-publisher runs
โโโ aria_mcp_server/ โ Python package
โ โโโ server.py
โ โโโ tools.py
โโโ .claude-plugin/ โ Claude Code plugin + marketplace manifests
โโโ skills/ โ aria-clinical-research agent skill
โโโ hooks/ โ plugin hooks (stdlib-only Python)
โโโ evals/ โ eval harness
โโโ server.json โ MCP registry metadata
โโโ pyproject.toml
โโโ README.md
โโโ DECISIONS.md
โโโ LICENSE
โโโ glama.json
```
## Built by
Pooja Kotecha ยท [dinq.me/pkotecha-eng](https://dinq.me/pkotecha-eng)
TDQS
Scored across 3 tools
search_pubmed is clearly distinct (literature vs. trials), but search_clinical_trials and search_isrctn both target clinical trial registries and could be confused as duplicates. The descriptions do a good job of delineating them by registry coverage (global vs. UK/European academic), which resolves most ambiguity.
All three follow a clean search_<target> snake_case pattern with no verb or casing drift. The only minor inconsistency is what the noun denotes: a database brand (pubmed), a domain descriptor (clinical_trials), and an acronym (isrctn), but the pattern is still immediately readable.
Three tools map exactly to the server's stated scope of covering three distinct literature/trial sources, with no filler or redundant entries. The surface is small but each tool earns its place.
Coverage is search-only across three registries with no pagination and no follow-up retrieval tools (e.g., fetch abstract by PMID, get trial detail by NCT/ISRCTN ID). Agents hitting the 10-result cap or needing structured record details have no path forward, though basic discovery workflows work.