med-research-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NCBI_EMAIL | No | Your contact email, sent with every NCBI (PubMed) request as its usage policy asks. Also used for Unpaywall and ChinaRxiv when their own emails aren't set. | |
| NCBI_API_KEY | No | Raises the PubMed rate limit from 3 to 10 requests per second. Get one in your NCBI account settings. | |
| MED_RESEARCH_CACHE_PATH | No | The SQLite file for the sqlite backend. Use an absolute path: the default is relative to the directory your client starts the server in. | ./pubmed-cache.db |
| MED_RESEARCH_PROXY_PREFIX | No | Your institution's EZproxy host for doi.org, e.g. https://doi-org.ezproxy.your-university.edu, to read paywalled papers you have access to. | |
| MED_RESEARCH_CACHE_BACKEND | No | memory (default) or sqlite, which keeps the cache across restarts. | memory |
| MED_RESEARCH_CHINAXIV_EMAIL | No | Contact email for ChinaRxiv, which serves the chinaxiv and russiarxiv sources; raises its rate limit from 30 to 300 requests per minute. | |
| MED_RESEARCH_UNPAYWALL_EMAIL | No | Contact email for Unpaywall, which finds open-access full texts. | |
| MED_RESEARCH_FULLTEXT_MAX_CHARS | No | Cap on the length of each part of a full text: a longer text is returned in parts, read on with offset. | 50000 |
| MED_RESEARCH_FULLTEXT_ALLOW_PRIVATE | No | 1 lets full-text fetches reach private or reserved network addresses, which the server otherwise refuses. Needed only on a personal machine behind a fake-IP DNS proxy or split-horizon DNS; never set it on a shared server. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| literature_searchA | Search PubMed, Europe PMC, ChinaXiv and RussiaRxiv; each result has its study design. studyType comes only from NLM PublicationType tags (PubMed, Europe PMC; assigned by NLM's automated indexing, with human review of some records). Records with none naming a design are 'unknown', designTier null. designTier (0-5) ranks the design for 'does this intervention help?' by the OCEBM 2011 levels; it is not an appraisal. A meta-analysis or systematic review ranks with the studies it pooled, which the tags don't say, so its designTier is null unless it is tagged Network Meta-Analysis (5). For a null tier, read the abstract for the design or for what a review pooled. flags marks retracted, notice, protocol and editorial records (designTier 0), and warns of an expression of concern, an erratum (corrected), a newer version (updated; for a preprint, its published article, id in corrections), animals-not-humans indexing, preprints, letters, machine-translated text and machine-generated abstracts (chinaxiv, russiarxiv: check originalUrl before relying on a number). id is the database's own id; pmid is set only for a PMID: cite any other (PPR…, CBA:…, chinaxiv-…, ru-…) by id with the database, or by doi/url. Results are merged, de-duplicated by DOI and sorted, a page at a time: when nextPage is set, more follow; a record held by two databases counts twice in total. Use literature_fetch for full metadata of given ids, literature_fulltext for the article body. |
| literature_fetchA | Fetch full metadata and the whole abstract for one or more ids from a specific database. Each article is graded as in literature_search (studyType, designTier, flags) and, for pubmed and europepmc, carries MeSH headings and retraction/correction links. Ids that could not be fetched are listed in missing. Use after literature_search to drill into specific papers. |
| literature_fulltextA | Fetches an article's full text as markdown (plain text when format is pdf) via Europe PMC (a PMCID or PPR preprint), Unpaywall (open access), institutional proxy (if configured) and direct DOI access; chinaxiv and russiarxiv records come from ChinaRxiv as a machine translation (check originalUrl before relying on a number). The warning opens with RETRACTED, NOTICE or EXPRESSION OF CONCERN when the record has that flag (see literature_search); a retracted paper is no evidence. Without the text it says what each location answered, and the abstract is returned. A long text comes in parts: see truncated, totalChars, offset. Use when the abstract isn't enough (dosage, sample sizes, methods). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
The three tools map cleanly onto distinct stages of a literature workflow: discovery (literature_search), metadata/abstract drill-down for known ids (literature_fetch), and full-text retrieval (literature_fulltext). Each description explicitly names the other tools as the next step, leaving no realistic path for misselection.
All three share the literature_ prefix and read as a predictable family (search / fetch / fulltext), in snake_case throughout. The only minor deviation is that 'fulltext' is a resource noun rather than a verb like search and fetch, but the intent is still obvious.
Three tools form a tight, non-redundant triad covering search, metadata, and body text for a focused research-retrieval server. It is on the sparse side—no citation export, related-article, or saved-search operations—but nothing feels padded or missing from the core loop.
The surface covers the full read path: find papers, expand metadata/abstract, then pull full text with clear fallbacks and truncation handling. Gaps are peripheral to retrieval rather than blocking—e.g. no citation/BibTeX export, no citation-graph or 'similar articles' traversal, and no way to filter results beyond search parameters.