A MCP server for searching and downloading academic papers from multiple sources.
Project description
Paper Search MCP
A Model Context Protocol (MCP) server for searching and downloading academic papers from multiple sources, including arXiv, PubMed, bioRxiv, and Sci-Hub (optional). Designed for seamless integration with large language models like Claude Desktop.
Table of Contents
Overview
paper-search-mcp is a Python-based MCP server that enables users to search and download academic papers from various platforms. It provides tools for searching papers (e.g., search_arxiv) and downloading PDFs (e.g., download_arxiv), making it ideal for researchers and AI-driven workflows. Built with the MCP Python SDK, it integrates seamlessly with LLM clients like Claude Desktop.
Features
- Multi-Source Support: Search and download papers from arXiv, PubMed, bioRxiv, and Sci-Hub (optional).
- Standardized Output: Papers are returned in a consistent dictionary format via the
Paperclass. - Asynchronous Tools: Efficiently handles network requests using
httpx. - MCP Integration: Compatible with MCP clients for LLM context enhancement.
- Extensible Design: Easily add new academic platforms by extending the
academic_platformsmodule.
Installation
paper-search-mcp can be installed using uv or pip. Below are two approaches: a quick start for immediate use and a detailed setup for development.
Installing via Smithery
To install paper-search-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @openags/paper-search-mcp --client claude
Quick Start
For users who want to quickly run the server:
-
Install Package:
uv add paper-search-mcp
-
Configure Claude Desktop: Add this configuration to
~/Library/Application Support/Claude/claude_desktop_config.json(Mac) or%APPDATA%\Claude\claude_desktop_config.json(Windows):{ "mcpServers": { "paper_search_server": { "command": "uv", "args": [ "run", "--directory", "/path/to/your/paper-search-mcp", "-m", "paper_search_mcp.server" ] } } }
Note: Replace
/path/to/your/paper-search-mcpwith your actual installation path.
For Development
For developers who want to modify the code or contribute:
-
Setup Environment:
# Install uv if not installed curl -LsSf https://astral.sh/uv/install.sh | sh # Clone repository git clone https://github.com/openags/paper-search-mcp.git cd paper-search-mcp # Create and activate virtual environment uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install Dependencies:
# Install project in editable mode uv add -e . # Add development dependencies (optional) uv add pytest flake8
Contributing
We welcome contributions! Here's how to get started:
-
Fork the Repository: Click "Fork" on GitHub.
-
Clone and Set Up:
git clone https://github.com/yourusername/paper-search-mcp.git cd paper-search-mcp pip install -e ".[dev]" # Install dev dependencies (if added to pyproject.toml)
-
Make Changes:
- Add new platforms in
academic_platforms/. - Update tests in
tests/.
- Add new platforms in
-
Submit a Pull Request: Push changes and create a PR on GitHub.
Demo
TODO
Planned Academic Platforms
- [√] arXiv
- [√] PubMed
- [√] bioRxiv
- [√] medRxiv
- [√] Google Scholar
- Semantic Scholar
- PubMed Central (PMC)
- Science Direct
- Springer Link
- IEEE Xplore
- ACM Digital Library
- Web of Science
- Scopus
- JSTOR
- ResearchGate
- CORE
- Microsoft Academic
License
This project is licensed under the MIT License. See the LICENSE file for details.
Happy researching with paper-search-mcp! If you encounter issues, open a GitHub issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file paper_search_mcp-0.1.3.tar.gz.
File metadata
- Download URL: paper_search_mcp-0.1.3.tar.gz
- Upload date:
- Size: 225.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdd276c64f732270497b36326db8aad0d209b95a750cd88baac86ecd2b20f3b3
|
|
| MD5 |
591ef67f7ff2cd619053fb757708fe7a
|
|
| BLAKE2b-256 |
108803c729876e1b3cb11e560382c7911cc6021f9294c5b4621674706d4cd510
|
Provenance
The following attestation bundles were made for paper_search_mcp-0.1.3.tar.gz:
Publisher:
publish.yml on openags/paper-search-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
paper_search_mcp-0.1.3.tar.gz -
Subject digest:
fdd276c64f732270497b36326db8aad0d209b95a750cd88baac86ecd2b20f3b3 - Sigstore transparency entry: 204241858
- Sigstore integration time:
-
Permalink:
openags/paper-search-mcp@1187e068c532d83d117aafaaa0091ed479419cc2 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/openags
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1187e068c532d83d117aafaaa0091ed479419cc2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file paper_search_mcp-0.1.3-py3-none-any.whl.
File metadata
- Download URL: paper_search_mcp-0.1.3-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
139c1d8c1d12d469b28892302fb8547983ecf8bd79fab3919fe04725728abaf8
|
|
| MD5 |
9f014ff05c635c9626bc56f58042728a
|
|
| BLAKE2b-256 |
2a0fe8475a94b0fad2bf8450c5cd50023acf7f73ec2440dfe02b69b49cc1a862
|
Provenance
The following attestation bundles were made for paper_search_mcp-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on openags/paper-search-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
paper_search_mcp-0.1.3-py3-none-any.whl -
Subject digest:
139c1d8c1d12d469b28892302fb8547983ecf8bd79fab3919fe04725728abaf8 - Sigstore transparency entry: 204241860
- Sigstore integration time:
-
Permalink:
openags/paper-search-mcp@1187e068c532d83d117aafaaa0091ed479419cc2 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/openags
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1187e068c532d83d117aafaaa0091ed479419cc2 -
Trigger Event:
push
-
Statement type: