Skip to main content
Glama

Version License MIT Forever Healthy npm MCP Registry Glama score

Forever Healthy Evidence MCP

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

  • Complete cited-by lists for any article

  • Optimized access to PubMed, ClinicalTrials.gov & DailyMed

  • Optimized web fetch and web search

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.

This project is part of the Forever Healthy Longevity AI Stack.

Evidence MCP Tools

Self-Building, Local Source Library

  • Builds itself as agents work

  • Supports pmid, doi, dailymed, and nct IDs

  • Local 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, the DOI's own page for DataCite DOIs, 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

Complete Cited-By Lists

  • The articles that cite a paper: a trial's follow-ups, the later meta-analyses that include it, guidelines, and the comments on it

  • From OpenAlex; PubMed's own "cited by" covers only citations from PubMed Central

  • Filtered by publication type and year, sorted by newest or most cited

  • Local caching

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

  • Replaces the model's built-in web search: links with a short passage from each page

  • Up to 95% fewer tokens: ~1,000 tokens per search vs. 12,000–19,000 for the built-in search of Claude Opus

  • Several search providers asked at once and merged (Exa, Serper, Brave): more results than any one alone, especially within one site

  • Local caching

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: Firecrawl, 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: evipedia-mcp

Tools

Tool

fh_info()

version, library counts by type and level, sources, browsers, decider, configuration, cache hits

fh_library_add(id)

download and store one record — pmid:, doi: (article), dailymed: (FDA drug label), nct: (trial record); an article with its full text wherever it can be obtained

fh_library_status(id)

the status of one record (level, citable, corrections)

fh_library_read(id, section?, query?, max_chars?, max_hits?)

the outline, one section or the passages matching a query; adds a missing record first

fh_verify_claim(claim, id)

does this source state this claim? A verdict from the decider, on full text or abstract; adds a missing record first

fh_pubmed_search_articles(query, max_results?, sort?, years?)

search PubMed in its own syntax: PMID, title, first author, year, journal, publication types, PMCID, library level

fh_pubmed_fetch_articles(pmids)

title, first author, year, publication types, retracted and level for up to 200 PMIDs at once

fh_citing_articles(id, types?, years?, sort?, max_results?)

the articles that cite an article, in the columns of the PubMed search; filter by publication type and year, sort by newest or most cited

fh_clinicaltrials_search_studies(query | intervention | condition, status?, sort?, max_results?)

search ClinicalTrials.gov: NCT ID, title, status, phase, enrollment, dates, primary outcome, conditions, interventions

fh_clinicaltrials_get_study_record(nct)

one trial as a review needs it: status, design, enrollment, dates, outcomes, eligibility, result publications

fh_clinicaltrials_get_study_results(nct, max_chars?)

a trial's posted results as Markdown, capped

fh_dailymed_search_labels(drug_name, labeler?, max_results?)

find FDA drug labels by name: set ID, title, manufacturer, published date, version

fh_fetch_url(url, max_length?, start_index?, raw?, title_only?)

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

fh_web_search(query, max_results?)

search the web, site: included: title, URL, date, author and a short passage per result; offered when a search provider key is set

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.example as .env in your project root, or tell your agent to add its content to your existing .env

Decider Model (optional, for claim verification)

Download Cascade (optional)

  • Configure the desired download services (fetch proxy, Playwright servers, Chrome, unlockers)

  • Unlockers: set the key of each you want — Firecrawl FH_FIRECRAWL_API_KEY, ZenRows FH_ZENROWS_API_KEY, Zyte FH_ZYTE_API_KEY, Bright Data FH_BRIGHTDATA_API_KEY; every one with a key takes part

  • Tell your agent to run <clone>/utilities/deploy.sh up from your project folder (or with --env <your .env>) to deploy the configured cascade

  • Tell your agent to test the cascade for functionality and to detect accessibility issues (firewall, etc.)

Monitoring

  • Run <clone>/tui/run.sh from 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

/ev or /ev help

the commands

/ev info

server, configuration and library contents

/ev ingest <file>

every source the document cites (PubMed, DOI, trials, drug labels) added to the library → <file>_sources.md

/ev verify <file>

every claim the document makes, checked against the source it cites → <file>_claims.md

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.md

Put your own document in samples/ and use its filename.

Documentation

License

MIT — © 2026 Forever Healthy Foundation

Available Tools

13 tools
fh_citing_articlesA
Read-onlyIdempotent

