PaperMCP

PaperMCP

Enables searching and accessing academic papers from 23+ sources (including arXiv, PubMed, Google Scholar) through the Model Context Protocol, with unified tools for search, download, and text extraction.

Category
访问服务器

README

PaperMCP

<div align="center">

npm version License TypeScript MCP

Search and access academic papers from 23+ sources through Model Context Protocol

English | 简体中文

</div>


❌ Without PaperMCP

  • Manually visiting multiple academic databases
  • Copy-pasting DOIs and paper IDs between tools
  • Switching contexts to download PDFs
  • No unified interface for paper search

✅ With PaperMCP

  • Single interface for 23+ academic sources
  • Direct access from Claude and other AI assistants
  • Automatic PDF download and text extraction
  • Plugin system for sensitive sources

🛠️ Installation

<details> <summary><b>Install in Claude Desktop</b></summary>

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

Using npx (Recommended)

{
  "mcpServers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"]
    }
  }
}

Using npm global install

npm install -g @telagod/papermcp
{
  "mcpServers": {
    "papermcp": {
      "command": "papermcp"
    }
  }
}

With API keys

{
  "mcpServers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"],
      "env": {
        "SEMANTIC_SCHOLAR_API_KEY": "YOUR_KEY",
        "WOS_API_KEY": "YOUR_KEY",
        "SCOPUS_API_KEY": "YOUR_KEY"
      }
    }
  }
}

</details>

<details> <summary><b>Install in Cline</b></summary>

Add to Cline MCP settings:

{
  "mcpServers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"]
    }
  }
}

</details>

<details> <summary><b>Install in Zed</b></summary>

Add to ~/.config/zed/settings.json:

{
  "context_servers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"]
    }
  }
}

</details>

<details> <summary><b>Install in Continue</b></summary>

Add to Continue config:

{
  "mcpServers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"]
    }
  }
}

</details>

<details> <summary><b>Install in Sourcegraph Cody</b></summary>

Add to Cody settings:

{
  "cody.experimental.mcp": {
    "servers": {
      "papermcp": {
        "command": "npx",
        "args": ["-y", "@telagod/papermcp"]
      }
    }
  }
}

</details>

<details> <summary><b>Install in Cursor</b></summary>

Add to Cursor MCP settings:

{
  "mcpServers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"]
    }
  }
}

</details>

<details> <summary><b>Install in Windsurf</b></summary>

Add to Windsurf config:

{
  "mcpServers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"]
    }
  }
}

</details>

<details> <summary><b>Install in Roo Cline</b></summary>

Add to Roo Cline settings:

{
  "mcpServers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"]
    }
  }
}

</details>

<details> <summary><b>Install in OpenHands</b></summary>

Add to OpenHands config:

{
  "mcpServers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"]
    }
  }
}

</details>

<details> <summary><b>Install in Void</b></summary>

Add to Void settings:

{
  "mcpServers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"]
    }
  }
}

</details>

<details> <summary><b>Install in Claude Code</b></summary>

Use the claude mcp add command:

claude mcp add papermcp -- npx -y @telagod/papermcp

Or manually add to ~/.claude.json:

{
  "projects": {
    "/your/project/path": {
      "mcpServers": {
        "papermcp": {
          "command": "npx",
          "args": ["-y", "@telagod/papermcp"]
        }
      }
    }
  }
}

</details>

<details> <summary><b>Install in Gemini CLI</b></summary>

Add to ~/.config/gemini-cli/settings.json:

{
  "mcpServers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"]
    }
  }
}

</details>

<details> <summary><b>Install in Codex CLI</b></summary>

Add to ~/.codex/config.toml:

[mcp_servers.papermcp]
command = "npx"
args = ["-y", "@telagod/papermcp"]

</details>

<details> <summary><b>Install in OpenCode</b></summary>

Add to .opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "papermcp": {
      "type": "local",
      "command": ["npx", "-y", "@telagod/papermcp"],
      "enabled": true
    }
  }
}

</details>

<details> <summary><b>Install in Crush CLI</b></summary>

Add to Crush config:

{
  "mcpServers": {
    "papermcp": {
      "command": "npx",
      "args": ["-y", "@telagod/papermcp"]
    }
  }
}

</details>


📚 Supported Platforms

Core Platforms (16)

