Skip to main content
Glama

ARES MCP

로컬 Model Context Protocol 서버로, 학술 문헌 검색 및 작성을 지원합니다. OpenAlex, arXiv, Crossref 등 공개 카탈로그와 통신하고, 오픈 액세스 PDF(PDF 파일만)를 다운로드하며, 요청에 따라 IMRaD 섹션을 추출하고 BibTeX를 추가합니다. — Cursor 옆에서 실행되도록 설계되었습니다.

라이선스: MIT. 기여: CONTRIBUTING.md.

ARES는 발행사 페이월을 우회하지 않습니다. OA PDF가 없으면 HTML을 스크래핑하는 대신 no_open_pdf를 반환합니다.

이 저장소는 문헌 보조 도구이며, PRISMA 스크리닝/감사 워크벤치가 아닙니다.

도구

도구

용도

search_papers

OpenAlex + arXiv 조회; sort=cited_by 또는 relevance; 선택적 DOI/arXiv 조회

download_and_parse_paper

DOI 또는 arXiv id → PDF만 papers/에 저장

get_bibtex

Crossref BibTeX → references.bib에 추가 (중복 없음)

extract_sections

로컬 PDF에서 휴리스틱 IMRaD 제목 추출

일반적인 에이전트 흐름: (sort=cited_by로 유명한 논문) 검색 → OA PDF 다운로드 → 초록/방법 추출 → get_bibtex.

Related MCP server: Academix MCP

요구 사항

  • Python 3.11+

  • uv는 uvx 사용 시 권장

.env 파일은 필요하지 않습니다. ARES는 다음 순서로 OpenAlex / Unpaywall polite pool에 사용할 연락처 이메일을 선택합니다.

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

  2. 프로세스 환경의 ARES_MAILTO (Cursor의 mcp.json env 블록)

  3. 선택적인 현재 작업 디렉터리의 .env (ARES_MAILTO=...) — 로컬 체크아웃 전용

  4. git config user.email

  5. 기본 값 ares-mcp@localhost (서버는 계속 시장됨니)

PyPI에서 설치 (Cursor)

배포 후:

{
  "mcpServers": {
    "ares": {
      "command": "uvx",
      "args": ["ares-mcp"]
    }
  }
}

선택적 식별 정보 (여전히 .env 없이):

{
  "mcpServers": {
    "ares": {
      "command": "uvx",
      "args": ["ares-mcp", "--mailto", "you@university.edu"]
    }
  }
}

설치 (개발)

git clone <this-repo>
cd AREsMCP
uv sync

테스트 실하면:

uv run pytest
uv run ruff check src tests

라이브 API 점검 (선택):

uv run pytest -m integration

Cursor 구성 (로컬 체크아웃)

.cursor.mcp.json을 복사하고 --project 경로를 클론에 맞게 바꾼셔. 이메일은 선택 사항; 설저하지 않으면 git user.email을 사용합니다.

권장 — 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를 로컬 체크아웃에서 사용 (PyPI 배표 불요):

{
  "mcpServers": {
    "ares": {
      "command": "uvx",
      "args": ["--from", "C:/Users/vitor/Documents/Projetos/AREsMCP", "ares-mcp"]
    }
  }
}

Cursor에서 MCP 서버를 재로드한 후 이렇게 물어보세요: “2022년 이후 그래프 신경망 관련 오픈 액세스 논문을 검색해 줘.”

Inspector (Cursor 외부):

uv run fastmcp dev src/ares_mcp/server.py

환경

변수 / 플래그

기본값

의미

--mailto / ARES_MAILTO

git user.email, else ares-mcp@localhost

User-Agent / OpenAlex mailto / Unpaywall email에 사용할 연락처

ARES_METADATA_TIMEOUT_S

20

메타데이터 HTTP 타임아웃

ARES_PDF_TIMEOUT_S

60

PDF 다운로드 타임아웃

ARES_MAX_PDF_BYES

52428800

최대 PDF 크기 (~50 MiB)

쓰기 작업은 서버의 현재 작업 디렉토리 (Cursor가 연 프로젝트)로 제한됩니다. 경로 순회(travel)는 거부됩니다.

API 참고

  • OpenAlex: search + filter와 함께 GET /works를 사용합니다. 초록은 역색인 형태로 저장되며 로컬에서 재구성됩니다. 다운로드 시 pdf_url이 있는 모든 locations을 사용하며, arXiv/DMC ID가 있으면 함께 사용합니다.

  • **Unpaywall:**인터프린트, 수용 manuscript, 저장소 등 합법적인 OA 사본을 위해 GET /v2/{doi}를 사용합니다. 이 방식 덕분에 많은 IEEE/Elsevier논문Ꞙ 페이월 HTML을 건드리지 않고도 다운로드할 수 있습니다.

  • arXiv: export.arxiv.org의 Atom API를 사용합니다. 모든 검색 결과는 OA입니다.

  • Crossref: DOI 콘텐츠 협상으로 Accept: application/x-bibtex.

  • 가능할 때 프로세스를 --mailto 또는 ARES_MAILTO로 식별하세요. API를 과도하게 호출하지 마세요. 각 도구 호출은 몇 개의 요청일 뿐이며 429/5xx 응답 시 한 번 재시도합니다.

