mcp-pubmed
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NCBI_API_KEY | No | An optional NCBI API key to increase rate limits from 3 requests per second to 10 requests per second. Can be obtained from NCBI account settings. |
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 |
|---|---|
| search_pubmedA | Search PubMed for articles matching a query. Args: query: Search query. Supports full PubMed syntax: AND / OR / NOT, field tags like [tiab], [MeSH], [au], etc. Examples: "covid-19 vaccine efficacy" "myocardial infarction[MeSH] AND aspirin[tiab]" max_results: Number of articles to return (1-100, default 10). year_from: Restrict results to articles published from this year. year_to: Restrict results to articles published up to this year. article_type: Filter by publication type, e.g. "Review", "Clinical Trial", "Meta-Analysis", "Randomized Controlled Trial". sort: "relevance" (default) or "date" (most recent first). Returns: A formatted list of matching articles with PMID, title, authors, journal, date, and a short abstract snippet. Returns an error message if the query fails or yields no results. |
| get_articleA | Get complete details of a PubMed article by its PMID. Args: pmid: The PubMed ID (numeric string), e.g. "33982811". Returns: Full article metadata: title, all authors, journal, date, DOI, PMC link, publication types, full abstract, keywords, MeSH terms. Returns an error message if the PMID is invalid or not found. |
| get_full_textA | Retrieve the full text of an article from PubMed Central (PMC) if available. Only open-access articles archived in PMC have a full text. Subscription-only articles will return a link to PubMed instead. Args: pmid: The PubMed ID of the article. Returns: The full text (title, abstract, and body sections) when the article is open-access in PMC, or a helpful message with links otherwise. |
| get_related_articlesA | Find PubMed articles related to a given article. Uses NCBI's "similar articles" algorithm (co-citation and text similarity). Args: pmid: The PubMed ID of the reference article. max_results: Number of related articles to return (1-50, default 10). Returns: A ranked list of related articles with brief metadata. Returns an error message if the PMID is invalid or not found. |
| search_by_authorA | Search PubMed for all articles by a specific author. Args: author: Author name in PubMed format. Examples: "Smith JA" (last name + initials — most precise) "Smith J" (last name + first initial) "John Smith" (full name, less reliable) max_results: Number of results to return (1-100, default 10). year_from: Restrict to articles published from this year. year_to: Restrict to articles published up to this year. Returns: A list of articles by the author, sorted by most recent first. Returns an error message if the author name is empty or the query fails. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/benoitleq/mcp-pubmed'
If you have feedback or need assistance with the MCP directory API, please join our Discord server