Platform ID API Key Features
arXiv arxiv ❌ Search, Download, Read
PubMed pubmed ❌ Search, Lookup
PubMed Central pmc ❌ Search, Download, Read
bioRxiv biorxiv ❌ Search
medRxiv medrxiv ❌ Search
Google Scholar google-scholar ❌ Search
IACR ePrint iacr ❌ Search, Download
Semantic Scholar semantic ⚠️ Search, Lookup
CrossRef crossref ❌ Search, Lookup
ACM Digital Library acm ❌ Search
Web of Science wos ✅ Search
Scopus scopus ✅ Search
JSTOR jstor ❌ Search
ResearchGate researchgate ❌ Search
CORE core ✅ Search
Microsoft Academic microsoft-academic ✅ Search

Optional Plugins (7)

Enable via environment variables:

PLUGIN_SCI_HUB=true
PLUGIN_LIBGEN=true
PLUGIN_UNPAYWALL=true
PLUGIN_OA_BUTTON=true
PLUGIN_SCIENCE_DIRECT=true
PLUGIN_SPRINGER_LINK=true
PLUGIN_IEEE_XPLORE=true

[!WARNING] Sci-Hub and LibGen plugins are disabled by default. Use responsibly and comply with local regulations.


🚀 Usage

Available Tools (4 Unified Tools)

recommend_platforms

Get platform recommendations based on field

{
  "query": "transformer neural network",
  "field": "computer-science"  // biomedical, physics, mathematics, cryptography, open-access, general
}

search_papers

Search for papers on specified platform

{
  "platform": "arxiv",  // Use recommend_platforms to get suggestions
  "query": "machine learning",
  "limit": 10
}

download_paper

Download paper PDF from platform

{
  "platform": "arxiv",
  "id": "2301.00001",
  "dir": "/path/to/save"
}

read_paper

Extract text from paper PDF

{
  "platform": "pmc",
  "id": "PMC8123456",
  "dir": "/path/to/pdfs"
}

⚙️ Configuration

Environment Variables

# Optional API keys for enhanced features
SEMANTIC_SCHOLAR_API_KEY=your-key
WOS_API_KEY=your-key
SCOPUS_API_KEY=your-key
CORE_API_KEY=your-key

# Plugin toggles (default: false)
PLUGIN_SCI_HUB=true              # No config needed
PLUGIN_LIBGEN=true               # No config needed
PLUGIN_UNPAYWALL=true            # Requires UNPAYWALL_EMAIL
PLUGIN_OA_BUTTON=true            # Optional OA_BUTTON_API_KEY
PLUGIN_SCIENCE_DIRECT=true       # Requires ELSEVIER_API_KEY
PLUGIN_SPRINGER_LINK=true        # No config needed
PLUGIN_IEEE_XPLORE=true          # No config needed

# Plugin API keys
UNPAYWALL_EMAIL=your@email.com           # Required for Unpaywall
ELSEVIER_API_KEY=your-key                # Required for ScienceDirect
OA_BUTTON_API_KEY=your-key               # Optional for Open Access Button

Getting API Keys

Platform Link Notes
Semantic Scholar Apply Free, increases rate limit
Web of Science Apply Requires institutional subscription
Scopus Apply Requires institutional subscription
CORE Apply Free
Unpaywall Any email No registration needed
ScienceDirect Apply Requires institutional subscription
Open Access Button Apply Optional, free

🔧 Development

Install from source

git clone https://github.com/telagod/papermcp.git
cd papermcp/ts
npm install
npm run build
npm run dev

Project Structure

ts/
├── src/
│   ├── core/           # Core types and config
│   ├── platforms/      # Platform adapters
│   ├── plugins/        # Optional plugins
│   ├── services/       # Registry and tools
│   ├── server/         # MCP server
│   └── utils/          # HTTP, logging
└── dist/               # Compiled output

Adding a Platform

import { BasePlatformAdapter } from './baseAdapter.js';
import { addAdapterFactory } from './index.js';

class MyAdapter extends BasePlatformAdapter {
  constructor() {
    super('my-platform');
  }

  async search(query: SearchQuery): Promise<SearchResult> {
    // Implementation
  }
}

addAdapterFactory(() => new MyAdapter());

📄 License

MIT License - see LICENSE for details.


🙏 Acknowledgments

Built with Model Context Protocol and MCP TypeScript SDK


<div align="center">

⬆ back to top

Made with ❤️ for researchers

</div>

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选