Skip to main content
Glama

PubMed MCP Server

by emi-dm

search_pubmed

Search PubMed to find scientific articles using customizable filters for titles, abstracts, and keywords. Retrieve publication details including authors, journals, and abstracts with support for Boolean search operators.

Instructions

Search PubMed and return a list of article JSON objects.

Parameters: query: Free-text user query; boolean operators (AND/OR/NOT) supported by PubMed. max_results: Maximum number of records to retrieve (retmax). title: If True, include Title field in search restriction (ti / tiab). abstract: If True, include Abstract field in search restriction (ab / tiab). keywords: If True, expand search to Author Keywords (ot) and MeSH Headings (mh).

Field logic: - title and abstract both True => core search uses [tiab] - only title True => uses [ti] - only abstract True => uses [ab] - neither title nor abstract True => no restriction (all fields) - keywords True => additionally OR with [ot] and [mh] versions of the query

Returns: List[dict]: Each dict contains pmid, title, authors, abstract, journal, publication_year, publication_month, url.

Input Schema

NameRequiredDescriptionDefault
abstractNo
keywordsNo
max_resultsNo
queryYes
titleNo

Input Schema (JSON Schema)

{ "properties": { "abstract": { "default": true, "title": "Abstract", "type": "boolean" }, "keywords": { "default": true, "title": "Keywords", "type": "boolean" }, "max_results": { "default": 10, "title": "Max Results", "type": "integer" }, "query": { "title": "Query", "type": "string" }, "title": { "default": true, "title": "Title", "type": "boolean" } }, "required": [ "query" ], "type": "object" }

Other Tools from PubMed MCP Server

Related Tools

    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/emi-dm/PubMed-MCP'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server