모든 OA 후보자가 403을 반환하거나 HTML을 반환하면 도구는 download_ 또는 no_open_pdf를 보합니다. 사전프린트가 존재한다는 것을 알면 arXiv ID를 전달하세요. ARTS는 발행사 HTML을 스크레핑하지 않습니다.

대체 license

MIT는 프로젝트의 라이선스입니다. 추후 특허 권리(patent grant)가 필요하면 Apache-2.0을 고려할 수 있씃니다. 다시 라이선스를 변경하기 전에 이슈에서 늘에 대해 논의하세요.

상태

MVP 0.1.0. uv build와 uv publish (또는 GitHub Actions의 Trusted Publisher)로 배표하세요. 그 후이후 Cursor가 .env 없이 uvx ares-mc를 실항할 수 있씃니다.

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.

NameRequiredDescriptionDefault
identifierYesDOI (`10.xxxx/...` or doi.org URL) or arXiv id (`2301.12345`, `2301.12345v2`, or legacy `cs/0001001`).
target_dirNoWorkspace-relative directory (default `papers`). Paths outside the server cwd are rejected.papers

Output Schema

NameRequiredDescription
titleNo
statusYes
messageNo
pdf_pathNo
error_codeNo
identifierYes
landing_urlNo
identifier_typeNo

TDQS

A4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden and does this well. It discloses important limitations: no Markdown files, does not bypass paywalls, publisher HTML is skipped, and only legal OA sources are used. It also lists possible status values, giving agents a clear picture of expected outcomes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, front-loaded with the core purpose, and every sentence adds value. The separation into purpose, limitations, accepted inputs, and status values makes it easy to scan and understand quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is largely complete for a tool with an output schema and full schema-level parameter documentation. It covers success/failure statuses and critical boundary behaviors. It lacks explicit guidance on what the parse output contains or when to prefer sibling tools, but the output schema and sibling names partially compensate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already covers 100% of the parameters with detailed descriptions, so the baseline is 3. The description restates DOI/arXiv acceptance but adds little beyond the schema; it does not meaningfully enrich the semantics of target_dir beyond what the schema already specifies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool downloads an open-access PDF and that it does not create Markdown files, which distinguishes it from a generic downloader. It also identifies accepted input types (DOI or arXiv ID). However, the 'parse' aspect from the name is not directly explained, and sibling differentiation is only implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context: it handles DOI/arXiv identifiers, resolves legal open-access copies, and skips publisher HTML. It does not explicitly say when to use this tool versus extract_sections, search_papers, or get_bibtex, nor does it name alternatives. Usage is implied rather than explicitly guided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

NameRequiredDescriptionDefault
pdf_pathYesWorkspace-relative path to a previously downloaded PDF.
sectionsYesLabels to extract, e.g. `["Abstract", "Methodology", "Results"]`.

Output Schema

NameRequiredDescription
statusYes
messageNo
pdf_pathYes
sectionsNo
unmatchedNo
error_codeNo

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden. It discloses key behavioral traits: heading matching is case-insensitive, aliases exist (e.g., Methodology ≡ Methods), missing sections are listed in `unmatched`, status values are enumerated, and it never fetches URLs. It does not, however, describe the output schema in detail, but later output schema may exist. The behavioral notes are substantial and go beyond basic trust.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four compact paragraphs, each earning its place. First line states purpose, second explains the heuristic nature, third lists status values, fourth states a critical constraint. No fluff, front-loaded with the core action, and structured for quick skimming.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has an output schema (implied), so return format is covered. Key operational details are present: matching behavior, status values, and the URL restriction. A slight gap: it doesn't explicitly mention the output structure (e.g., section content vs. just match status), but since output schema exists and the description is otherwise thorough, this is minor. Given the complexity, covers nearly all needed information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters. The description adds useful alias semantics: it explains that headings are matched with aliases and gives examples, which enriches `sections`. It also clarifies that `pdf_path` is workspace-relative and must already exist. This goes beyond bare schema, adding practical usage context.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the action ('Return named sections'), the resource ('local PDF'), and the method ('heading heuristics'). Clearly distinguishes from siblings like search_papers (searching) and download_and_parse_paper (downloading + parsing) by scoping to extracting sections from an existing local PDF. The description leaves no ambiguity about its core function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says what it does not do: 'Does not fetch URLs — `pdf_path` must already exist in the workspace.' This prevents misuse when the agent might think it can download. It also clarifies that missing sections do not fail the tool, guiding the agent on expected behavior. Alternatives are not named, but the functional boundary is clearly drawn.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

