
AACT Clinical Trials
STDIOMCP server for querying AACT clinical trials database from ClinicalTrials.gov
MCP server for querying AACT clinical trials database from ClinicalTrials.gov
A Model Context Protocol (MCP) server implementation that provides access to the AACT (Aggregate Analysis of ClinicalTrials.gov) database using the FastMCP framework. This server allows AI assistants to directly query clinical trial data from the ClinicalTrials.gov database.
list_tables
describe_table
{"table_name": "studies"}
read_query
{"query": "SELECT nct_id, brief_title FROM ctgov.studies LIMIT 5", "max_rows": 50}
DB_USER
: AACT database usernameDB_PASSWORD
: AACT database passwordNote that you need Claude Desktop and a Claude subscription at the moment.
Add one of the following configurations to the file claude_desktop_config.json. (On macOS, the file is located at /Users/YOUR_USERNAME/Library/Application Support/Claude/claude_desktop_config.json and you will need to create it yourself if it does not exist yet).
{ "mcpServers": { "CTGOV-MCP": { "command": "uvx", "args": [ "mcp-server-aact" ], "env": { "DB_USER": "USERNAME", "DB_PASSWORD": "PASSWORD" } } } }
Simply add this configuration to claude_desktop_config.json (no build required):
{ "mcpServers": { "CTGOV-MCP-DOCKER": { "command": "docker", "args": [ "run", "--rm", "-i", "--env", "DB_USER=YOUR_USERNAME", "--env", "DB_PASSWORD=YOUR_PASSWORD", "navisbio/mcp-server-aact:latest" ] } } }
Simply add this configuration to claude_desktop_config.json (no build required):
{ "mcpServers": { "CTGOV-MCP-DOCKER": { "command": "docker", "args": [ "run", "--rm", "-i", "--env", "DB_USER=YOUR_USERNAME", "--env", "DB_PASSWORD=YOUR_PASSWORD", "navisbio/mcp-server-aact:latest" ] } } }
Here are some example prompts to use with this plugin:
spawn uvx ENOENT
ErrorThis error has been reported when the system cannot find the uvx
command which might happen when uvx
is installed in a non-standard location (like ~/.local/bin/
).
Potential Solution: Update your configuration with the full path. For example:
{ "mcpServers": { "CTGOV-MCP": { "command": "/Users/username/.local/bin/uvx", "args": [ "mcp-server-aact" ], "env": { "DB_USER": "USERNAME", "DB_PASSWORD": "PASSWORD" } } } }
We welcome contributions! Please:
This project was inspired by and initially based on code from:
Thanks to these awesome projects for showing us the way! 🙌