About Pubmed Search MCP
Pubmed Search MCP is an MCP server published by u9401066 in the Developer Tools category: agent plugin for biomedical literature research with PubMed and multi-source search, reusable strategies, citation tracing, and Research Chronicle. PubMed search was implemented in med-paper-assistant on 2025-11-25. This standalone repository was created on 2025-12-02. Conduid read 48 tools from its source: analyze_search_query, budget_status, build_citation_tree, build_research_chronicle, configure_institutional_access, convert_icd_mesh and 42 more. It is published to PyPI as pubmed-search-mcp and runs with uvx.
The repository has 30 stars and 9 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is v0.7.7 (1 Oct 2026): This patch replaces weak testing signals with exercised product workflows and moves deterministic checks ahead of push. It follows v0.7.6 (1 Oct 2026), and the 5 most recent releases go back to v0.7.3 (15 Sep 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include europe-pmc, devtools, bioinformatics, citation-analysis, entrez and evidence-based-medicine.
Install
uvx pubmed-search-mcppip install pubmed-search-mcpgit clone https://github.com/u9401066/pubmed-search-mcpTools (48)
analyze_search_queryAnalyze a query locally, or preview explicit PubMed Boolean combinations.| Parameter | Type | Description |
|---|---|---|
| comparison | any | |
| query * | string | The search query to analyze |
budget_statusRead remaining shared backend search and document-exposure budgets.build_citation_treeBuild a citation tree (network) from a single article.| Parameter | Type | Description |
|---|---|---|
| depth | any | 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 | any | 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 | any | Max articles to fetch per node per level (default 5) |
| output_format | any | 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) |
| pmid * | any | Single PubMed ID (e.g., "12345678"). Only ONE PMID accepted - do NOT pass multiple. |
build_research_chronicleBuild a persisted, versioned, evidence-backed Research Chronicle.| Parameter | Type | Description |
|---|---|---|
| chronicle_id | any | Continue an existing chronicle (creates revision N+1) instead of deriving the ID from the topic. Passing it alone re-runs the stored scope. Changes can reflect revised indexing as well as newly retrieved papers. |
| max_events | any | Maximum timeline events to consider (topic mode). Omit to inherit the continued revision's value, else 30. |
| max_year | any | Latest publication year to include (topic mode). |
| min_year | any | Earliest publication year to include (topic mode). |
| output | any | "summary" (default compact Markdown with the chronological spine), "json", "chronicle_map", "timeline", "tree", "graph", "evidence", "milestones", "mermaid" (horizontal time spine with lineage branches), or "narrative". "json", "chronicle_map", "timeline", "tree", "graph", "evidence", and "milestones" return JSON; the rest return Markdown. |
| pmids | any | Delimited PMIDs, a string array or JSON array string, or "last" to chronicle the previous search results instead of running a new search. |
| topic | any | Research topic (drug, gene, disease, intervention). Required unless `pmids` or a stored `chronicle_id` is supplied. |
configure_institutional_accessConfigure your institution's link resolver for full-text access.| Parameter | Type | Description |
|---|---|---|
| enable | boolean | Whether to enable OpenURL links (default: True) |
| preset | any | Use a known institution's preset configuration |
| resolver_url | string | Your institution's link resolver URL |
convert_icd_meshQuery the curated ICD/MeSH crosswalk in one explicit direction.| Parameter | Type | Description |
|---|---|---|
| direction * | string | |
| value * | string |
delete_pipelinePermanently delete a saved pipeline and its execution history.| Parameter | Type | Description |
|---|---|---|
| delete_screening_log | boolean | Also delete screening decisions recorded for this pipeline (default false: refuse when decisions exist). |
| name * | any | Name of the saved pipeline to delete. |
diagnose_institutional_accessDiagnose why institutional fulltext access succeeds or fails for an article.| Parameter | Type | Description |
|---|---|---|
| source * | any | Exactly one PMID or DOI. A PMID is resolved to a DOI when possible so direct and EZproxy probes can run. |
| try_direct | boolean | Run the Phase 1 direct probe (default True). |
| try_ezproxy | boolean | Run the Phase 2 EZproxy probe (default True). |
evidence_checkCheck an answer's cited records, quotes and numbers before delivering it.| Parameter | Type | Description |
|---|---|---|
| expected_pmids | array | The set the answer must cover exactly once. |
| items * | array | Up to 200 cited records: ``pmid``, optional ``quote``, ``number`` (a whole number the quote must contain) and ``label``. |
| output_format | string | "markdown" (default) or "json". |
evidence_ledgerShared evidence state for one research question, worked by one or several agents.| Parameter | Type | Description |
|---|---|---|
| request * | any |
fetch_article_detailsFetch detailed information for one or more PubMed articles.| Parameter | Type | Description |
|---|---|---|
| fields | string | Comma-separated fields to return instead of full records, e.g. "publication_types,integrity" or "title,year,abstract". One of: , |
| output_format | string | |
| pmids * | any | PubMed IDs - accepts multiple formats: - "12345678" (single) - "12345678,87654321" (comma-separated) - "PMID:12345678" (with prefix) - ["12345678", "87654321"] (list) - '["12345678", "87654321"]' (JSON array string) - Newlines, semicolons, pipes, and Chinese separators are also accepted. Inputs are string-only and fail as a complete batch when any PMID is invalid. |
find_citing_articlesFind articles that cite a given PubMed article.| Parameter | Type | Description |
|---|---|---|
| limit | any | Maximum number of citing articles to return (1-100, default: 10). |
| pmid * | any | PubMed ID of the source article ("12345678" or "PMID:12345678"). |
find_related_articlesFind articles related to a given PubMed article.| Parameter | Type | Description |
|---|---|---|
| limit | any | Maximum number of related articles to return (1-50, default: 5). |
| pmid * | any | PubMed ID of the source article ("12345678" or "PMID:12345678"). |
generate_search_queriesGather search intelligence for a topic - returns RAW MATERIALS for Agent to decide.| Parameter | Type | Description |
|---|---|---|
| check_spelling | boolean | Whether to check/correct spelling (default: True) |
| include_suggestions | boolean | Include pre-built query suggestions (default: True) |
| strategy | any | 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 |
| topic * | any | Search topic - can be a single keyword or PICO element |
get_article_figuresGet structured figure metadata (label, caption, image URL) and PDF links from a PMC Open Access article.| Parameter | Type | Description |
|---|---|---|
| include_subfigures | any | Parse sub-figures (e.g., Figure 3A, 3B) as separate entries. |
| include_tables | any | Also extract tables rendered as images. |
| output_format | string | |
| source * | any | {"kind":"pmcid","value":"PMC12086443"} or {"kind":"pmid","value":"40384072"}. |
get_article_referencesGet the references (bibliography) of a PubMed article.| Parameter | Type | Description |
|---|---|---|
| limit | any | Maximum number of references to return (1-100, default: 20). |
| pmid * | any | PubMed ID of the source article ("12345678" or "PMID:12345678"). |
get_citation_metricsGet citation metrics from NIH iCite for articles.| Parameter | Type | Description |
|---|---|---|
| min_citations | any | Filter out articles with fewer citations |
| min_percentile | any | Filter out articles below percentile (e.g., 50 = top half) |
| min_rcr | any | Filter out articles with RCR below threshold (e.g., 1.0 = average) |
| output_format | string | |
| pmids * | any | PubMed IDs - accepts multiple formats: - "12345678,87654321" (comma-separated) - ["12345678", "87654321"] (list) - '["12345678", "87654321"]' (JSON array string) - "PMID:12345678" (with prefix) - "last" to use PMIDs from the last search Batches are fail-closed and limited to 1,000 items before deduplication. |
| sort_by | any | 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 |
get_compound_detailsGet detailed information about a compound by PubChem CID.| Parameter | Type | Description |
|---|---|---|
| cid * | any | PubChem Compound ID |
get_compound_literatureGet PubMed articles linked to a compound.| Parameter | Type | Description |
|---|---|---|
| cid * | any | PubChem Compound ID |
| limit | any | Maximum PubMed IDs to return (1-100) |
get_fulltext🔥 Enhanced multi-source fulltext retrieval.| Parameter | Type | Description |
|---|---|---|
| allow_browser_session | any | Control browser-session fallback. - True: force broker fallback when configured - False: disable broker fallback - None: use auto mode from broker configuration |
| extended_sources | any | Search the extended downloader chain after the standard policy (default: False) |
| include_figures | any | Include figure metadata with image URLs (default: False) |
| include_pdf_links | any | Include PDF download links (default: True). False skips link enrichment when structured fulltext is already available. |
| output_format | string | Response format - "markdown" (default), "json", or "toon" |
| sections | any | Filter body sections (e.g., "introduction,methods,results"). Missing titles are reported with available sections; abstracts are never substituted for missing body evidence. |
| source * | any | One object such as {"kind":"pmid","value":"12345678"}, {"kind":"pmcid","value":"PMC7096777"}, or {"kind":"doi","value":"10.1001/jama.2024.1234"}. |
| use_registered_fulltext | any | Serve text registered with register_fulltext (default True). False re-queries the provider sources. |
get_gene_detailsGet detailed information about a gene by NCBI Gene ID.| Parameter | Type | Description |
|---|---|---|
| gene_id * | any | NCBI Gene ID (from search results or known) |
get_gene_literatureGet PubMed articles linked to a gene.| Parameter | Type | Description |
|---|---|---|
| gene_id * | any | NCBI Gene ID |
| limit | any | Maximum PubMed IDs to return (1-100) |
get_institutional_linkGenerate institutional access link (OpenURL) for an article.| Parameter | Type | Description |
|---|---|---|
| source * | any | Exactly one explicit PMID, DOI, or bounded metadata object. |
get_pipeline_historyGet execution history, a run's search record, or its persisted record set.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Runs to list, or records per page for view="records" (1-100). |
| name * | any | Name of the saved pipeline. |
| offset | integer | Record offset for view="records" (merged exhaustive sets can exceed 10,000 records; every page up to the run record cap is reachable). |
| run_id | any | Run to read (default: latest run). |
| view | any | "runs", "run", "prisma_s", or "records". |
get_text_mined_termsGet text-mined annotations from Europe PMC.| Parameter | Type | Description |
|---|---|---|
| output_format | string | |
| semantic_type | any | 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) |
| source * | any | {"kind":"pmid","value":"12345678"} or {"kind":"pmcid","value":"PMC7096777"}. |
list_pipelinesList all saved pipeline configurations.| Parameter | Type | Description |
|---|---|---|
| scope | any | Filter by scope: "workspace", "global", or "" (show all). |
| tag | string | Filter by tag (e.g., "sedation"). Empty = show all. |
list_resolver_presetsList available institutional link resolver presets.load_pipelineLoad a pipeline configuration for review or editing.| Parameter | Type | Description |
|---|---|---|
| source * | any | Pipeline source identifier (see above). |
pipeline_screeningScreen a saved pipeline's records and report PRISMA 2020 flow counts.| Parameter | Type | Description |
|---|---|---|
| request * | any |
prepare_exportExport citations to reference manager formats.| Parameter | Type | Description |
|---|---|---|
| format | string | Export format (default: "ris") - official API: ris, medline, csl - local only: bibtex, csv, json |
| include_abstract | boolean | Include abstracts in output (default: True). False requires source="local"; official payloads are returned unmodified. |
| pipeline_run | any | Saved pipeline run to export instead of pmids: "<pipeline>" or "<pipeline>@<run_id>". |
| pmids | any | Articles to export. Accepts: - "last" → results from previous search - "12345678,87654321" → comma-separated PMIDs - ["12345678", "87654321"] → list of PMIDs - '["12345678", "87654321"]' → JSON array string - "PMID:12345678" → with prefix |
| source | string | Citation source (default: "official") - "official": NCBI Citation API (recommended, best quality) - "local": Local formatting (more formats, offline capable) |
readRead corpus records using numeric transport IDs returned by search.| Parameter | Type | Description |
|---|---|---|
| pmids * | array |
read_research_chronicleRead stored Research Chronicles: load, list, diff, narrate, analyze, compare.| Parameter | Type | Description |
|---|---|---|
| request * | any |
read_sessionRead session data through one schema-exact discriminated request.| Parameter | Type | Description |
|---|---|---|
| request * | any |
register_fulltextRegister article fulltext obtained by the host agent or the user.| Parameter | Type | Description |
|---|---|---|
| content | any | Article text (up to 1,000,000 characters). Exactly one of content or file_path. |
| content_format | string | Format of content: markdown (default, e.g. WebFetch output), text, jats (XML) or html. |
| file_path | any | Local .pdf, .txt, .md, .html or .xml file inside the workspace, notes directory, the tenant fulltext intake folder (<data>/fulltext/intake) or PUBMED_FULLTEXT_INTAKE_ROOTS. Relative paths resolve against the workspace; network shares, device paths and '..' are refused. Not available to remote authenticated callers. |
| output_format | string | "markdown" (default), "json" or "toon". |
| provenance * | any | Required. {"retrieval_method": "host_fetch" | "host_browser" | "user_upload" | "zotero_attachment" | "asset_aware_ingest" | "manual_entry" | "other", "retrieved_at": ISO-8601, "source_url": "https://...", "license": optional verbatim license text, "note": optional}. A source_url or a file is required. |
| source * | any | Article identifier, e.g. {"kind":"pmid","value":"30721296"}. |
| supplied_by | string | "agent" (default) or "user" (the user provided the copy). |
| title | any | Optional article title when the content has none. |
research_workspaceCreate, record, list or resume a research workspace across sessions.| Parameter | Type | Description |
|---|---|---|
| request * | any |
save_literature_notesSave searched articles as guided local wiki/Foam/Markdown notes.| Parameter | Type | Description |
|---|---|---|
| collection_name | any | Optional title/file stem for the index note. |
| create_index | boolean | Create a collection index note linking saved articles. |
| include_abstract | boolean | Include abstracts in article notes. |
| include_csl_json | boolean | Write references.csl.json beside notes for citation-manager handoff. |
| note_format | any | "wiki" (default, Foam-compatible), "foam", "markdown", or "medpaper". |
| output_dir | any | Optional target folder for notes. |
| overwrite | boolean | Overwrite existing per-article notes when filenames collide. |
| pmids | any | Articles to save. Accepts "last", delimited PMID text, a string array, or a JSON array string. |
| template_file | any | Optional Markdown template with placeholders like {title}, {pmid}, {citation_key}. |
save_pipelineSave a pipeline configuration for later reuse.| Parameter | Type | Description |
|---|---|---|
| config * | any | Pipeline YAML/JSON string. Same format as unified_search pipeline param. |
| description | string | Human-readable description of the pipeline's purpose. |
| name * | any | Unique identifier (alphanumeric + hyphens/underscores, max 64 chars). Overwrites if name already exists (upsert semantics). |
| scope | any | Storage scope - "workspace" (project-level <workspace>/.pubmed-search/; a newly created directory gets a .gitignore that ignores everything), "global" (user-level, cross-project), or "auto" (workspace if available, otherwise global). Default: "auto". |
| tags | any | Bounded array of canonical tags (e.g., ["anesthesia", "sedation"]). |
schedule_pipelineSchedule a saved pipeline for periodic execution.| Parameter | Type | Description |
|---|---|---|
| cron * | any | Required 5-field cron expression. Example: "0 9 * * 1" (Mon 9am). |
| diff_mode | boolean | When True, store diff-mode preference with the schedule. |
| name * | any | Saved pipeline name. |
| notify | boolean | When True, store notify preference with the schedule. |
searchSearch title/abstract text with plain lexical terms. Supports iterative queries.| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| query * | string |
search_biomedical_images🖼️ Search biomedical images from NLM Open-i.| Parameter | Type | Description |
|---|---|---|
| article_type | any | 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) |
| collection | any | 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) |
| hmp_type | any | History of Medicine publication type. Requires collection="hmd". |
| image_type | any | 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) |
| license_type | any | 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) |
| limit | any | Maximum number of images to return (default 10, max 50) |
| query * | any | Search query (e.g., "chest X-ray pneumonia") |
| search_fields | any | 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 |
| sort_by | any | Sort results by (Open-i only): - "r": Relevance (default) - "d": Date (newest first) - "o": Oldest first - "t": Title - "e": Education relevance - "g": Graphics priority |
| specialty | any | 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) |
| subset | any | Filter by subject subset (Open-i only): - "b": Behavioral Sciences - "c": Cancer - "e": Ethics - "s": Surgery - "x": Toxicology |
| video_only | boolean | If True, only return video content (default False) |
search_clinvarSearch ClinVar for clinical variants.| Parameter | Type | Description |
|---|---|---|
| limit | any | Maximum results (1-50) |
| query * | any | Gene name, variant, or disease condition |
search_compoundSearch PubChem for chemical compounds.| Parameter | Type | Description |
|---|---|---|
| limit | any | Maximum results (1-50) |
| query * | any | Compound name or description |
search_geneSearch NCBI Gene database for gene information.| Parameter | Type | Description |
|---|---|---|
| limit | any | Maximum results (1-50) |
| organism | any | Filter by organism (e.g., "human", "Homo sapiens", "mouse") |
| query * | any | Gene name, symbol, or function keyword |
test_institutional_accessTest your institutional link resolver configuration.| Parameter | Type | Description |
|---|---|---|
| pmid | any | PMID to use for testing (default: 38353755) |
unified_search🔍 Unified Search - Single entry point for multi-source academic search.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| filters | string | Comma-separated key:value pairs for filtering results. Supported keys: year:2020-2025 → publication year range year:2020- → from 2020 onwards year:-2025 → up to 2025 year:2024 → from 2024 onwards age_group:<value> → age group filter (PubMed). Values: newborn, infant, preschool, child, adolescent, young_adult, adult, middle_aged, aged, aged_80 sex:<value> → sex filter: male, female species:<value> → species filter: humans, animals language:<value> → language filter: english, chinese, etc. clinical_query:<value> → clinical query filter (PubMed EBM). Values: therapy, therapy_narrow, diagnosis, diagnosis_narrow, prognosis, prognosis_narrow, etiology, etiology_narrow, clinical_prediction, clinical_prediction_narrow Tokens, keys, and values use exact canonical spelling with no surrounding whitespace. Example: "year:2020-2025,age_group:aged,sex:female,clinical_query:therapy" |
| fulltext | string | "off" (default) or "prefetch" for normal searches. Prefetch prepares open-access XML for up to three top-ranked articles with known PMCIDs in the background. Search does not wait. Later get_fulltext calls reuse ready or in-flight XML; no polling is needed. No speculative PDF, browser or institutional access. Not supported with pipeline; use "off" for pipeline calls. |
| limit | integer | Maximum results per source (default 10, max 100) |
| options | string | Comma-separated flags to toggle behaviors. Supported flags: preprints → also search arXiv, medRxiv, bioRxiv include_detected_preprints → retain records identified by the preprint heuristic in otherwise selected sources; this does not establish peer-review status clinical_trials → add a bounded ClinicalTrials.gov adjunct section to Markdown output (explicit opt-in) no_oa → skip Unpaywall OA link enrichment no_analysis → hide query analysis section in output no_scores → hide ranking scores and rank percentiles list → one line per record (PMID, year, title, journal, type, integrity) with lean, compact output; the default when limit > 20, because a large request is a scan summary → agent-sized summary records (abstract snippet); the default up to 20 records full_records → complete JSON/TOON article records instead of the default summary records compact → minimal JSON/TOON previews (no abstract), no analysis/next tools/provenance, shallow search; exclusive with full_records no_next → hide next-tool suggestions in structured output no_provenance → hide section provenance in structured output hybrid → EXPERIMENTAL channel fusion: your query runs on PubMed as written (MeSH/field tags allowed) while a tag-free version runs on Europe PMC full text and OpenAlex. Results are ordered by each provider's own rank and every record lists `found_by`. A pilot benchmark found no recall gain over the default; use it to see which records other indexes add, not for better ranking. Not with native_semantic, systematic or pipeline. all → every PubMed record of the query, not a ranked sample: retrieves the complete set (up to 10,000), saves it as a pipeline and returns the first 100 one-line records plus the call for the next page and the screening queue. PubMed only; year filters only (write other limits in the query, e.g. humans[mh]); not with hybrid, native_semantic, systematic, full_records, compact or pipeline. purpose:counter / purpose:conflict / purpose:consensus / purpose:evolution → run the purpose's PubMed searches (counter: negated results, comments, retraction notices, stopped trials; conflict: primary studies; consensus: reviews, guidelines, trials; evolution: all and syntheses) into the evidence_ledger named in the response, with each search's count. Records are leads to screen there, not judgments. breadth_quota → with hybrid: keep about a quarter of slots for records PubMed did not return (lowers recall of PubMed-indexed trials) no_relax → disable automatic broadening (deep fill tiers and auto-relaxation on 0 results); MeSH correction still runs no_mesh_correction → keep a PubMed MeSH clause that PubMed reports as not found (QuotedPhraseNotFound / PhraseNotFound) instead of re-running the exact tier with a corrected query; the PubMed warning is still shown exclude_seen → omit prior session results by PMID/DOI (not supported with pipeline) native_semantic → use provider-native semantic retrieval; currently OpenAlex, max 50 results systematic → use deterministic bulk/cursor retrieval where supported (for example S2 and OpenAlex) shallow → disable deep search (faster, keyword-only) `native_semantic` and `systematic` are mutually exclusive Option tokens use exact canonical spelling with no surrounding whitespace. and automatically disable multi-strategy query expansion. Tokens use exact canonical spelling without surrounding whitespace or duplicates. Example: "preprints,shallow" or "no_analysis,no_scores" |
| output_format | string | "markdown" (human-readable), "json", or "toon" (programmatic). JSON/TOON articles are summary records by default (about 1-1.5 KB each): pmid/doi/pmc, title, year, journal, first_author + author_count, publication_types, a 400-character abstract_snippet, rank, source and open-access flags. Use options="full_records" for complete records (all authors, full abstract, MeSH, keywords, links). |
| pipeline | string | YAML/JSON string defining a multi-step search pipeline. When provided, other parameters (except output_format) are ignored and the pipeline DAG is executed instead. |
| query | string | Search query (natural language, ICD codes, or structured). Required unless pipeline is provided. |
| ranking | string | Ranking strategy: - "balanced": Default, considers all factors - "impact": Prioritize high-citation papers - "recency": Prioritize recent publications - "quality": Prioritize publication-type heuristics (RCTs, meta-analyses); not a quality assessment |
| sources | string | 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 `SCOPUS_ENABLED=true` and `SCOPUS_API_KEY` are configured, or "web_of_science" when `WEB_OF_SCIENCE_ENABLED=true` and `WEB_OF_SCIENCE_API_KEY` are configured. Default: auto-select based on query complexity. Supports "auto" and "all" with exclusions. Source keys are exact and canonical; legacy hyphenated, spaced, abbreviated, or case-folded aliases are rejected. Examples: "pubmed,openalex", "auto,-semantic_scholar", or "all,-crossref" Global disable env: `PUBMED_SEARCH_DISABLED_SOURCES` Example: `PUBMED_SEARCH_DISABLED_SOURCES=semantic_scholar,core` |
| stop_at | string |
unschedule_pipelineRemove the active schedule for a saved pipeline.| Parameter | Type | Description |
|---|---|---|
| name * | any | Saved pipeline name whose schedule will be removed. |
validate_pico_planValidate agent-provided P/I/C/O and return a runnable PICO pipeline.| Parameter | Type | Description |
|---|---|---|
| c | any | |
| c_query | any | |
| description | any | |
| i | any | |
| i_query | any | |
| limit | any | |
| o | any | |
| o_query | any | |
| p | any | |
| p_query | any | |
| profile | any | |
| question_type | any | |
| sources | any |
verify_reference_listVerify a plain-text reference list against PubMed evidence.| Parameter | Type | Description |
|---|---|---|
| max_references | any | Hard input-entry limit from 1 through 200. Inputs above the selected limit are rejected instead of truncated. |
| reference_text * | any | 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 | any | Optional single-line file label for reporting (up to 255 characters / 512 UTF-8 bytes). |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 9.0K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 238 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- Streamable HTTP and HTTP with SSErun_copilot.py:139, src/pubmed_search/presentation/mcp_server/http_cli.py:62
- Starts other programs
- 1 callsrc/pubmed_search/presentation/mcp_server/server.py:404
- Outbound network calls
- 89 callssrc/pubmed_search/infrastructure/http/safe_outbound.py:48, src/pubmed_search/infrastructure/http/safe_outbound.py:92, src/pubmed_search/infrastructure/http/safe_outbound.py:98
- Writes or deletes files
- 9 callssrc/pubmed_search/application/chronicle/store.py:385, src/pubmed_search/application/chronicle/store.py:402, src/pubmed_search/application/chronicle/store.py:415
- Lockfile
- uv.lock
Pattern matches on the source text of 238 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 9.0K words, fetched a month ago. The original in the repository is authoritative.
Read full README