The articles that cite an article, as rows in fh_pubmed_search_articles' columns: PMID, title, first author, year, journal, publication types, PMCID, library level. Use it for a trial's follow-ups, later meta-analyses that include it, guidelines (sort: cited) and comments on it.

  • types: PubMed publication types, any of them; an article without one (many plain articles, some guidelines) never matches.

  • Comments: with comment, letter or editorial in types, the comments PubMed links to the article come first, of any year and type, and comments_on lists their PMIDs. The other rows only cite the article and are mostly about something else.

  • years and sort newest go by the year column.

  • At most 100 rows, no paging: for more, narrow with types or years, or sort: cited. total counts every match. Citations from OpenAlex. Cached 7 days.

Inputs: id (required), sort, types, years, +1 more.

fh_clinicaltrials_get_study_recordA
Read-onlyIdempotent

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 trial not yet in the library is downloaded into it first. A malformed ID, or one the registry does not have, answers error. The whole record: fh_library_read("nct:…").

Inputs: nct (required).

fh_clinicaltrials_get_study_resultsA
Read-onlyIdempotent

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 trial not yet in the library is downloaded into it first. A malformed ID, or one the registry does not have, answers error.

Inputs: nct (required), max_chars.

fh_clinicaltrials_search_studiesA
Read-onlyIdempotent

Search ClinicalTrials.gov by free text, intervention or condition — at least one of them; 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
Read-onlyIdempotent

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
Read-onlyIdempotent

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. A failed fetch is remembered for 1 d.

Inputs: url (required), raw, max_length, title_only, +1 more.

fh_infoA
Read-onlyIdempotent

Is this server set up and working, and what does the library hold: one JSON answer, no arguments. Use it to see which build is loaded, to find why a download, fh_verify_claim or a search fails (is the service configured, does it answer right now), and for the library's size. For the state of one entry use fh_library_status. Good to know: each service is asked when you call (seconds; up to a minute when one does not answer). The counts are as of counted, up to 10 minutes old, counted again in the background. A configuration value is never shown, only where it came from. Fields:

  • package, version, log: the build and its log file; evidence_dir, host

  • entries, size, by_type, by_level: the library's counts; types: per type (pmid, doi, dailymed, nct, url — pages stored by fh_fetch_url) its entries by level (full_text, abstract, title), retracted and fulltext_not_tried (articles stored from PubMed alone)

  • retracted, not_citable, errata, concerns, updates: entries with such a notice

  • tiers: the retrieval sources in run order, and which are off

  • download: the Playwright servers with the version they must run, the Chrome stages, whether an unlocker is configured

  • config: each setting's source (environment, .env or default)

  • verify: the decision model behind fh_verify_claim, and whether it answers

  • unlockers: whether each answers (checked_secs_ago: a check reused, up to 15 min old); stages: our own hosts (fetch proxy, Playwright servers, Chrome), whether each is reachable

  • cache: hits and misses since this server started: verify (fh_verify_claim), fetch (fh_fetch_url), search (the search tools), pubmed (fh_pubmed_fetch_articles, per PMID)

Inputs: no named parameters.

fh_library_addA
Idempotent

Download and store one record — an article (pmid:, doi:), a drug label (dailymed:) or a trial record (nct:<8 digits>) — and return its status JSON (fields: fh_library_status). An article gets its record, abstract and correction notices from PubMed (Crossref for a DOI PubMed does not index), then the full text and the texts of its correction notices 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. Use it to fill the library ahead or to try again for a full text: fh_library_read and fh_verify_claim add a missing record themselves; a web page is fh_fetch_url's. No full text found is not an error: the status says level abstract (or title). error: a malformed ID, an ID its registry does not have, or the registry not answering.

Inputs: id (required).

fh_library_readA
Read-onlyIdempotent

One piece of a stored document's Markdown, never the whole. Three ways to ask:

  • no section, no query: the outline, headings with word counts (full text, or abstract only).

  • section: that heading's own text, capped at max_chars, its subsections listed. The heading matches as a case-insensitive substring; a repeated heading as "Participants [3/12]". "Abstract" on a full text without one: the stored abstract; "Declarations": funding, conflicts of interest, acknowledgements, ethics.

  • section "Corrections": the stored corrections of a corrected paper (the journal's notices, PubMed's corrected abstract sentences). Every answer for such a paper carries correction, one line saying so.

  • query: the passages holding every term, best first, at most max_hits (more: how many further passages match), each a window of at most 1000 chars with its section. Case, accents, hyphens, plurals and -ed/-ing forms match; a matching table row comes with its header row. partial: true with missing_terms when no passage holds them all. With section: inside that section. A document not yet in the library is downloaded into it first (added: true): the library is this server's cache of sources, the only thing a read writes. abstract_only: true reads only the abstract, at once: use it whenever the abstract is enough (screening, design, size, main finding). Without it, an article whose full text was never searched for gets that search first (seconds, up to a minute, once). A malformed ID, or an article that cannot be added, answers error.

