ares-mcp
ARES MCP is a local academic literature search and writing assistant for MCP hosts (e.g., Cursor) — it finds open-access papers, downloads PDFs, extracts sections, and manages BibTeX without bypassing paywalls.
Search OpenAlex and arXiv by keywords, DOI, or arXiv ID, ranked by relevance or citation count, with optional year and open-access filters.
Download legal open-access PDFs from a DOI or arXiv ID using OpenAlex, Unpaywall, arXiv, and PMC; save them into a workspace directory (default
papers/).Fetch official Crossref BibTeX for a DOI and append it to
references.bib, skipping duplicates.Extract IMRaD-style sections (Abstract, Methods, Results, etc.) from local PDFs using heading heuristics.
List local PDFs under
papers/(or another directory) to inventory your corpus.Screen local PDFs against research questions with include/maybe/exclude heuristics and evidence snippets.
Query local PDFs for ranked excerpts relevant to a free-form question.
Respect environment limits, path-jailing, and open-access-only behavior; it never scrapes paywalled publisher HTML.
Searches the arXiv repository for academic papers, supports arXiv ID lookups, and downloads open-access PDFs from arXiv.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ares-mcp Search open-access papers on graph neural networks since 2022 and get BibTeX for the top hit."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 or any MCP host.
License: MIT. Free to use locally. Contributions: CONTRIBUTING.md.
ARES does not bypass publisher paywalls. If no OA PDF exists, tools return
no_open_pdfinstead of scraping HTML.
This project is a literature helper, not a PRISMA screening/audit
workbench. It is also not the Czech business-registry MCP
(ares-mcp-server).
Install (PyPI)
Python 3.11+. uv is recommended.
Cursor / MCP host (uvx downloads the published wheel, no clone):
{
"mcpServers": {
"ares": {
"command": "uvx",
"args": ["ares-mcp"]
}
}
}Optional identity for the OpenAlex / Unpaywall polite pool (still no .env):
{
"mcpServers": {
"ares": {
"command": "uvx",
"args": ["ares-mcp", "--mailto", "you@university.edu"]
}
}
}Or install into an environment:
pip install ares-mcp
# or: uv tool install ares-mcp
ares-mcp --mailto you@university.eduA .env file is not required. Contact email is resolved in this order:
ares-mcp --mailto you@university.eduARES_MAILTOin the process environment (Cursormcp.jsonenvblock)Optional cwd
.env(ARES_MAILTO=...) — local checkouts onlygit config user.emailPlaceholder
ares-mcp@localhost(server still starts)
After publish, confirm the package at pypi.org/project/ares-mcp.
Related MCP server: Academix MCP
Tools
Tool | Purpose |
| Query OpenAlex + arXiv; |
| DOI or arXiv id → PDF only in |
| Crossref BibTeX → append |
| Heuristic IMRaD headings from a local PDF |
| Inventory PDFs under |
| Heuristic include/maybe/exclude of local PDFs vs research questions + snippets |
| Ranked excerpts from the local corpus for a free-form question |
Typical agent flow: search (sort=cited_by for famous papers) → download an OA
hit → extract Abstract/Methods → get_bibtex. For RQ screening over downloads:
list_local_papers → screen_papers_for_rqs (host agent narrates justifications
from the evidence pack; ARES does not call an external LLM).
Install (development)
git clone https://github.com/benetche/ares-mcp.git
cd ares-mcp
uv syncRun tests:
uv run pytest
uv run ruff check src testsLive API checks (optional):
uv run pytest -m integrationConfigure 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",
"/absolute/path/to/ares-mcp",
"ares-mcp"
]
}
}
}venv Python:
{
"mcpServers": {
"ares": {
"command": "/absolute/path/to/ares-mcp/.venv/bin/python",
"args": ["-m", "ares_mcp"]
}
}
}On Windows, use .venv/Scripts/python.exe instead of .venv/bin/python.
uvx from a local checkout (no PyPI install required):
{
"mcpServers": {
"ares": {
"command": "uvx",
"args": ["--from", "/absolute/path/to/ares-mcp", "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.pyEnvironment
Variable / flag | Default | Meaning |
| git | Contact in User-Agent / OpenAlex |
|
| Metadata HTTP timeout |
|
| PDF download timeout |
|
| Max PDF size (~50 MiB) |
Writes are jailed to the server current working directory (the project Cursor opened). Path traversal is rejected. PDF candidate URLs that point at loopback or private IPs are 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
0.2.0. Releases are built in CI and uploaded to PyPI with
Trusted Publishing (OIDC, no
long-lived API tokens). After a GitHub Release tag v0.2.0 (and matching
publisher config on PyPI), Cursor can run uvx ares-mcp with no .env.
Available Tools
4 toolsdownload_and_parse_paperA
Download an open-access PDF. Does not create Markdown files.
Accepts a DOI or arXiv id. Resolves legal OA copies via OpenAlex locations, Unpaywall (preprints / accepted manuscripts), arXiv/PMC, and a few curated public URLs (e.g. the Bitcoin whitepaper on bitcoin.org). Does not bypass paywalls: publisher HTML is skipped.
Status values: ok, not_found, no_open_pdf, download_failed,
invalid_path.
Inputs: identifier (required), target_dir. Returns: Outcome of downloading an open-access PDF. Attributes: status: Domain status fo…
extract_sectionsA
Return named sections from a local PDF using heading heuristics.
Not a trained parser: headings are matched case-insensitively with aliases
(e.g. Methodology ≡ Methods ≡ Materiais and Methods; Abstract ≡ Resumo).
Missing sections are listed in unmatched; they do not fail the tool.
Status values: ok, file_not_found, parse_error, invalid_path.
Does not fetch URLs — pdf_path must already exist in the workspace.
Inputs: pdf_path (required), sections (required). Returns: Heuristic extraction of named IMRaD-style sections from a local PDF. Attributes…
get_bibtexA
Fetch the official Crossref/DOI BibTeX entry and append it locally.
Skips the write when the DOI or cite key is already in the file
(status=duplicate). Failures leave the .bib unchanged.
Status values: added, duplicate, not_found, error, invalid_path.
Inputs: doi (required), bib_path. Returns: Outcome of fetching Crossref BibTeX and appending it locally. Attributes: statu…
search_papersA
Search open catalogs (OpenAlex + arXiv) for academic papers.
Use this first when the user needs papers, citations, or a reading list.
Does not download PDFs. Prefer hits with pdf_url for the next step.
Ranking: pass sort=cited_by when the user wants the most cited / famous /
popular papers. Pass sort=relevance (default) for topical match. Aliases
like "most cited" are accepted; unknown values fall back to relevance.
A doi or arxiv_id looks up that paper (query may be empty). If query
itself is a DOI or arXiv id, it is treated as a lookup, not keywords.
Identifier filters win over a keyword query.
cited_by ranks on OpenAlex citation counts. arXiv keyword hits are
skipped in that mode because they have no citation counts.
Possible error_code values: source_unavailable (one or both catalogs
failed; remaining hits may still be useful). Empty papers is still
status=ok.
Inputs: doi, sort, limit, query, +3 more. Returns: Structured result of a dual-source literature search. Attributes: status: Alway…
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct stage of an academic-paper workflow: searching catalogs, downloading/parsing an OA PDF, extracting sections from a local PDF, and fetching BibTeX. The descriptions explicitly call out boundaries (e.g., search does not download, extract_sections does not fetch URLs), leaving no meaningful overlap.
All four tool names follow the same snake_case verb-first pattern: extract_*, search_*, download_and_parse_*, get_*. The only variation, download_and_parse_paper, still uses the same conventions and is clearly readable.
Four tools is well-scoped for the stated research-assistant purpose. Each tool covers a necessary step in the paper search-to-citation pipeline without redundancy or bloat.
The core lifecycle is covered: discovery, open-access retrieval, section-level reading, and BibTeX citation handling. Minor gaps exist, such as no way to manage or catalog local PDFs and no BibTeX support for arXiv-only papers, but agents can work around these.
Related MCP Connectors
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Academic literature search, retrieval, and private library management on top of OpenAlex.
Federated search of books and papers, BibTeX/RIS citations, open-access retrieval and reading.
Research paper search with real citations and reference formatting for AI assistants
Related MCP Servers
- AlicenseAqualityDmaintenanceA local academic tool that enables searching across nine academic sources, downloading PDFs, and performing AI-powered analysis of research papers. It also supports generating citation networks and recommending papers based on local workspace code.795MIT
- FlicenseNot gradedqualityDmaintenanceAggregates academic paper search from multiple databases (OpenAlex, Semantic Scholar, etc.) with PDF storage and full-text search capabilities.1-
- AlicenseAqualityDmaintenanceEnables searching scholarly literature across CrossRef, ERIC, Semantic Scholar, and OpenAlex, and retrieving open-access PDFs via Unpaywall.9MIT
- FlicenseAqualityCmaintenanceEnables discovery, retrieval, summarization, comparison, methodology and limitation analysis, research gap identification, and local management of academic papers via arXiv and Gemini AI.10-