Loading
Loading
Add Cortexa as a tool inside Claude Desktop, Cursor, Codex, Claude Code, Windsurf, Zed, and any other MCP-compatible agent. One command, one API key, one cited medical-research answer.
Your host LLM sees one tool: cortexa_research. Cortexa decomposes the question, queries live databases, cross-references sources, and returns a cited markdown answer.
Stdio via npx for desktop IDEs, streamable-HTTP for remote and browser-based clients. Both expose the exact same tool definition.
Auth is your existing Cortexa API key. Usage is metered under the same plan as /v1 traffic. Revoke a key and every MCP client using it disconnects immediately.
cortexa_researchAsk any research question — biomedical, clinical, genomics, drug discovery, chemistry, structures, AI, physics, engineering, materials, energy, or policy. Cortexa decomposes it, routes across 2.1K+ verified research tools, and returns a cited markdown brief.
{
"question": string // 4 – 4000 characters
}Zero-install via npx -y @yoreai/cortexa-mcp. Your MCP client spawns a subprocess that streams JSON-RPC over stdin/stdout. Works offline for everything except the actual Cortexa call.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) · %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"cortexa": {
"command": "npx",
"args": ["-y", "@yoreai/cortexa-mcp"],
"env": {
"CORTEXA_API_KEY": "sk-cortexa-live-..."
}
}
}
}~/.cursor/mcp.json (user) · .cursor/mcp.json (workspace)
{
"mcpServers": {
"cortexa": {
"command": "npx",
"args": ["-y", "@yoreai/cortexa-mcp"],
"env": { "CORTEXA_API_KEY": "sk-cortexa-live-..." }
}
}
}~/.claude/settings.json (or per-project .claude.json)
{
"mcpServers": {
"cortexa": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@yoreai/cortexa-mcp"],
"env": { "CORTEXA_API_KEY": "sk-cortexa-live-..." }
}
}
}~/.codex/config.toml
[mcp_servers.cortexa]
command = "npx"
args = ["-y", "@yoreai/cortexa-mcp"]
env = { CORTEXA_API_KEY = "sk-cortexa-live-..." }~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"cortexa": {
"command": "npx",
"args": ["-y", "@yoreai/cortexa-mcp"],
"env": { "CORTEXA_API_KEY": "sk-cortexa-live-..." }
}
}
}Zed settings: search 'context servers' and add Cortexa, or paste into ~/.config/zed/settings.json
{
"context_servers": {
"cortexa": {
"command": {
"path": "npx",
"args": ["-y", "@yoreai/cortexa-mcp"],
"env": { "CORTEXA_API_KEY": "sk-cortexa-live-..." }
}
}
}
}No local install. Point your MCP client at https://api.cortexa.sh/mcp and authenticate with a Cortexa bearer token. This is the only option for browser-based hosts (Claude.ai connectors) and container-only agents that can't run subprocesses.
Endpoint URL
{
"mcpServers": {
"cortexa": {
"type": "http",
"url": "https://api.cortexa.sh/mcp",
"headers": {
"Authorization": "Bearer sk-cortexa-live-..."
}
}
}
}Want to check your key is good before wiring up a client? Export your API key and run these two curls.
# 1. verify auth + tool listing
curl -s https://api.cortexa.sh/mcp \
-X POST \
-H "Authorization: Bearer $CORTEXA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
# 2. run the agent
curl -s https://api.cortexa.sh/mcp \
-X POST \
-H "Authorization: Bearer $CORTEXA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0", "id": 2, "method": "tools/call",
"params": {
"name": "cortexa_research",
"arguments": {
"question": "Latest 2026 guidance on ICI-induced myocarditis management?"
}
}
}'