Inputs: id (required), query, section, max_hits, +2 more.

fh_library_statusA
Read-onlyIdempotent

Read-only status of the library entry for one ID — an article, 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: to read a document, or to get a missing one, use fh_library_read. A malformed ID answers the same JSON with error ("invalid id", for a URL with what to use instead). Fields: pmid, pmcid, setid, nctid, publications, year, publication_types, retracted, corrections ({type, pmid, source}), citable, comment, has_abstract, level (full_text | abstract | title), fulltext ("not tried": no source tried yet; "stored": the full text exists, an abstract_only read did not use it), version, retrieved_by, glyphs_unresolved (symbols the PDF font lost), error.

Inputs: id (required).

fh_pubmed_fetch_articlesA
Read-onlyIdempotent

The key facts of up to 200 PubMed articles in one call: title, first author, year, publication types, retracted and library level. Use it to look at a list of PMIDs (a search's hits, a reference list) without reading each; for an abstract or full text: fh_library_read. Faster and far smaller than asking PubMed: articles the library knows come from disk, the rest in one request, and all are stored for every later call. Answer: columns, and rows as arrays in that order, about 120 characters an article.

  • design, participants, population: what kind of study it is, read from the abstract by a model; filled where known.

  • level "not found": PubMed has no such record.

Inputs: pmids (required).

fh_pubmed_search_articlesA
Read-onlyIdempotent

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 article 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
Read-onlyIdempotent

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 — article, drug label (dailymed:…) or trial record (nct:…); downloaded into the library first when it is not there yet. fulltext "not tried": a search for the full text first (seconds, up to a minute, once). The server reads the stored text and asks a decision model; nothing enters your context. One claim, one source: a finding backed by three articles is three calls; a summary of several trials is stated by none of them. verdict: supported | not_supported (the full text does not state it — fh_library_read with a query shows what it says; or only the title is stored — reason says so) | unverifiable (only the abstract is stored and does not state it — reason says so; the same until a full text is stored) | error (claim refused: under four words, a fragment, carrying citations; add failed; no model; model failure). basis: full_text | abstract | title. glyphs_unresolved: numbers of the claim that stand next to a symbol the PDF's font lost (−, ±, ≤); such a claim is checked again against the abstract and without the symbol, and is unverifiable when only the symbol is missing. corrections: how many stored corrections of the source the claim was judged against (the correction counts where it differs from the source's text, so a figure it replaced does not pass). score: the probability that the source states the claim, with every judged verdict; null: no judgement. The same claim on the same stored text answers from disk for 30 days.

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

    A4.3/5.0

    Scored across 13 tools

    Disambiguation4/5

    Each tool targets a distinct resource+action: PubMed search vs. batch fetch, ClinicalTrials search vs. record vs. results, DailyMed label search, library add/read/status, claim verification. The main overlap is between fh_fetch_url and fh_library_read/fh_library_status for registry URLs and stored pages, but descriptions explicitly resolve it ("a web page is fh_fetch_url's", registry URLs answered from the library). fh_info vs fh_library_status also partially overlap on library state, though one is server-wide and the other per-entry.

    Naming Consistency4/5

    All tools share a consistent fh_ snake_case prefix with a predictable namespace_action shape (fh_pubmed_search_articles, fh_clinicaltrials_get_study_results, fh_dailymed_search_labels, fh_library_add/read/status). Minor deviations exist: fh_info is a bare noun and fh_citing_articles lacks a namespace/verb, and library_status/library_add put the noun first while other tools lead with the verb.

    Tool Count5/5

    Thirteen tools is well within the healthy band and each one earns its place: three PubMed tools, three ClinicalTrials tools, one DailyMed tool, four library operations, plus fetch and server info. No tool looks like filler or a thin wrapper duplicating another.

    Completeness4/5

    Core research workflows are covered end to end: discover (PubMed/ClinicalTrials/DailyMed search), store (library_add/fetch_url), inspect (library_read/status, trial record/results, citing articles), and judge (verify_claim), with fh_info for diagnostics. Gaps: there is no way to enumerate or list library entries (only counts via fh_info), no delete/prune of stored records, and no citation-export or full-text-search-across-library operation.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables 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.
      42 npm
      ISC
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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.
      65 PyPI
      MIT