FAQ¶
Does BioMCP require API keys?¶
No for most workflows.
Optional keys improve access for specific enrichments and source variants. See API keys.
Where are cached files stored?¶
Run biomcp cache path to print the managed HTTP cache directory on your
machine. BioMCP uses platform cache directories underneath that resolved root.
Typical locations:
- Linux:
~/.cache/biomcp/ - macOS:
~/Library/Caches/biomcp/
The cache generally contains:
http/for HTTP responses,downloads/for retrieved text artifacts.
Why do invalid dates fail immediately?¶
Date validation is performed before network calls.
Examples of invalid inputs:
2024-13-01(invalid month)2024-02-30(invalid day)2023-02-29(non-leap-year day)
This behavior provides immediate feedback and avoids unnecessary API requests.
How do I request full article text now?¶
Use positional sections:
The same model applies to other entities:
biomcp get trial NCT02576665 eligibility
biomcp get gene BRAF pathways
biomcp get variant "BRAF V600E" predict
How do I use BioMCP with Claude Desktop?¶
Configure an MCP server entry using biomcp serve.
See Claude Desktop setup.
How do I deploy BioMCP as an MCP server, and how is authentication handled?¶
Use biomcp serve for local stdio clients. Use biomcp serve-http --host <host> --port <port> for remote Streamable HTTP deployments; the MCP endpoint is /mcp, with /health, /readyz, and / available for probes.
The HTTP transport is unauthenticated by design. BioMCP does not implement user login, bearer tokens, OAuth, or per-user authorization. Put remote deployments behind your own gateway, reverse proxy, SSO/mTLS layer, VPN, or private network policy.
Provider keys for built-in sources are environment variables on the BioMCP process. See the MCP server reference and API keys.
Why are some fields missing?¶
BioMCP returns concise defaults and depends on upstream source completeness.
When you need more detail:
- request a section,
- switch to JSON,
- verify source availability with
biomcp health --apis-only.
Why is an empty JSON collection present beside an error?¶
For object-shaped query commands, BioMCP keeps the command's primary collection
iterable even when a parsed call fails. For example, an article-search error can
contain results: [] alongside error and _meta, while discover retains
concepts: []. This does not mean the
biomedical search succeeded with no matches: inspect the process exit status or
the error object. Errors that occur before BioMCP can identify the command stay
keyless. Section-shaped search all, scalar trial --count-only, and VAERS-only
aggregate responses also retain their existing shapes without a false flat
results key.
BioMCP preserves entity response families rather than introducing a global
data envelope. Drug search therefore keeps nested regions.<region>.results.
Batch commands are the deliberate exception: they use an ordered settlement
envelope so one failed lookup cannot erase the successful items.
How do I inspect available commands quickly?¶
Is BioMCP suitable for final clinical decisions?¶
BioMCP is a retrieval and workflow tool. Clinical decisions require domain-expert review and institutional validation processes.
How do I report reproducible issues?¶
Include:
- exact command,
- expected vs actual behavior,
biomcp --version,- relevant environment details,
- whether the issue reproduces with
--json.