pubmed-search-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HTTP_PROXY | No | Optional HTTP proxy for API requests. | |
| NCBI_EMAIL | Yes | Required by NCBI API policy. Your email address. | |
| S2_API_KEY | No | Optional API key for Semantic Scholar. Alias: SEMANTIC_SCHOLAR_API_KEY | |
| HTTPS_PROXY | No | Optional HTTPS proxy for API requests. | |
| CORE_API_KEY | No | Optional API key for CORE. Get from https://core.ac.uk/services/api | |
| EZPROXY_HOST | No | Optional EZproxy host, e.g., ezproxy.example.edu. | |
| NCBI_API_KEY | No | Optional API key for higher rate limits (10 req/s vs 3 req/s). Get from https://www.ncbi.nlm.nih.gov/account/settings/ | |
| CROSSREF_EMAIL | No | Optional email for CrossRef polite pool. | |
| EZPROXY_ENABLED | No | Optional: set to 'true' after configuring EZPROXY_HOST and EZPROXY_COOKIE_FILE. | |
| PUBMED_DATA_DIR | No | Optional data directory for notes. Default: ~/.pubmed-search-mcp | |
| UNPAYWALL_EMAIL | No | Optional email for Unpaywall OA resolver. | |
| OPENALEX_API_KEY | No | Optional API key for OpenAlex authenticated requests. | |
| PUBMED_NOTES_DIR | No | Optional target folder for save_literature_notes. | |
| EZPROXY_COOKIE_FILE | No | Optional path to EZproxy cookies JSON file. | |
| BROWSER_FETCH_CONFIG | No | Optional JSON string enabling browser-session PDF fallback. Example: '{"enabled":true,"auto_enabled":true,"broker_url":"http://127.0.0.1:8766/fetch","token":"local-dev-token","allowed_hosts":["jamanetwork.com","*.jamanetwork.com"]}' | |
| PUBMED_WORKSPACE_DIR | No | Optional fallback workspace directory for notes. | |
| SEMANTIC_SCHOLAR_API_KEY | No | Optional alias for S2_API_KEY. | |
| INSTITUTIONAL_DIRECT_FETCH | No | Optional: set to 'true' to try DOI publisher pages before CORE fallback. | |
| PUBMED_SEARCH_DISABLED_SOURCES | No | Optional comma-separated list of sources to disable, e.g., 'semantic_scholar'. | |
| PUBMED_ARTIFACT_INCLUDE_LOCAL_PATHS | No | Optional: set to 'true' to include local_path and manifest_path in artifact responses. |
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| unified_searchA | š Unified Search - Single entry point for multi-source academic search. Automatically analyzes your query and searches the best sources. No need to choose between PubMed, OpenAlex, CrossRef, etc. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā WHAT IT DOES: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā EXAMPLES (most calls only need 1-2 params): āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Simple (1 param): unified_search("remimazolam ICU sedation") With limit (2 params): unified_search("machine learning in anesthesia", limit=20) Specify sources: unified_search("CRISPR gene therapy", sources="pubmed,openalex") Auto minus one source: unified_search("sepsis biomarkers", sources="auto,-semantic_scholar") Search all enabled sources except enrichment-only CrossRef: unified_search("icu sedation", sources="all,-crossref") Clinical filters: unified_search("diabetes treatment", filters="year:2020-2025,age_group:aged,clinical_query:therapy") Include preprints + shallow search: unified_search("COVID-19 vaccine", options="preprints,shallow") Provider-native semantic retrieval (OpenAlex capability): unified_search("mechanisms of treatment resistance", sources="openalex", options="native_semantic") Reproducible systematic retrieval (bulk/cursor where supported): unified_search("melanoma AND immunotherapy", sources="openalex,semantic_scholar", options="systematic") Full control: unified_search("propofol vs remimazolam", sources="pubmed,semantic_scholar,europe_pmc", ranking="impact", filters="year:2020-,sex:female,species:humans", options="preprints,no_relax") ICD Code Auto-Detection: unified_search("E11 complications") ā Auto-expands E11 to "Diabetes Mellitus, Type 2"[MeSH] Args:
query: Search query (natural language, ICD codes, or structured).
Required unless pipeline is provided.
limit: Maximum results per source (default 10, max 100)
sources: Comma-separated list of sources to search.
Available: "pubmed", "openalex", "semantic_scholar",
"europe_pmc", "crossref", "core".
Commercial connectors may also appear when enabled via env,
e.g. "scopus" when Returns: Formatted search results with: - Query analysis (complexity, intent, PICO) - ICD code expansions (if detected) - Search statistics (sources, dedup count) - Ranked articles with metadata - Open access links where available - Preprints (if options includes "preprints") - Relaxation info (if auto_relax triggered) - Pipeline step summary (if pipeline mode) | ||||||||||||
| analyze_search_queryA | Analyze a search query without executing the search. Useful for understanding how unified_search will process your query before actually running it. Args: query: The search query to analyze Returns: Analysis including: - Complexity level (SIMPLE/MODERATE/COMPLEX/AMBIGUOUS) - Intent (LOOKUP/EXPLORATION/COMPARISON/SYSTEMATIC) - PICO elements (if detected) - Recommended sources - Recommended strategies | ||||||||||||
| validate_pico_planB | Validate agent-provided P/I/C/O and return a runnable PICO pipeline.
| ||||||||||||
| generate_search_queriesA | Gather search intelligence for a topic - returns RAW MATERIALS for Agent to decide. This tool provides the BUILDING BLOCKS for search, not finished queries. The Agent decides how to use them. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā TWO USAGE MODES: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā MODE 1: KEYWORD SEARCH (single topic) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā User: "ęå° remimazolam ēęē»" Step 1: generate_search_queries("remimazolam") Step 2: Build a Boolean query from returned materials Step 3: analyze_search_query(query="") Step 4: unified_search(query="") āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā MODE 2: PICO SEARCH (clinical question) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā User: "remimazolam åØ ICU é®éęÆ propofol 儽åļ¼ęęøå° delirium åļ¼" Step 1: Agent extracts P/I/C/O from the clinical question, then calls validate_pico_plan(description=..., p=..., i=..., c=..., o=...) to validate the structured handoff and get a runnable PICO pipeline. Step 2: For EACH PICO element, call generate_search_queries() IN PARALLEL: - generate_search_queries("ICU patients") ā P materials - generate_search_queries("remimazolam") ā I materials - generate_search_queries("propofol") ā C materials - generate_search_queries("delirium") ā O materials Step 3: Combine materials using Boolean logic: High precision: (P_terms) AND (I_terms) AND (C_terms) AND (O_terms) Recall-oriented: (P_terms) AND (I_terms OR C_terms); validate against eligible seed papers Step 4: Add Clinical Query filter if appropriate: - filters="clinical_query:therapy" ā ę²»ēęęęÆč¼ - filters="clinical_query:diagnosis" ā 診ę·ēøé - filters="clinical_query:prognosis" ā é å¾ēøé - filters="clinical_query:etiology" ā ē å ēøé āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Features:
Args: topic: Search topic - can be a single keyword or PICO element strategy: Affects suggested_queries (if included) - "comprehensive": Multiple angles, includes reviews (default) - "focused": Adds RCT publication-type filter; study quality still requires appraisal - "exploratory": Broader search with more synonyms check_spelling: Whether to check/correct spelling (default: True) include_suggestions: Include pre-built query suggestions (default: True) Returns: JSON with RAW MATERIALS: - corrected_topic: Spell-checked topic - keywords: Extracted significant keywords - mesh_terms: MeSH data with preferred terms and synonyms - all_synonyms: Flattened list of all synonyms - suggested_queries: Optional pre-built queries with: - estimated_count: How many results PubMed would return - pubmed_translation: How PubMed actually interprets the query | ||||||||||||
| find_related_articlesA | Find articles related to a given PubMed article. Uses PubMed's "Related Articles" feature to find similar papers. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š CITATION NETWORK EXPLORATION WORKFLOW āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā This is ONE of THREE tools for exploring citation networks: 1ļøā£ find_related_articles() ā YOU ARE HERE ā š Algorithm-based similarity (like PubMed "Similar Articles") ā š Finds papers with similar topics, MeSH terms, authors ā š Good for: Discovering related research you might have missed āāāŗ Returns: Similar papers (not based on citations) 2ļøā£ find_citing_articles() ā š Forward citation search (who cited THIS paper?) ā š Finds papers published AFTER the source article ā š Good for: Tracking impact, finding follow-up studies āāāŗ Returns: Papers that cite this article 3ļøā£ get_article_references() ā š Backward citation search (what did THIS paper cite?) ā š Finds papers published BEFORE the source article ā š Good for: Finding foundational papers, methodology sources āāāŗ Returns: This article's bibliography āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā EXAMPLE WORKFLOW: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Step 1: Start with a key paper find_related_articles(pmid="23132851") ā Find similar research directions Step 2: Explore backward (foundations) get_article_references(pmid="23132851") ā Find the foundational papers it builds on Step 3: Explore forward (impact) find_citing_articles(pmid="23132851") ā Find how the field developed after this paper Args: pmid: PubMed ID of the source article ("12345678" or "PMID:12345678"). limit: Maximum number of related articles to return (1-50, default: 5). Returns: List of related articles with details. | ||||||||||||
| find_citing_articlesA | Find articles that cite a given PubMed article. Uses PubMed Central's citation data to find papers that reference this article. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š FORWARD CITATION SEARCH (Impact Tracking) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Direction: Source Paper ā Papers that cite it (FORWARD in time) USE CASES: āāāāāāāāāā
COMPLEMENTARY TOOLS: āāāāāāāāāāāāāāāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā EXAMPLE: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Find papers that cite a landmark CRISPR paperfind_citing_articles(pmid="23287718", limit=20) ā Returns papers published AFTER 2012 that reference this work Then analyze citation metricsget_citation_metrics(pmids="last") ā See which citing papers are most influential Args: pmid: PubMed ID of the source article ("12345678" or "PMID:12345678"). limit: Maximum number of citing articles to return (1-100, default: 10). Returns: List of citing articles with details. | ||||||||||||
| get_article_referencesA | Get the references (bibliography) of a PubMed article. Returns the list of articles that this paper cites in its bibliography. This is the OPPOSITE of find_citing_articles:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š BACKWARD CITATION SEARCH (Foundation Discovery) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Direction: Source Paper ā Papers it cited (BACKWARD in time) USE CASES: āāāāāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā EXAMPLE WORKFLOW: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Start with a recent review articleget_article_references(pmid="38123456", limit=50) ā Get the bibliography of this review Find most-cited foundational papersget_citation_metrics(pmids="last", sort_by="citation_count") ā Identify which references are the most influential Read a foundational paperfetch_article_details(pmids="12345678") ā Get full details of an important reference Args: pmid: PubMed ID of the source article ("12345678" or "PMID:12345678"). limit: Maximum number of references to return (1-100, default: 20). Returns: List of referenced articles with details. | ||||||||||||
| fetch_article_detailsB | Fetch detailed information for one or more PubMed articles. Args: pmids: PubMed IDs - accepts multiple formats: - "12345678" (single) - "12345678,87654321" (comma-separated) - "PMID:12345678" (with prefix) - ["12345678", "87654321"] (list) Inputs are string-only and fail as a complete batch when any PMID is invalid. Returns: Detailed information for each article. | ||||||||||||
| get_citation_metricsA | Get citation metrics from NIH iCite for articles. Returns field-normalized citation data including:
Can sort and filter results by citation metrics. Args: pmids: PubMed IDs - accepts multiple formats: - "12345678,87654321" (comma-separated) - ["12345678", "87654321"] (list) - "PMID:12345678" (with prefix) - "last" to use PMIDs from the last search Batches are fail-closed and limited to 1,000 unique PMIDs. sort_by: Metric to sort by: - "citation_count": Raw citation count (default) - "relative_citation_ratio": Field-normalized (recommended) - "nih_percentile": Percentile ranking - "citations_per_year": Citation velocity min_citations: Filter out articles with fewer citations min_rcr: Filter out articles with RCR below threshold (e.g., 1.0 = average) min_percentile: Filter out articles below percentile (e.g., 50 = top half) Returns: Articles with citation metrics, sorted and filtered as requested. iCite transport or response failures return an explicit retryable error and are never rendered as an empty/unindexed result. | ||||||||||||
| verify_reference_listA | Verify a plain-text reference list against PubMed evidence. First version scope: - Reference-list verification only - Client supplies the extracted reference list text - Backend parses entries and resolves them via PMID / DOI / ECitMatch Second version scope:
- Adds unresolved review workflow for Args: reference_text: Plain-text references, ideally one per line or a numbered reference list extracted from a file. Limited to 200,000 characters / 400,000 UTF-8 bytes; each entry is limited to 4,000 characters / 8,000 UTF-8 bytes. source_name: Optional single-line file label for reporting (up to 255 characters / 512 UTF-8 bytes). max_references: Hard input-entry limit from 1 through 200. Inputs above the selected limit are rejected instead of truncated. Returns:
JSON verification report with parsed fields, matched PubMed evidence,
per-reference verification status, and explicit
| ||||||||||||
| prepare_exportA | Export citations to reference manager formats. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā RECOMMENDED: Use source="official" (default) for best quality ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā When to Use
Source Options
Format Selection Guide
Args: pmids: Articles to export. Accepts: - "last" ā results from previous search - "12345678,87654321" ā comma-separated PMIDs - ["12345678", "87654321"] ā list of PMIDs - "PMID:12345678" ā with prefix format: Export format (default: "ris") - official API: ris, medline, csl - local only: bibtex, csv, json include_abstract: Include abstracts in output (default: True). False requires source="local"; official payloads are returned unmodified. source: Citation source (default: "official") - "official": NCBI Citation API (recommended, best quality) - "local": Local formatting (more formats, offline capable) Returns: JSON with status and export_text containing formatted citations. Examples: # Export last search results (recommended) prepare_export(pmids="last", format="ris") | ||||||||||||
| save_literature_notesA | Save searched articles as guided local wiki/Foam/Markdown notes. When to Use
Local Directory Resolution
Authenticated Service BoundaryRemote authenticated callers cannot choose output_dir or template_file. Their notes always go to references/ under the current tenant's installed SessionManager data root; process-wide notes/workspace environment paths are intentionally ignored. Args: pmids: Articles to save. Accepts "last", a PMID string, or a JSON array of PMID strings. output_dir: Optional target folder for notes. note_format: "wiki" (default, Foam-compatible), "foam", "markdown", or "medpaper". include_abstract: Include abstracts in article notes. overwrite: Overwrite existing per-article notes when filenames collide. create_index: Create a collection index note linking saved articles. collection_name: Optional title/file stem for the index note. template_file: Optional Markdown template with placeholders like {title}, {pmid}, {citation_key}. include_csl_json: Write references.csl.json beside notes for citation-manager handoff. Returns: JSON with written/skipped files, index information, and wiki_validation. Local callers receive filesystem paths. Authenticated callers receive tenant-relative logical locators and never receive server host paths. Examples: save_literature_notes(pmids="last") save_literature_notes(pmids="last", note_format="medpaper", output_dir="./references") save_literature_notes(pmids="12345678,87654321", template_file="./ref-template.md") | ||||||||||||
| get_fulltextA | š„ Enhanced multi-source fulltext retrieval. Automatically tries multiple sources to find the best fulltext:
With extended_sources=True, also searches: 5. CrossRef (publisher links) 6. DOAJ (Gold OA journals) 7. Zenodo (research repository) 8. PubMed LinkOut (external providers) 9. Semantic Scholar, OpenAlex, arXiv, bioRxiv, medRxiv
Args: source: One object such as {"kind":"pmid","value":"12345678"}, {"kind":"pmcid","value":"PMC7096777"}, or {"kind":"doi","value":"10.1001/jama.2024.1234"}. sections: Filter sections (e.g., "introduction,methods,results") include_pdf_links: Include PDF download links (default: True) include_figures: Include figure metadata with image URLs (default: False) extended_sources: Search the extended downloader chain after the standard policy (default: False) output_format: Response format - "markdown" (default), "json", or "toon" allow_browser_session: Control browser-session fallback. - True: force broker fallback when configured - False: disable broker fallback - None: use auto mode from broker configuration Returns: Fulltext content with PDF links from all available sources. Example: get_fulltext(source={"kind":"pmcid","value":"PMC7096777"}) get_fulltext(source={"kind":"doi","value":"10.1038/s41586-021-03819-2"}) | ||||||||||||
| get_text_mined_termsA | Get text-mined annotations from Europe PMC. Returns entities extracted from the article text including genes, diseases,
chemicals, organisms, and more. Args: source: {"kind":"pmid","value":"12345678"} or {"kind":"pmcid","value":"PMC7096777"}. semantic_type: Filter by entity type. Options: - "GENE_PROTEIN": Genes and proteins - "DISEASE": Diseases and conditions - "CHEMICAL": Drugs and chemicals - "ORGANISM": Species and organisms - "GO_TERM": Gene Ontology terms - None: Return all types (default) Returns: List of text-mined entities with counts and sections. | ||||||||||||
| get_article_figuresA | Get structured figure metadata (label, caption, image URL) and PDF links from a PMC Open Access article. Returns all figures with their captions and direct image URLs, plus PDF download links for the complete article.
Args: source: {"kind":"pmcid","value":"PMC12086443"} or {"kind":"pmid","value":"40384072"}. include_subfigures: Parse sub-figures (e.g., Figure 3A, 3B) as separate entries. include_tables: Also extract tables rendered as images. Returns: Structured figure data with image URLs, captions, and PDF links. Example: get_article_figures(source={"kind":"pmcid","value":"PMC12086443"}) | ||||||||||||
| search_geneA | Search NCBI Gene database for gene information. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā USE CASES: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Args: query: Gene name, symbol, or function keyword organism: Filter by organism (e.g., "human", "Homo sapiens", "mouse") limit: Maximum results (1-50) Returns: JSON with gene records including symbols, names, locations | ||||||||||||
| get_gene_detailsA | Get detailed information about a gene by NCBI Gene ID. Args: gene_id: NCBI Gene ID (from search results or known) Returns: JSON with gene details including symbol, name, summary, location | ||||||||||||
| get_gene_literatureA | Get PubMed articles linked to a gene. This uses NCBI's curated gene-to-publication links, which are more precise than keyword searches. Args: gene_id: NCBI Gene ID limit: Maximum PubMed IDs to return (1-100) Returns: JSON with linked PubMed IDs | ||||||||||||
| search_compoundB | Search PubChem for chemical compounds. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā USE CASES: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Args: query: Compound name or description limit: Maximum results (1-50) Returns: JSON with compound records including names, formulas, properties | ||||||||||||
| get_compound_detailsB | Get detailed information about a compound by PubChem CID. Args: cid: PubChem Compound ID Returns: JSON with compound details including formula, SMILES, properties | ||||||||||||
| get_compound_literatureB | Get PubMed articles linked to a compound. Uses NCBI's curated compound-to-publication links. Args: cid: PubChem Compound ID limit: Maximum PubMed IDs to return (1-100) Returns: JSON with linked PubMed IDs | ||||||||||||
| search_clinvarA | Search ClinVar for clinical variants. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā USE CASES: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Args: query: Gene name, variant, or disease condition limit: Maximum results (1-50) Returns: JSON with variant records including significance and conditions | ||||||||||||
| build_citation_treeA | Build a citation tree (network) from a single article. š³ Creates a visual citation network showing research lineage:
ā ļø IMPORTANT: Only accepts ONE PMID at a time to control API load. For multiple papers, call this tool separately for each. š Output Formats (output_format parameter):
Args: pmid: Single PubMed ID (e.g., "12345678"). Only ONE PMID accepted - do NOT pass multiple. depth: How many levels to traverse (1-3, default 2). - depth=1: Direct citations/references only - depth=2: Also get citations of citations (recommended) - depth=3: Maximum depth (can be slow, ~100+ API calls) direction: Which direction to build the tree: - "forward": Only citing articles (who cites this) - "backward": Only references (what this cites) - "both": Both directions (default, recommended) limit_per_level: Max articles to fetch per node per level (default 5) output_format: Graph format for visualization (default "cytoscape") - "cytoscape": Cytoscape.js (academic standard, bioinformatics) - "g6": AntV G6 (modern, TypeScript, great for large graphs) - "d3": D3.js force layout (most flexible, Observable notebooks) - "vis": vis-network (simple and easy) - "graphml": GraphML XML (Gephi, VOSviewer, yEd, Pajek) - "mermaid": Mermaid diagram (preview in VS Code Markdown) Returns: Markdown summary followed by JSON with graph data in the requested format. Includes metadata and statistics regardless of format. Example usage: # Build 2-level tree for a paper (default Cytoscape.js format) build_citation_tree(pmid="33475315", depth=2, direction="both") | ||||||||||||
| build_research_chronicleA | Build a persisted, versioned, evidence-backed Research Chronicle. A chronicle is the durable record of how a research topic evolved, and the single entry point for research-evolution work (it replaces the older one-shot timeline tools). It is stored with a monotonic revision number, so re-running it later produces revision N+1 and you can diff revisions to see exactly what changed. The primary axis is chronological; research branches are a secondary
organizing dimension. Both come from the same stored snapshot, and
preserve shared provenance in Every entry carries:
The typed provenance graph links Topic ā Branch ā Entry ā EvidenceArticle and is validated against edge invariants. The audit reports evidence coverage, identifier coverage, branch coverage, graph integrity, and chronology gaps, so you always know how complete the picture is. Args:
topic: Research topic (drug, gene, disease, intervention).
Required unless Returns:
The requested rendering plus an artifact locator when durable
artifact persistence is enabled and succeeds. The artifact contains
the full snapshot, projections, evidence table, milestone analysis,
and audit regardless of Examples: build_research_chronicle(topic="remimazolam") build_research_chronicle(pmids="last", topic="My Reading List") build_research_chronicle(topic="CAR-T therapy", output="mermaid") build_research_chronicle(chronicle_id="remimazolam-9f2b1c4d") | ||||||||||||
| read_research_chronicleA | Read stored Research Chronicles: load, list, diff, narrate, analyze, compare. This is the read facade over chronicles created by
Actions:
The required Returns: Markdown or JSON text depending on the action and output format. Examples: read_research_chronicle(request={"action":"list"}) read_research_chronicle(request={"action":"load","chronicle_id":"remimazolam-9f2b1c4d","output":"tree"}) read_research_chronicle(request={"action":"diff","chronicle_id":"remimazolam-9f2b1c4d","from_revision":1}) read_research_chronicle(request={"action":"narrate","chronicle_id":"remimazolam-9f2b1c4d","mode":"full"}) read_research_chronicle(request={"action":"milestones","chronicle_id":"remimazolam-9f2b1c4d"}) read_research_chronicle(request={"action":"compare","selection":{"kind":"topics","values":["remimazolam","propofol"]}}) | ||||||||||||
| prepare_figure_searchA | Analyze a scientific figure or image for literature search. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š¬ VISION-TO-LITERATURE SEARCH (Experimental) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā This tool enables searching for scientific literature based on images. WORKFLOW (the host agent performs the analysis and search): āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ļø IMPORTANT RULES: āāāāāāāāāāāāāāāā
SEARCH TYPES: āāāāāāāāāāāāā
USE CASES: āāāāāāāāāā
IMPORTANT: āāāāāāāāāā Image observations are search hypotheses that require source verification. Follow the user-requested scope and the host agent's execution rules. Use English medical terminology in all search queries. Args: source: Exactly one typed image source: {"kind": "base64", "data": "data:image/png;base64,..."} or {"kind": "url", "url": "https://example.org/figure.png"}. context: Optional context about what to look for in the image search_type: Type of analysis focus (comprehensive/methodology/results/structure/medical) Returns: List containing: - ImageContent: The image for you to analyze - TextContent: Instructions for next steps Example: prepare_figure_search(source={"kind": "url", "url": "https://example.com/figure1.png"}) prepare_figure_search( source={"kind": "base64", "data": "data:image/png;base64,iVBORw0..."} ) | ||||||||||||
| configure_institutional_accessA | Configure your institution's link resolver for full-text access. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā šļø INSTITUTIONAL ACCESS CONFIGURATION āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā This tool configures OpenURL link resolver integration, allowing you to access paywalled articles through your institution's library subscription. Remote service callers may call this tool with no configuration arguments to inspect the operator-installed configuration, but cannot mutate the server-owned, deployment-wide OpenURL settings. Configure those at deployment time or from a trusted local server instead. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā HOW IT WORKS: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā USAGE: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Option 1: Use a preset (easiest) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā configure_institutional_access(preset="ntu") Available presets:
Option 2: Custom URL āāāāāāāāāāāāāāāāāāāāā configure_institutional_access( resolver_url="https://your.library.edu/openurl" ) Option 3: Disable āāāāāāāāāāāāāāāāāāāāā configure_institutional_access(enable=False) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā FINDING YOUR RESOLVER URL: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Args: resolver_url: Your institution's link resolver URL preset: Use a known institution's preset configuration enable: Whether to enable OpenURL links (default: True) Returns: Configuration status message | ||||||||||||
| get_institutional_linkA | Generate institutional access link (OpenURL) for an article. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š GET LIBRARY ACCESS LINK āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Generate an OpenURL that will take you through your library's link resolver to access the full text of an article. PREREQUISITES: āāāāāāāāāāāāāāāāā Must first call configure_institutional_access() to set up your resolver. USAGE: āāāāāāāāāāāāāāāāā With PMID (easiest): get_institutional_link( source={"kind": "pmid", "value": "38353755"} ) With DOI: get_institutional_link( source={"kind": "doi", "value": "10.1001/jama.2024.1234"} ) With full metadata (most reliable): get_institutional_link( source={ "kind": "metadata", "title": "Some Article Title", "journal": "JAMA", "year": 2024, "volume": "331", "issue": "1", "pages": "45-52" } ) Args: source: Exactly one explicit PMID, DOI, or bounded metadata object. Returns: OpenURL link or error message | ||||||||||||
| list_resolver_presetsA | List available institutional link resolver presets. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š AVAILABLE RESOLVER PRESETS āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā These presets contain pre-configured URLs for common institutions. Use them with configure_institutional_access(preset="name"). Returns: List of available presets with URLs | ||||||||||||
| test_institutional_accessA | Test your institutional link resolver configuration. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā š§Ŗ TEST INSTITUTIONAL ACCESS āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Tests if your configured link resolver is:
NOTE: This only tests if the resolver endpoint is reachable. Actual full-text access depends on your institution's subscriptions. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā FREE TEST OPTIONS: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā If you don't have institutional access, you can test with:
Args: pmid: PMID to use for testing (default: 38353755) Returns: Test results including: - Configuration status - Network reachability - Generated OpenURL - Link to test manually | ||||||||||||
| diagnose_institutional_accessA | Diagnose why institutional fulltext access succeeds or fails for an article. Runs up to three probes and reports each path's outcome:
Usage: diagnose_institutional_access( source={"kind": "doi", "value": "10.1097/ALN.0000000000003599"} ) Args: source: Exactly one PMID or DOI. A PMID is resolved to a DOI when possible so direct and EZproxy probes can run. try_direct: Run the Phase 1 direct probe (default True). try_ezproxy: Run the Phase 2 EZproxy probe (default True). Returns: Markdown report listing every probe's status, classification, and advice on the next action to take. | ||||||||||||
| convert_icd_meshA | Query the curated ICD/MeSH crosswalk in one explicit direction. Use | ||||||||||||
| search_biomedical_imagesA | š¼ļø Search biomedical images from NLM Open-i. Searches medical/scientific images from Open-i and returns image URLs with metadata (caption, article info, MeSH terms). āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā ļø CRITICAL - LANGUAGE REQUIREMENT: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Open-i ONLY supports English queries. If the user queries in non-English (Chinese, Japanese, Korean, etc.), you MUST:
The tool has built-in translation hints for common CJK medical terms, but YOU should always verify the translation is correct. āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā SOURCES: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā EXAMPLES: āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā General image search: search_biomedical_images("chest pneumonia CT scan") X-ray only: search_biomedical_images("fracture", image_type="x") Microscopy images: search_biomedical_images("histology liver", image_type="mc") Clinical teaching images (MedPix): search_biomedical_images("pneumothorax", collection="mpx") Case reports with CC-BY license, sorted by date: search_biomedical_images( "lung cancer", article_type="cr", license_type="by", sort_by="d" ) Cardiology specialty images: search_biomedical_images("echocardiogram", specialty="c") Video content only: search_biomedical_images("surgery technique", video_only=True) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Args: query: Search query (e.g., "chest X-ray pneumonia") image_type: Filter by image type (Open-i only): Positive filters: - "c": CT scan images - "g": Graphics / line art / diagrams - "m": MRI images - "mc": Microscopy / histology images - "p": PET scan images - "ph": Photographs / clinical photos - "u": Ultrasound images - "x": X-ray images Exclusion filters: - "xg": Exclude Graphics (removes graphic images from results) - "xm": Exclude Multipanel (removes multipanel images) - None: All types (default) collection: Filter by collection (Open-i only): - "pmc": PubMed Central articles - "mpx": MedPix clinical teaching images (high quality) - "cxr": Chest X-ray collection - "hmd": History of Medicine - "usc": USC collection - None: All collections (default) limit: Maximum number of images to return (default 10, max 50) sort_by: Sort results by (Open-i only): - "r": Relevance (default) - "d": Date (newest first) - "o": Oldest first - "t": Title - "e": Education relevance - "g": Graphics priority article_type: Filter by article type (Open-i only): - "cr": Case Report - "or": Original Research - "re": Review - "sr": Systematic Review - "ra": Research Article - "ed": Editorial - "lt": Letter - "bk": Book - and more... (see API docs) specialty: Filter by medical specialty (Open-i only): - "r": Radiology - "c": Cardiology - "ne": Neurology - "pu": Pulmonology - "d": Dermatology - "g": Gastroenterology - "or": Orthopedics - "o": Ophthalmology - "s": Surgery - "p": Pediatrics - "id": Infectious Disease - "i": Immunology - and more... (see API docs) license_type: Filter by Creative Commons license (Open-i only): - "by": CC-BY (Attribution) - "bync": CC-BY-NC (Attribution-NonCommercial) - "byncnd": CC-BY-NC-ND (Attribution-NonCommercial-NoDerivs) - "byncsa": CC-BY-NC-SA (Attribution-NonCommercial-ShareAlike) subset: Filter by subject subset (Open-i only): - "b": Behavioral Sciences - "c": Cancer - "e": Ethics - "s": Surgery - "x": Toxicology search_fields: Search in specific fields (Open-i only): - "t": Title only - "m": MeSH terms only - "ab": Abstract only - "msh": MeSH heading only - "c": Caption only - "a": Author only video_only: If True, only return video content (default False) hmp_type: History of Medicine publication type. Requires collection="hmd". Returns: Formatted image results with URLs, captions, and article metadata | ||||||||||||
| save_pipelineA | Save a pipeline configuration for later reuse. The config format is identical to unified_search's pipeline parameter (YAML or JSON). Saved pipelines can be loaded later by name: unified_search(pipeline="saved:weekly_remimazolam") Args: name: Unique identifier (alphanumeric + hyphens/underscores, max 64 chars). Overwrites if name already exists (upsert semantics). config: Pipeline YAML/JSON string. Same format as unified_search pipeline param. tags: Bounded array of canonical tags (e.g., ["anesthesia", "sedation"]). description: Human-readable description of the pipeline's purpose. scope: Storage scope - "workspace" (project-level, git-trackable), "global" (user-level, cross-project), or "auto" (workspace if available, otherwise global). Default: "auto". Returns: Confirmation with pipeline metadata. | ||||||||||||
| list_pipelinesA | List all saved pipeline configurations. Args: tag: Filter by tag (e.g., "sedation"). Empty = show all. scope: Filter by scope: "workspace", "global", or "" (show all). Returns: Table of saved pipelines with name, scope, description, tags. | ||||||||||||
| load_pipelineA | Load a pipeline configuration for review or editing. Loads from either source:
The returned YAML can be reviewed, modified, and then:
Args: source: Pipeline source identifier (see above). Returns: Full pipeline YAML content + metadata. | ||||||||||||
| delete_pipelineA | Permanently delete a saved pipeline configuration and execution history. For the default tenant, any process-level schedule is removed only after the stored pipeline deletion succeeds. Isolated tenants never mutate the shared process scheduler. Args: name: Name of the saved pipeline to delete. Returns: Confirmation of deletion. | ||||||||||||
| get_pipeline_historyA | Get execution history for a saved pipeline. Shows past execution results with diff analysis: which articles are new compared to the previous run. Args: name: Name of the saved pipeline. limit: Maximum number of history entries to return (default: 5). Returns: Execution history with date, article count, new/removed articles, status. | ||||||||||||
| schedule_pipelineA | Schedule a saved pipeline for periodic execution. Args: name: Saved pipeline name. cron: Required 5-field cron expression. Example: "0 9 * * 1" (Mon 9am). diff_mode: When True, store diff-mode preference with the schedule. notify: When True, store notify preference with the schedule. Returns: Schedule confirmation or removal result. | ||||||||||||
| unschedule_pipelineA | Remove the active schedule for a saved pipeline. Args: name: Saved pipeline name whose schedule will be removed. Returns: Removed schedule metadata, or a native MCP error when none exists. | ||||||||||||
| read_sessionA | Read session data through one schema-exact discriminated request. Actions:
Each action accepts only its own fields. For remote artifact reads, select an artifact_id or artifact_uri locator and use artifact_file plus offset/max_chars to page through large files. Local paths remain redacted unless both include_local_paths and the server setting allow them. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| quick_search | Quick literature search - just find some papers on a topic. Use when: User says "find papers about...", "search for...", "any articles on..." |
| systematic_search | Systematic/comprehensive search using MeSH and synonyms. Use when: User asks for "systematic search", "comprehensive review", "find all papers", or needs thorough coverage. |
| pico_search | PICO-based clinical question search. Use when: User asks comparative questions like "Is A better than B?", "Does X reduce Y?", "In patients with Z, what is the effect of..." |
| explore_paper | Deep exploration starting from a key paper. Use when: User found an important paper and wants to explore the research landscape. |
| gene_drug_research | Research workflow for genes or drugs/compounds. Use when: User asks about a specific gene (BRCA1, TP53) or drug (propofol, aspirin). |
| export_results | Export search results to reference manager formats. Use when: User wants to save, export, or cite the papers found. |
| find_open_access | Find open access versions of papers on a topic. Use when: User needs free full-text access to papers. |
| literature_review | Comprehensive literature review workflow. Use when: User needs a thorough literature review for a research topic. |
| text_mining_workflow | Extract structured information from papers using text mining. Use when: User wants to extract genes, diseases, chemicals mentioned in papers. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| session_last_search | Latest session search metadata and reusable PMID summary. |
| session_last_search_pmids | PMID list from the latest recorded search for immediate reuse. |
| session_last_search_results | Cached article payloads for the latest search PMIDs. |
| session_activity | Recent session activity events plus search history for debugging and review. |
| session_context | Current research session context and cache summary. |
| pubmed_filter_age_group | PubMed age-group filter reference and usage examples. |
| pubmed_filter_sex | PubMed sex filter reference and usage examples. |
| pubmed_filter_species | PubMed species filter reference and usage examples. |
| pubmed_filter_language | PubMed language filter reference and usage examples. |
| pubmed_filter_clinical_query | PubMed Clinical Queries reference and usage examples. |
| pubmed_filter_article_type | PubMed article-type filter reference and usage examples. |
| pubmed_filter_all | Combined filter reference for PubMed search options. |
| pubmed_tools_reference | Category view of all registered MCP tools. |
| pubmed_icd_mapping | Bidirectional ICD-9/10 and MeSH reference data. |
TDQS
Scored across 41 tools
Most tools are clearly distinct, but there are multiple near-overlaps: build_citation_tree duplicates forward/backward citation functionality also covered by find_citing_articles and get_article_references, and unified_search vs analyze_search_query vs read_session vs read_research_chronicle can blur boundaries. Detailed descriptions help, but with 41 tools, misselection is still plausible.
Tool names are predominantly verb_noun and consistently snake_case (search_gene, get_gene_details, save_pipeline, delete_pipeline). Minor inconsistencies like 'unified_search' lacking a separate verb and the interchangeable use of get/fetch/find weaken the pattern slightly, but the overall convention is predictable.
41 tools far exceeds the 25+ threshold and feels overloaded for a server named pubmed-search-mcp. The server bundles search, citations, fulltext, genes/compounds, pipelines, chronicles, and institutional access into one surface, making the tool set heavy even though each tool has a clear role.
The tool surface covers the full research workflow: query analysis, unified search, article details, citation/reference exploration, metrics, fulltext, export, notes, and pipeline scheduling. It even adds gene/compound/ClinVar lookup and institutional access diagnostics, so most biomedical literature workflows have no critical dead ends.