Built by Metorial, the integration platform for agentic AI.

Learn More

leescot/pubmed-mcp-smithery

PubMed Enhanced Search Server

Tools

Search Pubmed

Search the PubMed database using specified keywords and optional journal name. This function allows users to search the PubMed database by providing keywords and an optional journal name. It returns a specified number of results in a formatted dictionary. Parameters: - keywords (List[str]): Keywords to search for in PubMed without field restrictions. - journal (Optional[str]): Journal name to limit the search to a specific journal. - num_results (int): Maximum number of results to return. Default is 10. - sort_by (str): Sort order for results. Options: "relevance" (default), "date_desc" (newest first), "date_asc" (oldest first). Returns: - Dict[str, Any]: A dictionary containing the success status, a list of results with PubMed IDs, links, abstracts, and the total number of results found.

search_pubmed

Get Mesh Terms

Get MeSH (Medical Subject Headings) terms related to a search word. This function queries the PubMed MeSH database to find relevant medical terminology that matches the provided search term. Useful for finding standardized medical terms. Parameters: - search_word (str): The word or phrase to search for in the MeSH database. Returns: - Dict[str, Any]: A dictionary containing success status and a list of MeSH terms.

get_mesh_terms

Get Pubmed Count

Get the number of PubMed results for multiple search terms. This function queries PubMed and returns the count of results for each provided search term. Useful for comparing the prevalence of different medical terms or concepts in the literature. Parameters: - search_terms (List[str]): List of search terms to query in PubMed. Returns: - Dict[str, Any]: A dictionary containing success status and counts for each search term.

get_pubmed_count

Format Paper Details

Fetch and format details of multiple PubMed articles. This function retrieves details for a list of PubMed IDs and formats them into a list of dictionaries containing article information. Parameters: - pubmed_ids (List[str]): A list of PubMed IDs to fetch details for. Returns: - List[Dict[str, Any]]: A list of dictionaries, each containing details of a PubMed article.

format_paper_details

Pico Search

Perform PICO (Population, Intervention, Comparison, Outcome) based PubMed search with synonyms. This function takes lists of terms for each PICO element, combines them with OR within each element, and then performs various AND combinations between elements. Returns search queries and result counts. Parameters: - p_terms (List[str]): Population terms/synonyms (at least 2 recommended) - i_terms (List[str]): Intervention terms/synonyms (at least 2 recommended) - c_terms (List[str]): Comparison terms/synonyms (optional, at least 2 recommended if provided) - o_terms (List[str]): Outcome terms/synonyms (optional, at least 2 recommended if provided) Returns: - Dict[str, Any]: A dictionary containing individual element searches and combination searches with queries and result counts

pico_search