Price Per TokenPrice Per Token
StatPearls Medical Knowledge Server

StatPearls Medical Knowledge Server

by jpoles1

GitHub 1 8 uses
0

About

StatPearls MCP Server connects AI assistants to peer-reviewed medical knowledge from the StatPearls clinical database on NCBI. It enables searching for diseases and medical conditions and retrieves comprehensive, reliable content formatted in Markdown for seamless AI consumption. Key features of StatPearls MCP Server: - Search for diseases, conditions, and medical topics from StatPearls - Retrieve peer-reviewed clinical summaries and medical information - Auto-convert HTML content to well-formatted Markdown for AI-friendly processing - Integrate trusted medical knowledge directly into AI conversations via the Model Context Protocol - Access self-service executables for Windows, Mac, and Linux with no additional dependencies - Installable via Smithery for automatic setup with Claude Desktop

README

StatPearls MCP Server

[](https://smithery.ai/server/@jpoles1/statpearls-mcp)

A Model Context Protocol (MCP) server that fetches disease information from StatPearls, a trusted source of peer-reviewed medical content.

Give your AI system a relaible source of medical knowledge for its next conversation.

Features

  • Searches for diseases and medical conditions on StatPearls
  • Retrieve comprehensive, reliable medical information from StatPearls
  • Convert HTML content to well-formatted Markdown to make it AI-friendly
  • Integrates with AI models via the Model Context Protocol
  • If you don't already have a Model Context Protocol (MCP) client:

    If you are a casual user, you can use Claude Desktop to get started using MCP servers. It is a free and open-source desktop application that allows you to run MCP servers locally and connect to them.

    If you are a power user/developer, I recommend using VSCode with the RooCode extension which enables you to connect in MCP servers to your development environment for infinite possibilities!

    Installation

    Once you have an MCP-capable AI client, you can run this server locally.

    The easiest way to get up and running is to download the appropriate executable/binary for your OS from the releases page. This will give you a self-contained executable that you can run without any additional setup.

    Place this executable in a directory of your choice. Then simply add the following to your mcp_settings.json file:

    #### For Windows:

    {
      "mcpServers": {
        ...
        "statpearls": {
          "command": "{path_to_executable_here}\\statpearls-mcp.exe"
        },
        ...
      }
    }

    #### For Mac/Linux:

    json { "mcpServers": { ... "statpearls": { "command": "{path_to_executable_here}/statpearls-mcp" }, ... } }
    
    

    Installing via Smithery

    To install statpearls-mcp for Claude Desktop automatically via Smithery:

    bash npx -y @smithery/cli install @jpoles1/statpearls-mcp --client claude
    
    

    For Developers:

    You can also run the server from source. This requires Bun to be installed on your system. 1. Clone the repository 2. Install dependencies (bun install) 3. Compile the server (bun run build) 4. Now you can add the server to your mcp_settings.json file:

    json { "mcpServers": { ... "statpearls": { "command": "node", "args": [ "{path_to_proj_here}/dist/index.js" ] }, ... } }
    
    

    Tool Definition

    The server provides a single tool:

  • statpearls_disease_info: Fetches comprehensive, reliable medical information about diseases from StatPearls.
  • Input Schema

    json { "query": "diabetes", "format_options": { "includeToc": true, "maxLength": 50000 } }
    
    
  • query: Disease or medical condition to search for (required)
  • format_options: Optional formatting preferences
  • - includeToc: Whether to include a table of contents (default: true) - maxLength: Maximum length of the returned content in characters (default: 50000)

    Example Output

    The tool returns formatted Markdown content with:

  • Title and source information
  • Table of contents (optional)
  • Structured sections including etiology, epidemiology, pathophysiology, clinical features, diagnosis, treatment, and prognosis (when available)
  • Development

    Project Structure

    statpearls-mcp/ ├── src/ # Source code │ ├── index.ts # Main entry point and server setup │ ├── test-html-parser.ts # Test utility for HTML parser │ ├── test-statpearls-parser.ts # Test utility for StatPearls parser │ ├── testrun.ts # Test runner utility │ ├── tools/ # Tool definitions and handlers │ │ └── statpearls.ts # StatPearls tool definition and handler │ ├── services/ # Core functionality services │ │ ├── search.ts # Search functionality │ │ ├── content.ts # Content retrieval and processing │ │ └── markdown.ts # HTML to Markdown conversion │ ├── types/ # Type definitions │ │ ├── index.ts # Common type definitions │ │ └── statpearls.ts # StatPearls-specific type definitions │ └── utils/ # Utility functions │ ├── html.ts # HTML parsing utilities │ ├── error.ts # Error handling utilities │ └── statpearls-parser.ts # StatPearls content parsing utilities ├── scripts/

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81