samlevy3/mcp-server-demo
3.2
If you are the rightful owner of mcp-server-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An intelligent PubMed Central search interface using the Model Context Protocol (MCP) for natural language interaction with PubMed's database.
Tools
2
Resources
0
Prompts
0
Interactive PubMed Central MCP Server
An intelligent PubMed Central search interface that uses the Model Context Protocol (MCP) to provide natural language interaction with PubMed's database. This server integrates with Claude Desktop and other MCP-compatible clients.
Features
- Natural language query processing
- Intelligent search refinement
- Full-text article retrieval
- Article similarity search
- Search history tracking
- Abstract and summary generation
- PMC full-text access
Installation
- Clone the repository:
git clone <repository-url>
cd usdc
- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On macOS/Linux
- Install the package:
pip install -e .
Usage with Claude Desktop
- Add the server configuration to Claude Desktop:
{
"mcpServers": {
"pubmed-search": {
"command": "/path/to/venv/bin/interactive_pmc_server",
"args": [],
"env": {}
}
}
}
- Start Claude Desktop and access the PubMed search capabilities through natural language queries:
- "Search for recent COVID-19 vaccine efficacy studies"
- "Find systematic reviews about machine learning in healthcare"
- "Get the full text of PMC7745631"
Available Tools
PubMed Search Tools
interactive_pmc_server
: Main PubMed search interface with natural language processing- Start new searches
- Refine existing searches
- Get article abstracts
- Access full-text articles
- View search history
Simple Math Tools
simple_server
: Basic mathematical operations (for testing/development)- Add numbers
- More operations coming soon
Development
-
Requirements:
- Python 3.8 or higher
mcp[cli]
package
-
Set up the development environment:
python -m venv venv
source venv/bin/activate # On macOS/Linux
pip install -e .
- Run the servers:
# Run PubMed search server
interactive_pmc_server
# Run simple math server
simple_server
Project Structure
usdc/
āāā src/
ā āāā interactive_pmc_server/
ā ā āāā interactive_pmc.py
ā āāā simple_server/
ā āāā math_server.py
āāā pyproject.toml
āāā README.md
āāā .gitignore
License
[Your chosen license]
Contributing
[Contribution guidelines]