Connector guide8-minute read15 MCP tools7 languages

Connect PubMed to Microsoft Copilot via MCP

Biomedical literature from PubMed through the NCBI E-utilities, no key needed: search 40 million citations with PubMed query syntax, read summaries, abstracts and MeSH terms, follow similar and citing articles, find full-text links, convert PMID, PMCID and DOI, and read open-access full text from PubMed Central.

HCBy HelpCode teamUpdated 8 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

PubMed

PubMed

Biomedical literature from PubMed through the NCBI E-utilities, no key needed: search 40 million citations with PubMed query syntax, read summaries, abstracts and MeSH terms, follow similar and citing articles, find full-text links, convert PMID, PMCID and DOI, and read open-access full text from PubMed Central.

tools

15

Region

INTL

Category

Public Data

Authentication

Public API

Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Biomedical literature from PubMed through the NCBI E-utilities, no key needed: search 40 million citations with PubMed query syntax, read summaries, abstracts and MeSH terms, follow similar and citing articles, find full-text links, convert PMID, PMCID and DOI, and read open-access full text from PubMed Central.

Guided setup

Connect PubMed to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect PubMed in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for PubMed

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

PubMed · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → PubMed, install it, mint an MCP API key and you're done. No Docker, no git clone, no local server.

PubMed + Microsoft Copilot

Biomedical literature from PubMed through the NCBI E-utilities, no key needed: search 40 million citations with PubMed query syntax, read summaries, abstracts and MeSH terms, follow similar and citing articles, find full-text links, convert PMID, PMCID and DOI, and read open-access full text from PubMed Central.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

None. This connector needs no account, API key or sign-in.

Step 1 — Get credentials

Setup: nothing is required; it works without a key at up to 3 requests per second. For 10 requests per second, sign in at https://account.ncbi.nlm.nih.gov, open Account settings, create a key under API Key Management and set it as NCBI_API_KEY. The key is sent to the E-utilities only, as the api_key query parameter. Every call names the tool AnythingMCP to NCBI, as its usage policy asks.

Where to start

  1. pubmed_search turns a query into PMIDs (ids only) and shows in querytranslation how PubMed read it.
  2. pubmed_get_summaries gives titles, authors, journal and DOI for those ids; pubmed_fetch_abstracts gives the abstracts as text.
  3. Go deeper per article: pubmed_fetch_article_details (MeSH headings, affiliations, grants, references), pubmed_list_similar_articles, pubmed_list_citing_articles, pubmed_list_references, pubmed_get_full_text_links.
  4. Full text: pubmed_convert_ids tells whether an article is in PubMed Central (it then has a PMCID); pubmed_get_pmc_full_text returns the text for open-access articles.

Other tools: pubmed_check_spelling (did you mean), pubmed_match_citations (citation to PMID), pubmed_get_links (links to other databases such as gene or pmc), pubmed_list_databases and pubmed_get_database_info (field tags and link names). pubmed_search and pubmed_get_summaries take a db argument, so the same two steps work for mesh, pmc, nlmcatalog, gene and the rest.

Query syntax: words are combined with AND and expanded to MeSH terms and spelling variants (automatic term mapping). Field tags go in square brackets after a term: [ti] title, [tiab] title or abstract, [au] author, [ta] journal, [dp] publication date, [pt] publication type, [mh] MeSH heading, [la] language. Boolean operators must be upper case. A date range is written 2020:2024[dp] or passed as mindate and maxdate. Filters are ordinary terms, e.g. free full text[sb], humans[mh], review[pt].

Reading the answers

  • Ids are strings. A PMID identifies a PubMed citation; a PMCID (PMC plus digits) identifies a full-text article in PubMed Central; they are different numbers.
  • pubmed_search returns at most retmax ids per call (default 20) and pages with retstart up to the 10,000th hit; narrow the query for more.
  • pubmed_get_summaries puts each record under result keyed by its id, with the order in result.uids. pubdate is free text such as 2024 May or 2013 Jan 15.
  • A failed search answers HTTP 200 with esearchresult.ERROR; an empty result has count 0 and a warning list.
  • The link tools return linksets; when an article has no such links the linksetdbs key is simply missing.

Limits and policy: 3 requests per second without a key, 10 with one; exceeding it answers 429. Large jobs belong on weekends or between 9 pm and 5 am US Eastern time. Abstracts are copyrighted by their publishers: quote and cite them, do not republish in bulk. NCBI's disclaimer and copyright notice apply to all data.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Microsoft Copilot

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.

  1. In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
  2. Enter a Server name (for example AnythingMCP), a Server description that says what the connector does, and the Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server.
  3. Under authentication, choose API key, set Type to Header and the header name to X-API-Key, then select Create.
  4. In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
  5. Try it in the agent's Test pane: ask for something that needs the PubMed tools.
  6. Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.

Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.

Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.

Available tools