NameRequiredDescriptionDefault
doiYesDOI string or `https://doi.org/...` URL.
bib_pathNoWorkspace-relative bibliography path (default `references.bib`).references.bib

Output Schema

NameRequiredDescription
doiYes
bibtexNo
statusYes
messageNo
bib_pathNo
cite_keyNo
error_codeNo

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states that the tool appends to a local file, skips duplicates (status=duplicate), leaves the file unchanged on failure, and enumerates possible statuses (added, duplicate, not_found, error, invalid_path). This is strong transparency for a write action. However, it does not mention whether the target file is created if missing, which is a minor behavioral gap. Hence a 4.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is exceptionally concise and well-structured: the first sentence states the core purpose, the second explains duplicate handling and failure behavior, and the third lists status values. Every sentence contributes essential information without fluff. The most important information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the essential functionality and edge cases: fetching, appending, duplicate detection, failure behavior, and status outcomes. Since the tool has an output schema (confirmed by context signals), the status values are likely defined there as well. The only notable omission is the behavior when the target file does not exist (whether it is created), but for a simple two-parameter tool, the description is quite complete. Thus a 4.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%: both parameters (doi and bib_path) have clear descriptions in the schema (e.g., 'DOI string or https://doi.org/... URL' and 'Workspace-relative bibliography path (default references.bib)'). The description adds minimal extra parameter-specific meaning, only reinforcing that the path is local and that the default is used. Since the schema already fully documents the parameters, the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the purpose with a specific verb: 'Fetch the official Crossref/DOI BibTeX entry and append it locally.' It names the resource (Crossref/DOI BibTeX) and the action (append locally), making it distinct from sibling tools like extract_sections or search_papers, which handle unrelated tasks. The purpose is unambiguous and immediately actionable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly defines what the tool does (fetch and append BibTeX) and its context (workspace-relative path, default references.bib). It does not explicitly state when to use it versus alternatives, but since the sibling tools are clearly for different functions (section extraction, paper search, download/parse), the use case is self-evident. There is no explicit 'when not to use' or alternative comparison, but the absence of overlapping functionality makes a 4 appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

NameRequiredDescriptionDefault
doiNoOptional DOI (`10.xxxx/...` or doi.org URL) to look up that work.
sortNo`relevance` or `cited_by` (aliases: citations, most_cited, famous).relevance
limitNoMaximum papers to return after merge (1–20, default 5).
queryNoKeywords, a bare DOI/arXiv id, or empty when doi/arxiv_id is set.
arxiv_idNoOptional arXiv id (`2301.12345`, `arxiv:…`, abs URL).
year_minNoInclusive publication/submission year floor. Impossible values (≤0, far future) are ignored.
open_access_onlyNoIf true (default), OpenAlex is restricted to OA; arXiv results are always included because they are OA.

Output Schema

NameRequiredDescription
sortNo
queryYes
papersNo
statusNo
messageNo
warningsNo
error_codeNo

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden, and it delivers: it discloses that PDFs are not downloaded, that identifier lookups override keyword queries, that arXiv keyword hits are skipped in cited_by mode, that unknown sort values fall back to relevance, and that error_code may be source_unavailable with possibly partial results. This is rich behavioral context beyond the bare operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and front-loaded, with the core purpose in the first sentence and usage guidance immediately after. Every paragraph adds useful information, though the ranking and identifier-lookup sections are somewhat dense and could be tightened without losing value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the essential context for a 7-parameter, zero-required tool with an output schema: when to use it, ranking semantics, identifier behavior, and possible error codes. It also notes that an empty papers list is still status=ok, which prevents misinterpreting valid empty results. The presence of an output schema means return-value documentation is not the description's responsibility.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds meaning well beyond the schema. For sort, it explains aliases and fallback ('unknown values fall back to relevance'). For query, doi, and arxiv_id, it explains lookup behavior and precedence ('Identifier filters win over a keyword query'). This significantly aids correct invocation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Search open catalogs (OpenAlex + arXiv) for academic papers.' It also distinguishes this tool from its siblings by stating it 'Does not download PDFs' and 'Use this first when the user needs papers, citations, or a reading list,' making it clear that search is the entry point while download/extraction/bibliography tools are separate follow-ups.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance: 'Use this first when the user needs papers, citations, or a reading list.' It also provides a clear when-not ('Does not download PDFs') and explains how to choose between sort modes ('pass sort=cited_by when the user wants the most cited / famous / popular papers'). It falls short of naming the alternative sibling tools explicitly, but the pipeline context is strong.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updatesv0.1.0
    • First observeddownload_and_parse_paper
    • First observedextract_sections
    • First observedget_bibtex
    • First observedsearch_papers

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.

Maintenance

ActivityStale
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    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
    -