Evidence MCP
Adds DOI-identified papers to the self-building local library: fetches metadata, abstract and full text through a parallel discovery cascade, converts to token-optimized Markdown, and lets agents read an outline, a single section or query-matched passages and verify claims against the source.
Retrieves full texts of Elsevier papers via Elsevier's TDM interface as part of the parallel full-text download cascade, so papers addable by PMID/DOI come with their full text whenever it can be obtained.
Searches PubMed using its native query syntax and years/sort options, and fetches up to 200 PMIDs at once, returning token-optimized records (PMID, title, first author, year, journal, publication types, retraction status, PMCID, library level) with local caching, plus full-record download into the local library.

Forever Healthy Evidence MCP
Power tools for AI agents to improve and speed up medical literature research. Developed while building evipedia.ai and experiencing the pain points and shortcomings of existing solutions.
Toolset:
A self-building local library of sources: PMID, DOI, DailyMed, NCT
Decider-based claim verification against those sources
Optimized access to PubMed, ClinicalTrials.gov & DailyMed
Optimized web fetch.
All functions are token-optimized to minimize context use, return agent-ready content, and cache locally for fast responses. The MCP is self-explanatory to agents, so they can start using it right away with no coding required.
Released under the MIT license to empower, simplify, and speed up medical literature research for everyone.
Evidence MCP Tools
Self-Building, Local Source Library
Builds itself as agents work
Supports
pmid,doi,dailymed, andnctIDsLocal caching of metadata, abstract, and full text
Token-saving partial reads: agents read the outline, then pick only the sections they need
Full text fetched automatically wherever it can be obtained
Parallel discovery cascade for full text (PMC, Europe PMC, TDM, Unpaywall, OpenAlex, CORE, institutional proxy)
Support for Elsevier and Wiley TDM
Automatic conversion (HTML, XML, PDF) to token-optimized Markdown
Decider-Based Claim Verification
Fast verification of claims against library sources using decider models
Automatic choice of abstract or full text, depending on availability
Local caching for repeat queries: a cached verdict in under 1 ms vs. ~1 s from the model
Support for Perplexity, Google, OpenAI, and Liquid AI decision models
Optimized PubMed Access
Up to 97% fewer tokens than other PubMed MCPs (Anthropic's, cyanheads'): a 20-row search ~50–97% smaller, 20 records ~96% smaller
Local caching: a repeated query in milliseconds instead of a second
Optimized ClinicalTrials.gov Access
Up to 98% fewer tokens than other ClinicalTrials.gov MCPs (Anthropic's, cyanheads'): a trial record ~97% smaller, a search ~40% smaller than Anthropic's
Local caching: a repeated query in milliseconds instead of a second
Optimized DailyMed Access
FDA drug labels found by generic or brand name, narrowed to one manufacturer if needed: set ID, manufacturer, date and version per label
98% fewer tokens than DailyMed's search page
Local caching: a repeated query in milliseconds
Optimized Web Fetch
Significantly higher success rate than the standard fetch
20% more relevant content per result than the standard fetch
Local caching
Automatic use of the download cascade
Versatile Download Cascade
Multi-stage download cascade for web pages and full texts
Significantly higher success rate than the standard fetch
Escalates stage by stage, with parallel requests in each: fetch, browsers, unlockers
Fetch: plain fetch and a fetch proxy
Browsers: Playwright browser servers and a real Chrome
Unlockers: ZenRows, Zyte, Bright Data
Remembers failing targets and services and skips them for a while
Agent-deployable: comes with instructions for agents to set up and test every stage
Local Caching
All results cached locally where sensible
Response times in milliseconds instead of seconds
Extremely helpful when iterating multiple times over the same document
Automatic cache and refresh management
Log Viewer
Python-based TUI for operations monitoring
Related MCP server: Medical MCP Server
Tools
Tool | |
| version, library counts by type and level, sources, browsers, decider, configuration, cache hits |
| download and store one record — |
| the status of one record (level, citable, corrections) |
| the outline, one section or the passages matching a query; adds a missing record first |
| does this source state this claim? A verdict from the decider, on full text or abstract; adds a missing record first |
| search PubMed in its own syntax: PMID, title, first author, year, journal, publication types, PMCID, library level |
| title, first author, year, publication types, retracted and level for up to 200 PMIDs at once |
| search ClinicalTrials.gov: NCT ID, title, status, phase, enrollment, dates, primary outcome, conditions, interventions |
| one trial as a review needs it: status, design, enrollment, dates, outcomes, eligibility, result publications |
| a trial's posted results as Markdown, capped |
| find FDA drug labels by name: set ID, title, manufacturer, published date, version |
| a web page or PDF as Markdown (XML, JSON and other text as is), cached, through the download cascade; same answer as the standard fetch tool |
Quick Start
Add the MCP server
{
"mcpServers": {
"evidence-mcp": {
"command": "npx",
"args": ["-y", "evidence-mcp@latest"]
}
}
}A .env elsewhere than your project root: add "--env", "/path/to/.env" to args.
Works out of the box with the keyless sources (PubMed, PMC, Europe PMC, Unpaywall, OpenAlex, plain fetch); only claim verification needs a Perplexity, Google, OpenAI, or Liquid AI key, or a local Decider.
Configuration (optional)
Clone this repository
Put a copy of
<clone>/.env.exampleas.envin your project root, or tell your agent to add its content to your existing.env
Decider Model (optional, for claim verification)
Choose the provider with
FH_VERIFY_PROVIDER(perplexity,google,openai, orliquid); which one to take: Decision models comparedPerplexity: set your Perplexity API key or set up a local Perplexity Decider for Mac
Google: set your Google AI Studio API key; the free tier allows 50,000 input tokens per minute (one or two full-text papers), and on it Google may use what is sent to improve its products (the paid tier does not)
OpenAI: set your OpenAI API key
Liquid AI: set your Liquid API key; the default model is
d1-ultra
Download Cascade (optional)
Configure the desired download services (fetch proxy, Playwright servers, Chrome, unlockers)
Tell your agent to run
<clone>/utilities/deploy.sh upfrom your project folder (or with--env <your .env>) to deploy the configured cascadeTell your agent to test the cascade for functionality and to detect accessibility issues (firewall, etc.)
Monitoring
Run
<clone>/tui/run.shfrom the folder that holds your.env(requires Python 3)
Demo Skill
/ev is a Claude Code skill that shows the server at work on any document that cites medical sources. It ships with this repository: clone the repository and open Claude Code in your clone.
The samples folder holds a demo document, telmisartan.md (an evidence review of telmisartan), to try the commands on.
The server stores its library in the evidence/ folder of the clone.
Command | |
| the commands |
| server, configuration and library contents |
| every source the document cites (PubMed, DOI, trials, drug labels) added to the library → |
| every claim the document makes, checked against the source it cites → |
The file name is enough: documents are looked up in samples/. With the sample:
/ev ingest telmisartan.md → samples/telmisartan_sources.md
/ev verify telmisartan.md → samples/telmisartan_claims.mdPut your own document in samples/ and use its filename.
Documentation
Configuration: every setting is explained in .env.example
Download cascade, deployment, and troubleshooting: utilities/README.md
License
MIT — © 2026 Forever Healthy Foundation
Available Tools
12 toolsfh_clinicaltrials_get_study_recordA
One ClinicalTrials.gov trial as a review needs it: titles, status and why stopped, phase, design, enrollment, dates, sponsor, conditions, interventions, primary outcomes, eligibility, sites, result publications as pmid: IDs, has_results, brief summary. From the stored record; a missing trial is added first. The whole record: fh_library_read("nct:…").
Inputs: nct (required).
fh_clinicaltrials_get_study_resultsA
The posted results of one ClinicalTrials.gov trial — participant flow, baseline, every outcome measure as a table, adverse events — as Markdown from the stored record, capped at max_chars, outcome titles listed; fh_library_read("nct:…", section: ) returns one measure whole. has_results false when the registry holds none. A missing trial is added first.
Inputs: nct (required), max_chars.
fh_clinicaltrials_search_studiesA
Search ClinicalTrials.gov by free text, intervention or condition; status ongoing | completed | all; sort relevance | newest | largest | completion. Returns the total and up to 100 rows as arrays in columns order: NCT ID, title, status, phase, enrollment ("~100" estimated), start, primary completion, primary outcome, conditions, interventions, has_results. Link: https://clinicaltrials.gov/study/. Cached 7 days. One trial in detail: fh_clinicaltrials_get_study_record.
Inputs: sort, query, status, condition, +2 more.
fh_dailymed_search_labelsA
Find FDA drug labels on DailyMed by drug name, generic or brand: the total and up to 100 rows as arrays in columns order — set ID, title (drug and form), labeler (the company), published date, version, and the library level when the label is already stored. Newest first. A generic name lists every maker's label; labeler narrows to one company ("Boehringer" for Micardis's maker), a brand name to its own labels. Pass the set ID as "dailymed:" to fh_library_read or fh_library_add. Use this, not DailyMed's search page: fetched as Markdown the page shows no set IDs, raw it is some 150,000 characters. The same search is answered from disk for 7 days.
Inputs: drug_name (required), labeler, max_results.
fh_fetch_urlA
Fetch a web page as Markdown: the standard fetch tool, cached and hardened. Use it for any URL instead of a plain fetch or a browser. A page fetched in the last 30 days is answered from disk in milliseconds; a page a plain fetch cannot get (403, rate limit, bot wall, script-rendered) is fetched through the configured browsers and unlockers in this one call. PDFs come back as Markdown; XML, JSON and other text as is. To verify a link, title_only returns just its title line. A PubMed, ClinicalTrials.gov, DailyMed or doi.org URL is answered from the library's record of it.
Inputs: url (required), raw, max_length, title_only, +1 more.
fh_infoB
The server and the whole library as JSON: this server's package name and version (which build is loaded), its log file; evidence directory (evidence_dir) and host; entry count and size on disk; per type (pmid, doi, dailymed, nct) the entries by level (full_text, abstract, title) and retractions; counts of retracted and not-citable entries and of errata, expressions of concern and updates; the retrieval sources in run order and which are off (tiers); the multi-stage download (download): the Playwright servers with the version they must run, the Chrome stages, whether an unlocker is configured; the configuration and where each value came from — environment, .env or default, never the value (config); the decision model behind fh_verify_claim and whether it answers right now (verify); the unlockers and whether each answers right now (unlockers); our own stage hosts — fetch proxy, Playwright servers, Chrome — and whether each is reachable right now (stages); this server's cache hits and misses for fh_verify_claim and fh_fetch_url since it started (cache).
Inputs: no named parameters.
fh_library_addA
Download and store one record — a paper (pmid:, doi:), a drug label (dailymed:) or a trial record (nct:<8 digits>) — and return its status JSON. A paper gets its record, abstract and correction notices from PubMed (Crossref for a DOI PubMed does not index), then the full text from the configured sources; a label or trial record is stored as a full text. A stored full text is returned without any download; an abstract-level record retries only sources that failed transiently; a record older than 30 days gets its notices re-read.
Inputs: id (required).
fh_library_readA
One piece of a stored document's Markdown, never the whole. No section/query: the outline (headings with word counts; full text or abstract only). section: that heading's own text (case-insensitive substring; a repeated heading as "Participants [3/12]"), capped at max_chars, its subsections listed. query: passages holding every term, each a window of at most 1000 chars with its section, best first, at most max_hits (more: how many further passages match); partial: true with missing_terms when no passage holds them all. section and query together: inside that section. A missing paper is added first (added: true).
Inputs: id (required), query, section, max_hits, +1 more.
fh_library_statusA
Read-only status of the library entry for one ID — a paper, a drug label or a trial record: the same status JSON as fh_library_add, or level "missing" when there is no entry. Never fetches.
Inputs: id (required).
fh_pubmed_fetch_articlesA
Title, first author, year, publication types, retracted and library level for up to 200 PubMed IDs in one call. Faster and far smaller than asking PubMed: known papers come from disk, the rest in one request, stored for every later call; rows as arrays in columns order, ~120 characters a paper. Level "not found": PubMed has no such record. For abstract or full text: fh_library_read.
Inputs: pmids (required).
fh_pubmed_search_articlesA
Search PubMed with its own query syntax (AND / OR, field tags like [pt], [ti], [mesh]); sort relevance | newest; years "2020-2026". Faster and far smaller than asking PubMed: the total and up to 100 rows as arrays in columns order — PMID, title, first author, year, journal, publication types, PMCID when free full text exists, and the library level when the paper is already stored. The same search is answered from disk for 7 days. For a batch of PMIDs: fh_pubmed_fetch_articles; for abstract or full text: fh_library_read.
Inputs: query (required), sort, years, max_results.
fh_verify_claimA
Does one source state one finding of a review? claim: the finding as a complete statement (subject, intervention, outcome, number), without citations or the review's framing, and only what this source reports. id: one source the review cites for it — paper, drug label (dailymed:…) or trial record (nct:…); added first when missing. The server reads the stored text and asks a decision model; nothing enters your context. verdict: pass (score is the probability) | fail (the full text does not state it; or only the title is stored — reason says so) | unverifiable (only the abstract is stored and does not state it — reason says so) | error (claim refused: under four words, a fragment, carrying citations; add failed; no model; model failure). basis: full_text | abstract | title. glyphs_unresolved: symbols the PDF font lost; above 0 a failed number may be the font. superseded: true when a stored correction replaced the claim's figure.
Inputs: id (required), claim (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have clearly distinct roles: library add/status/read, source-specific search/fetch, trial record/results, claim verification, and URL fetching are separable. The main overlap is fh_fetch_url versus source-specific fetches and fh_library_read, but the descriptions explicitly route PubMed, ClinicalTrials.gov, DailyMed and doi.org URLs through the library, which mitigates confusion.
The set mostly follows an fh_<domain>_<action>_<noun> pattern, with clear grouping by library, PubMed, ClinicalTrials.gov and DailyMed. Minor deviations are fh_info, fh_library_status, and fh_library_read, which drop the noun or use a status noun rather than a verb, but overall the naming remains predictable.
Twelve tools is a well-scoped size for a multi-source evidence retrieval server covering library management, PubMed, ClinicalTrials.gov, DailyMed, URL fetching, and claim verification. Each tool corresponds to a distinct workflow step rather than duplicating functionality.
The surface covers the core lifecycle: searching sources, adding records to the library, checking status, reading stored content, retrieving trial records/results, verifying claims, and fetching arbitrary URLs. Minor gaps include no explicit delete/prune operation for library entries and no dedicated tool to list all stored records, though fh_info provides aggregate counts.
Maintenance
Related MCP Connectors
AI agents collaborate on open biomedical problems, citing sources that are machine-checked.
Research papers for AI agents: PubMed, arXiv, Crossref; citations, references, open access texts
Papers, SEC filings, Wikipedia, HN and web reading for research agents. 15 tools, x402.
Deterministic knowledge for AI agents: search, fetch, cite and verify a 48M-entry knowledge base.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides medical symptom extraction, differential diagnosis generation, PubMed literature search, and abstract summarization tools for LLM agents.-
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to query authoritative sources like FDA, WHO, PubMed, RxNorm, and Google Scholar for drug information, health statistics, clinical guidelines, trials, and medical literature. It runs locally with no API keys, so data stays private while results come back with evidence grading and resilient fallbacks.74 npmISC
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to run PubMed searches in plain English, download full-text articles from PubMed Central, and map the similar, citing and cited evidence around key papers. It also builds an Obsidian knowledge graph of a study's literature, with retractions flagged and citations traceable to papers the assistant read.33 PyPIMIT
- AlicenseBqualityBmaintenanceEnables healthcare AI agents and researchers to query PubMed papers, ClinicalTrials.gov study pipelines, and OpenFDA drug labels in real time for diseases, drugs, biomarkers, or therapies.1MIT