ToolWhat it does
pubmed_searchSearch PubMed (or another Entrez database) and get the matching record ids. Returns esearchresult with count (total hits), idlist (the ids…
pubmed_get_summariesGet the document summaries of PubMed records: per id title, authors, source (journal abbreviation), fulljournalname, pubdate, epubdate…
pubmed_fetch_abstractsFetch PubMed records as plain text, ready to read: citation line, title, authors with affiliations, the full abstract, DOI, PMID and PMCID.…
pubmed_fetch_article_detailsFetch the complete PubMed record of one or a few articles as structured data (parsed from PubMed XML): PubmedArticleSet.PubmedArticle with…
pubmed_list_similar_articlesList the articles PubMed computes as most similar to an article (the Similar articles list), best first with a similarity score. Returns…
pubmed_list_citing_articlesList the PubMed articles that cite an article (Cited by), as far as the citing articles are in PubMed Central or supply reference lists.…
pubmed_list_referencesList the PubMed articles in the reference list of an article, when the publisher or PubMed Central supplied it. Returns…
pubmed_get_full_text_linksGet the links to the full text of an article: publisher site, PubMed Central and other providers, each with url, provider name, categories…
pubmed_get_linksGeneric Entrez link lookup between databases, for links the dedicated tools do not cover: e.g. from PubMed to pmc (the PMC id of the free…
pubmed_check_spellingGet PubMed's spelling suggestion for a query, the "Did you mean" line. Returns eSpellResult with Query and CorrectedQuery (empty when…
pubmed_match_citationsFind the PMID of a known citation from its journal, year, volume, first page and author (batch citation matcher). Returns plain text: each…
pubmed_list_databasesList the Entrez databases the E-utilities serve (pubmed, pmc, mesh, gene, protein, clinvar and about 30 more). Returns einforesult.dblist
pubmed_get_database_infoDescribe one Entrez database: record count, last update, the searchable fields with their tags (fieldlist: name, fullname, description) and…
pubmed_convert_idsConvert between PMID, PMCID and DOI for articles that are in PubMed Central (PMC ID Converter). Returns records with pmid, pmcid and doi…
pubmed_get_pmc_full_textGet the full text of an open-access article from PubMed Central as JSON (BioC format): a list with one collection whose…

Example prompts

  • "Find randomized controlled trials on GLP-1 agonists and kidney outcomes published 2022 to 2025."
  • "Give me the abstracts of the five newest reviews on long COVID fatigue."
  • "Which MeSH headings and grants does PMID 38012345 have?"
  • "List articles that cite PMID 33301246 and articles similar to it."
  • "Is this article open access in PubMed Central? Get the full text if it is."

FAQ

Do I need an account or an API key? No. The connector reads the public NCBI E-utilities of the US National Library of Medicine at up to 3 requests per second without a key. For 10 requests per second, create a free key in your NCBI account under API Key Management and set it as NCBI_API_KEY.

What does it cover? PubMed search with field tags, MeSH and date ranges, summaries, abstracts and full records with MeSH headings, affiliations, grants and references, similar and citing articles, full-text links, citation matching, PMID, PMCID and DOI conversion and open-access full text from PubMed Central. The other Entrez databases such as mesh, pmc and gene work with the same search and summary tools.

Is it read-only, and can I reuse the abstracts? Yes, every tool only reads and nothing installs switched off. Abstracts are copyrighted by their publishers: quote and cite them, do not republish them in bulk. Large jobs belong on weekends or at night US Eastern time, as NCBI asks.

Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.

What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.

The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.

Next steps

Was this guide helpful?

Connect PubMed to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect PubMed in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

Related guides

Connectors

Connect PubMed to ChatGPT via MCP: Citations

Biomedical literature from PubMed through the NCBI E-utilities, no key needed: search 40 million citations with PubMed query syntax, read summaries, abstracts and MeSH terms, follow similar and citing articles, find full-text links, convert PMID, PMCID and DOI, and read open-access full text from PubMed Central.

Connectors

Connect PubMed to Claude via MCP: Literature Search

Biomedical literature from PubMed through the NCBI E-utilities, no key needed: search 40 million citations with PubMed query syntax, read summaries, abstracts and MeSH terms, follow similar and citing articles, find full-text links, convert PMID, PMCID and DOI, and read open-access full text from PubMed Central.

Connectors

Connect PubMed to Cursor via MCP: Article Search

Biomedical literature from PubMed through the NCBI E-utilities, no key needed: search 40 million citations with PubMed query syntax, read summaries, abstracts and MeSH terms, follow similar and citing articles, find full-text links, convert PMID, PMCID and DOI, and read open-access full text from PubMed Central.

Connectors

Connect PubMed to Gemini CLI via MCP: Citations

Biomedical literature from PubMed through the NCBI E-utilities, no key needed: search 40 million citations with PubMed query syntax, read summaries, abstracts and MeSH terms, follow similar and citing articles, find full-text links, convert PMID, PMCID and DOI, and read open-access full text from PubMed Central.

Connectors

Connect PubMed to Meta Muse via MCP: Abstracts

Biomedical literature from PubMed through the NCBI E-utilities, no key needed: search 40 million citations with PubMed query syntax, read summaries, abstracts and MeSH terms, follow similar and citing articles, find full-text links, convert PMID, PMCID and DOI, and read open-access full text from PubMed Central.

Connectors

PubMed MCP Server: Citations, Abstracts and Full Text

Biomedical literature from PubMed through the NCBI E-utilities, no key needed: search 40 million citations with PubMed query syntax, read summaries, abstracts and MeSH terms, follow similar and citing articles, find full-text links, convert PMID, PMCID and DOI, and read open-access full text from PubMed Central.