JM

jackkuo666/medrxiv-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 9 forks 质量 60 趋势 18

🔍 Enable AI assistants to search and access medRxiv papers through a simple MCP interface.

概览

🔍 Enable AI assistants to search and access medRxiv papers through a simple MCP interface. The medRxiv MCP Server provides a bridge between AI assistants and medRxiv's preprint repository through the Model Context Protocol (MCP). It allows AI models to search for health sciences preprints and access their content in a programmatic way. - 🔎 Paper Search: Query medRxiv papers with custom search strings or advanced search parameters ✅ - 🚀 Efficient Retrieval: Fast access to paper metadata ✅ - 📊 Metadata Access: Retrieve detailed metadata for specific papers using DOI ✅ - 📊 Research Support: Facilitate health sciences research and analysis ✅ - 📄 Paper Access: Download and read paper content 📝 - 📋 Paper Listing: View all downloaded papers 📝 - 🗃️ Local Storage: Papers are saved locally for faster access 📝 - 📝 Research Prompts: A set of specialized prompts for paper analysis 📝 To install medRxiv Server for Claude Desktop automatically via Smithery: Paste the following into...

README

以下为原文 README 节选,完整内容请查看原文。

medRxiv MCP Server

🔍 Enable AI assistants to search and access medRxiv papers through a simple MCP interface.

The medRxiv MCP Server provides a bridge between AI assistants and medRxiv’s preprint repository through the Model Context Protocol (MCP). It allows AI models to search for health sciences preprints and access their content in a programmatic way.

🤝 Contribute • 📝 Report Bug

✨ Core Features

  • 🔎 Paper Search: Query medRxiv papers with custom search strings or advanced search parameters ✅
  • 🚀 Efficient Retrieval: Fast access to paper metadata ✅
  • 📊 Metadata Access: Retrieve detailed metadata for specific papers using DOI ✅
  • 📊 Research Support: Facilitate health sciences research and analysis ✅
  • 📄 Paper Access: Download and read paper content 📝
  • 📋 Paper Listing: View all downloaded papers 📝
  • 🗃️ Local Storage: Papers are saved locally for faster access 📝
  • 📝 Research Prompts: A set of specialized prompts for paper analysis 📝

🚀 Quick Start

Installing via Smithery

To install medRxiv Server for Claude Desktop automatically via Smithery:

claude

npx -y @smithery/cli@latest install @JackKuo666/medrxiv-mcp-server --client claude --config "{}"

Cursor

Paste the following into Settings → Cursor Settings → MCP → Add new server:

  • Mac/Linux
npx -y @smithery/cli@latest run @JackKuo666/medrxiv-mcp-server --client cursor --config "{}" 

Windsurf

npx -y @smithery/cli@latest install @JackKuo666/medrxiv-mcp-server --client windsurf --config "{}"

CLine

npx -y @smithery/cli@latest install @JackKuo666/medrxiv-mcp-server --client cline --config "{}"

Installing Manually

Install using uv:

uv tool install medRxiv-mcp-server

For development:

# Clone and set up development environment
git clone https://github.com/JackKuo666/medRxiv-MCP-Server.git
cd medRxiv-MCP-Server

# Create and activate virtual environment
uv venv
source .venv/bin/activate
uv pip install -r requirements.txt

📊 Usage

Start the MCP server:

python medrxiv_server.py

Once the server is running, you can use the provided MCP tools in your AI assistant or application. Here are some examples of how to use the tools:

Example 1: Search for papers using keywords

result = await mcp.use_tool("search_medrxiv_key_words", {
    "key_words": "COVID-19 vaccine efficacy",
    "num_results": 5
})
print(result)
result = await mcp.use_tool("search_medrxiv_advanced", {
    "term": "COVID-19",
    "author1": "MacLachlan",
    "start_date": "2020-01-01",
    "end_date": "2023-12-31",
    "num_results": 3
})
print(result)

Example 3: Get metadata for a specific paper

在 GitHub 查看完整 README

安装

npx -y @smithery/cli@latest install @JackKuo666/medrxiv-mcp-server --client claude --config "{}"
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "medrxiv": { "command": "python", "args": ["-m", "medrxiv-mcp-server"] } } }