Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PUBMED_EMAIL | Yes | Your email address (required by NCBI) | |
PUBMED_API_KEY | No | Optional API key for higher rate limits |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
precise_pubmed_query | Craft a precise PubMed Boolean query from a natural language information need. |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
search_pubmed | 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. |