Skip to main content
Glama

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_pdf instead 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.edu

A .env file is not required. Contact email is resolved in this order:

  1. ares-mcp --mailto you@university.edu

  2. ARES_MAILTO in the process environment (Cursor mcp.json env block)

  3. Optional cwd .env (ARES_MAILTO=...) — local checkouts only

  4. git config user.email

  5. Placeholder 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

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

list_local_papers

Inventory PDFs under papers/ (or another dir)

screen_papers_for_rqs

Heuristic include/maybe/exclude of local PDFs vs research questions + snippets

query_local_papers

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 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",
        "/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.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. PDF candidate URLs that point at loopback or private IPs are rejected.

API notes

  • OpenAlex: GET /works with search + filter. Abstracts are stored as inverted indexes and reconstructed locally. Download uses all locations with a pdf_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 --mailto or ARES_MAILTO when 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 tools
download_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

    A4.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A 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.
      7
      95
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Aggregates academic paper search from multiple databases (OpenAlex, Semantic Scholar, etc.) with PDF storage and full-text search capabilities.
      1
      -