MCP server for browsing and searching arXiv papers by category
Project description
arXiv MCP Server
English
An MCP (Model Context Protocol) server that lets LLMs like Claude search and fetch arXiv papers directly.
Features
- Fetch recent papers from any arXiv category and store them locally
- List papers by date — titles only, to keep context lean
- Keyword search across titles and abstracts
- Retrieve full abstracts on demand for papers of interest
- Database statistics by publication date
Tools
| Tool | Parameters | Description |
|---|---|---|
fetch_papers |
category, num_days=3, max_results=100 |
Fetch recent papers from arXiv API and store in local database |
list_papers |
date="", max_results=100 |
List paper titles from local database, optionally filtered by date |
search_papers |
query, max_results=100 |
Keyword search against titles and abstracts, returns titles only |
get_paper_details |
entry_ids: list |
Get full details including abstracts for specific papers |
get_stats |
— | Paper counts grouped by publication date |
Design principle: fetch_papers, list_papers, and search_papers return only titles and metadata to save context. Call get_paper_details when you need abstracts for specific papers.
Installation
Claude Code (recommended)
Add to your ~/.claude.json under mcpServers:
{
"mcpServers": {
"arxiv": {
"command": "uvx",
"args": ["arxiv-today-mcp"],
"type": "stdio"
}
}
}
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"arxiv": {
"command": "uvx",
"args": ["arxiv-mcp-server"]
}
}
}
Usage Example
- Browse today's papers: Ask Claude "What's new in cs.AI today?" — Claude will call
fetch_papersthenlist_papers, returning titles grouped by topic. - Get details: "Tell me more about papers 2 and 5" — Claude will call
get_paper_detailswith those entry IDs and summarize the abstracts.
Configuration
The database path can be overridden with an environment variable:
{
"mcpServers": {
"arxiv": {
"command": "uvx",
"args": ["arxiv-today-mcp"],
"env": {
"ARXIV_MCP_DB_PATH": "/your/custom/path/papers.db"
}
}
}
}
Requirements
中文
一个 MCP(模型上下文协议)服务器,让 Claude 等 LLM 能够直接搜索和获取 arXiv 论文。
功能特性
- 从任意 arXiv 分类抓取最新论文并存储到本地数据库
- 按日期浏览论文——只返回标题,节省上下文
- 对标题和摘要进行关键词搜索
- 按需获取感兴趣论文的完整摘要
- 按发布日期统计数据库中的论文数量
工具列表
| 工具 | 参数 | 功能 |
|---|---|---|
fetch_papers |
category, num_days=3, max_results=100 |
从 arXiv API 抓取最新论文,存入本地数据库 |
list_papers |
date="", max_results=100 |
列出本地数据库中的论文标题,可按日期筛选 |
search_papers |
query, max_results=100 |
在标题和摘要中关键词搜索,只返回标题 |
get_paper_details |
entry_ids: list |
获取指定论文的完整信息(含摘要) |
get_stats |
— | 按发布日期统计论文数量 |
设计原则:fetch_papers、list_papers、search_papers 只返回标题和元数据以节省上下文。需要摘要时再调用 get_paper_details。
安装配置
Claude Code(推荐)
在 ~/.claude.json 的 mcpServers 中添加:
{
"mcpServers": {
"arxiv": {
"command": "uvx",
"args": ["arxiv-today-mcp"],
"type": "stdio"
}
}
}
Claude Desktop
在 claude_desktop_config.json 中添加:
{
"mcpServers": {
"arxiv": {
"command": "uvx",
"args": ["arxiv-mcp-server"]
}
}
}
使用示例
- 浏览今日论文:问 Claude "今天 cs.AI 有什么新论文?"——Claude 会调用
fetch_papers和list_papers,按主题分类返回标题。 - 获取详情:"介绍一下第 2、5 篇"——Claude 会调用
get_paper_details获取摘要并进行解读。
自定义数据库路径
通过环境变量覆盖默认数据库路径:
{
"mcpServers": {
"arxiv": {
"command": "uvx",
"args": ["arxiv-today-mcp"],
"env": {
"ARXIV_MCP_DB_PATH": "/你的/自定义/路径/papers.db"
}
}
}
}
依赖要求
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
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 arxiv_today_mcp-0.3.0.tar.gz.
File metadata
- Download URL: arxiv_today_mcp-0.3.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
856460b3b7caf814c92e4528e40b8150300877df2e5898c5939b434065f2c14f
|
|
| MD5 |
339213881a02aa5720ee67f8a3ffd726
|
|
| BLAKE2b-256 |
1b065671544a69eac3d272589086413da2c2a46424b35f0ca7968da4d9887f62
|
File details
Details for the file arxiv_today_mcp-0.3.0-py3-none-any.whl.
File metadata
- Download URL: arxiv_today_mcp-0.3.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6121562bd673b239d56adcfe33112d03c9e3f987956f24c82bd5918e44a1e115
|
|
| MD5 |
fbcd2e126d04b3c04671f273d8f38854
|
|
| BLAKE2b-256 |
484e729ccde6bb022ad513d0a5fe91644f62be27098c87ff3b2afc40409e91de
|