ares-mcp
Provides local academic literature search and writing support by querying OpenAlex, arXiv, and Crossref, downloading open-access PDFs, extracting IMRaD sections, and appending BibTeX references.
README
ARES MCP
Local Model Context Protocol server for academic literature search and writing. It talks to open catalogs (OpenAlex, arXiv, Crossref), downloads open-access PDFs (PDF files only), extracts IMRaD sections on demand, and appends BibTeX — designed to run next to Cursor.
License: MIT. Contributions: CONTRIBUTING.md.
ARES does not bypass publisher paywalls. If no OA PDF exists, tools return
no_open_pdfinstead of scraping HTML.
This repository is a literature helper, not a PRISMA screening/audit workbench.
Tools
| Tool | Purpose |
|---|---|
search_papers |
Query OpenAlex + arXiv; sort=cited_by or relevance; optional DOI/arXiv lookup |
download_and_parse_paper |
DOI or arXiv id → PDF only in papers/ |
get_bibtex |
Crossref BibTeX → append references.bib (no duplicates) |
extract_sections |
Heuristic IMRaD headings from a local PDF |
Typical agent flow: search (sort=cited_by for famous papers) → download an OA
hit → extract Abstract/Methods → get_bibtex.
Requirements
- Python 3.11+
- uv recommended for
uvx
A .env file is not required. ARES picks a contact email for the
OpenAlex / Unpaywall polite pool in this order:
ares-mcp --mailto you@university.eduARES_MAILTOin the process environment (Cursormcp.jsonenvblock)- Optional cwd
.env(ARES_MAILTO=...) — local checkouts only git config user.email- Placeholder
ares-mcp@localhost(server still starts)
Install from PyPI (Cursor)
After publish:
{
"mcpServers": {
"ares": {
"command": "uvx",
"args": ["ares-mcp"]
}
}
}
Optional identity (still no .env):
{
"mcpServers": {
"ares": {
"command": "uvx",
"args": ["ares-mcp", "--mailto", "you@university.edu"]
}
}
}
Install (development)
git clone <this-repo>
cd AREsMCP
uv sync
Run tests:
uv run pytest
uv run ruff check src tests
Live API checks (optional):
uv run pytest -m integration
Configure Cursor (local checkout)
Copy .cursor/mcp.json and replace the --project path
with your clone. Email is optional; git user.email is used when unset.
Recommended — uv run:
{
"mcpServers": {
"ares": {
"command": "uv",
"args": [
"run",
"--project",
"C:/Users/vitor/Documents/Projetos/AREsMCP",
"ares-mcp"
]
}
}
}
venv Python:
{
"mcpServers": {
"ares": {
"command": "C:/Users/vitor/Documents/Projetos/AREsMCP/.venv/Scripts/python.exe",
"args": ["-m", "ares_mcp.server"]
}
}
}
uvx from a local checkout (no PyPI publish required):
{
"mcpServers": {
"ares": {
"command": "uvx",
"args": ["--from", "C:/Users/vitor/Documents/Projetos/AREsMCP", "ares-mcp"]
}
}
}
Reload MCP servers in Cursor, then ask: “Search open-access papers on graph neural networks since 2022.”
Inspector (outside Cursor):
uv run fastmcp dev src/ares_mcp/server.py
Environment
| Variable / flag | Default | Meaning |
|---|---|---|
--mailto / ARES_MAILTO |
git user.email, else ares-mcp@localhost |
Contact in User-Agent / OpenAlex mailto / Unpaywall email |
ARES_METADATA_TIMEOUT_S |
20 |
Metadata HTTP timeout |
ARES_PDF_TIMEOUT_S |
60 |
PDF download timeout |
ARES_MAX_PDF_BYTES |
52428800 |
Max PDF size (~50 MiB) |
Writes are jailed to the server current working directory (the project Cursor opened). Path traversal is rejected.
API notes
- OpenAlex:
GET /workswithsearch+filter. Abstracts are stored as inverted indexes and reconstructed locally. Download uses alllocationswith apdf_url, plus arXiv/PMC ids when present. - Unpaywall:
GET /v2/{doi}for legal OA copies (preprints, accepted manuscripts, repositories). This is how many IEEE/Elsevier papers become downloadable without touching the paywall HTML. - arXiv: Atom API at
export.arxiv.org. All hits are OA. - Crossref: DOI content negotiation
Accept: application/x-bibtex. - Identify your process with
--mailtoorARES_MAILTOwhen you can. Do not hammer the APIs; each tool call is a handful of requests with one retry on 429/5xx.
If every OA candidate 403s or returns HTML, the tool reports download_failed
or no_open_pdf. Pass an arXiv id when you know a preprint exists. ARES
will not scrape publisher HTML.
License alternative
MIT is the project license. Apache-2.0 may be considered later if a patent grant is required; discuss that in an issue before relicensing.
Status
MVP 0.1.0. Publish with uv build and uv publish (or Trusted Publisher on
GitHub Actions). After that, Cursor can run uvx ares-mcp with no .env.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。