Skip to main content

An MCP server that provides access to PubMed articles through Entrez API.

Project description

MCP Simple PubMed

An MCP server that provides access to PubMed articles through the Entrez API.

Features

  • Search PubMed database using keywords
  • Access article abstracts
  • Download full text when available (for open access articles)
  • Rate limiting compliance with NCBI guidelines

Installation

pip install mcp-simple-pubmed

Configuration

The server requires the following environment variables:

  • PUBMED_EMAIL: Your email address (required by NCBI)
  • PUBMED_TOOL: Tool identifier (defaults to 'mcp-simple-pubmed')
  • PUBMED_API_KEY: Optional API key for higher rate limits

Usage with Claude Desktop

Add to your Claude Desktop configuration (claude_desktop_config.json):

{
  "mcpServers": {
    "pubmed": {
      "command": "mcp-simple-pubmed",
      "env": {
        "PUBMED_EMAIL": "your-email@example.com",
        "PUBMED_API_KEY": "your-api-key"  // optional
      }
    }
  }
}

Development

To develop or modify this server:

  1. Clone the repository
  2. Install dependencies: pip install -e .
  3. Run the server: python -m mcp_simple_pubmed

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_simple_pubmed-0.1.2.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_simple_pubmed-0.1.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file mcp_simple_pubmed-0.1.2.tar.gz.

File metadata

  • Download URL: mcp_simple_pubmed-0.1.2.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.3

File hashes

Hashes for mcp_simple_pubmed-0.1.2.tar.gz
Algorithm Hash digest
SHA256 074858cb948da854865e941e7d5c4fabd85ad3721b3c4445ed7fde3c95f03f72
MD5 3f74dc698897c5022329a812e861819d
BLAKE2b-256 c0ccf22fc72c2b4a66bedf3825a9950a9ccd181c76418672287ba3e36407ac47

See more details on using hashes here.

File details

Details for the file mcp_simple_pubmed-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_simple_pubmed-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 38409d6e8e320be1f80e41a471360b3b7c8a46e181fb98f6824e6db17ee9906b
MD5 f490b892ed3e9d7c255d6432e8445690
BLAKE2b-256 5da32451434a4606981d8b9d59e30389a2e2e49c6dff894b18dfb6fda036138c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page