Skip to main content
Glama
FlynnLachendro

methods-mcp

methods-mcp

PyPI Python License: MIT

轻量级、按需调用的 MCP 服务器,用于学术论文的结构化方法提取与可复现性启发式评估。为 Worldwide AI Science Fellowship 构建挑战而开发。

⚠️ 状态:alpha(0.1.x)。 工具表面和输出格式可能在小版本之间发生变化。生产环境中请锁定精确版本。 欢迎通过 GitHub Issues 提交错误报告。

快速演示

$ uvx --from methods-mcp methods-mcp --version
methods-mcp 0.1.6

# In a Claude Code session:
> /mcp add methods-mcp methods-mcp
> Run methods_repro_review on https://arxiv.org/abs/2509.06917

  → tool: methods_repro_review({"input_str":"https://arxiv.org/abs/2509.06917"})

# Returns a MethodsReproReview object. Read `narrative` first — it explains
# everything else in plain English, so no tool-learning is required:

{
  "status": "ok",
  "narrative":
    "Resolved the paper: 'Paper2Agent' by Miao et al. (arxiv 2509.06917, "
    "2025-09-08). Extracted 11 methods steps at moderate self-reported "
    "confidence (0.72) — the procedure is clearly described but hyperparameters "
    "and software versions are absent. Detected the associated code repository "
    "https://github.com/jmiao24/Paper2Agent from an inline link in the paper "
    "text (detection confidence 0.94). The repo scored 0.90/1.00 on the "
    "reproducibility heuristic — verdict: likely reproducible. Present signals: "
    "substantive README, dependencies file, notebooks, figure-plotting script, "
    "recent activity, permissive license. Missing: data/fixtures directory. "
    "Suggested entrypoint: `python make_figures.py`.",
  "metadata":          { ... },   # PaperMetadata
  "methods":           { ... },   # MethodsStructured (null if extraction failed)
  "code_repo":         { ... },   # CodeRepo           (null only if input unresolvable)
  "repro_assessment":  { ... },   # ReproAssessment   (null if no repo detected)
  "errors":            []         # [{step, error_type, message, hint}] on partial
}

methods-mcp 是一个小巧、边界清晰的 Model Context Protocol 服务器。它为任何 AI 代理(Claude Code、Claude Desktop、你的 Agent SDK 脚本等)提供八个工具,可将学术论文 URL 转换为:

  • 规范化元数据,

  • 尽力而为的全文 + 章节拆分,

  • 一个经 Pydantic 验证的结构化方法对象(步骤 / 试剂 / 设备 / 分析),

  • 论文关联的代码仓库(尽力而为的发现),

  • 针对该仓库的无需执行的可复现性判定,以及

  • 多模式摘要。

切入点:像 Paper2Agent(斯坦福)这样的重型流水线需要 30 分钟到数小时才能将论文消化为代理可用的工具。methods-mcp 是代理可调用、按需执行的补充方案——每个工具都在数秒内返回结果,无需克隆、无需执行。


Related MCP server: paperstack

安装

uv add methods-mcp
# or, install globally:
uv tool install methods-mcp
# or, classic pip:
pip install methods-mcp

API 密钥

为获得最佳性能,请同时设置以下两项:

变量

是否必需

不设置时的后果

ANTHROPIC_API_KEY

extract_methods、summarize_paper、methods_repro_review 必需

这些工具会抛出 RuntimeError: ANTHROPIC_API_KEY not set。非 LLM 工具(fetch_paper_text、find_code_repo、assess_repo_reproducibility)仍可正常工作。

GITHUB_TOKEN

assess_repo_reproducibility / methods_repro_review 可选但推荐

你会受限于 GitHub 未认证速率限制(每 IP 60 次请求/小时)。每次仓库评估约需 3 次调用,因此约 15–20 个仓库/小时后就会触顶。使用令牌后:5,000 次请求/小时(实际上无限制)。

export ANTHROPIC_API_KEY=sk-ant-...
export GITHUB_TOKEN=ghp_...          # optional but recommended

两个密钥均不会被记录或持久化——它们仅分别发送至 api.anthropic.com 和 api.github.com。参见 SECURITY.md。

从 Claude Code 使用

/mcp add methods-mcp methods-mcp

然后在任意 Claude Code 对话中:

获取 https://arxiv.org/abs/2509.06917 并运行 methods_repro_review。总结该论文的内容、方法步骤,以及仓库的可复现性表现。

从 Claude Agent SDK 使用

from claude_agent_sdk import ClaudeAgentOptions, ClaudeSDKClient

options = ClaudeAgentOptions(
    mcp_servers={
        "methods-mcp": {
            "type": "stdio",
            "command": "methods-mcp",
            "args": [],
        }
    },
    allowed_tools=["mcp__methods-mcp__methods_repro_review"],
)

async with ClaudeSDKClient(options=options) as client:
    await client.query(
        "Run methods_repro_review on https://arxiv.org/abs/2509.06917 "
        "and tell me whether the repo looks reproducible."
    )
    async for msg in client.receive_response():
        print(msg)

工具

工具

功能说明

health

服务器存活 + 配置检查。

get_paper_metadata(input_str)

将 URL / arXiv ID / DOI 解析为规范化元数据。arXiv 输入会调用 arXiv 导出 API 获取标题/作者/摘要。

fetch_paper_text(input_str, prefer="auto"|"html"|"pdf")

全文 + 章节拆分。arXiv 论文默认使用 ar5iv HTML(廉价、结构化),否则回退到 PDF。

extract_methods(input_str, model=None)

由 LLM 驱动、经 Pydantic 验证的结构化方法提取。返回 {steps, reagents, equipment, analyses, confidence}。

find_code_repo(input_str)

通过论文文本 → 摘要 → Papers With Code 发现论文的代码仓库。

assess_repo_reproducibility(repo_url, paper_id=None)

基于启发式规则、无需克隆的可复现性评估,通过 GitHub REST API 完成。加权信号(README、依赖、测试数据、笔记本、图表脚本、近期维护、许可证)→ {verdict, score, recommended_entrypoint}。

summarize_paper(input_str, mode="tldr"|"abstract"|"exec")

三种深度的 LLM 摘要。

methods_repro_review(input_str)

复合工具——一次调用完成元数据 + 方法 + 仓库 + 可复现性评估。

所有工具均返回 Pydantic v2 模型(已验证、可 JSON 序列化)。完整的类型定义参见 src/methods_mcp/schemas.py。

设计说明

  • extract_methods 使用 Anthropic 工具调用机制,强制模型输出符合 MethodsStructured Pydantic 模式的实例。 验证失败时,我们会发送一条包含验证错误的修复消息并重试一次,之后才抛出异常。

  • assess_repo_reproducibility 不会克隆或执行任何内容。 它仅根据公开可读的 GitHub 元数据和递归树列表对仓库进行评分。这是与试图实际重跑论文的批处理工具之间的刻意区隔。

  • fetch_paper_text 对 arXiv 论文优先使用 ar5iv HTML 而非 PDF 解析。 对非 arXiv 输入回退到 pypdf。

  • 默认模型为 claude-sonnet-4-6。 可通过 METHODS_MCP_MODEL 环境变量或每次调用的 model= 参数覆盖。

  • methods_repro_review 返回自描述式响应。 每次调用都会设置顶层 status("ok" / "partial" / "empty")和 narrative 字符串,以通俗英语总结所有检索到的内容——包括每个带上下文的数值评分。只阅读 narrative + status 的读者即可获得完整图景,无需了解子对象的格式。子对象在不可用时可为 null(例如,未检测到仓库的论文返回 repro_assessment: null——status 仍为 "ok",因为"无仓库"并非失败)。失败的子步骤会向 errors 贡献一条结构化条目,包含 {step, error_type, message, hint},其中 hint 是针对已识别模式(缺少 API 密钥、速率限制、404、超时等)的可操作通俗建议,否则为 null。

评分与判定说明

工具输出包含三个数值字段,它们看起来相似但含义截然不同。它们是供代理判断论文是否值得深入研究的分类信号,而非经过校准的正确性声明。

字段

范围

计算方式

如何解读

methods.confidence

0–1

LLM 自我报告。 提取模型根据系统提示中的指令自行设定:仅当论文给出明确的试剂/体积/设备时设为 ≥0.8,方法部分稀疏时约为 ~0.3。未经校准。

作为*"这是一篇具有具体流程的湿实验论文,还是一篇内容稀疏的系统论文?"*的软信号。可作为标记使用;不要将其视为可信度百分比。

code_repo.confidence

0–1

因 detection_method 而异。 papers-with-code:固定 0.95(权威的论文→仓库 API)。paper-text:按 0.6 + 0.2·(strong-phrase-present) + 0.015·score_margin 计算,上限 0.95。abstract-link:固定 0.85。none:0.0。

告诉你仓库是如何被发现的以及发现的确定性如何。高分 + paper-text 意味着类似*"代码可在……获取"*的强短语紧邻 URL 出现。

repro_assessment.overall_score

0–1

8 个二值信号的加权和,全部通过 GitHub REST API 计算(不克隆、不执行):has_readme(0.10)、readme_substantial(0.15)、has_dependencies_file(0.20)、has_data_or_fixtures(0.10)、has_notebook(0.10)、has_figure_script(0.20)、actively_maintained(0.10)、permissive_license(0.05)。每个存在的信号贡献其对应权重。

三个分数中唯一完全确定性的分数。仍然是启发式而非证明——高分意味着仓库看起来结构良好、适合复现。如需实际验证,参见 Paper2Agent。

判定分桶(repro_assessment.verdict)是 overall_score 上的阈值:

Verdict

Score

Meaning

likely-reproducible

≥ 0.70

存在大多数利于复现的信号。值得尝试运行。

partial

≥ 0.45

有一些基础设施,但可能存在缺口。需要自行补齐缺失部分。

unlikely

≥ 0.20

信号极少。可能是没有配套脚手架、无法重新运行的代码转储。

insufficient-info

< 0.20 or repo unreachable

信息不足,无法判断。不要妄下结论。

你在输出中会看到的枚举值:

  • code_repo.detection_method: paper-text | abstract-link | papers-with-code | metadata | none

  • metadata.source: arxiv | biorxiv | doi | url | unknown

安全与限制

安装并运行此服务器时,它实际会做的事情:

  • 仅向以下地址发起网络调用:export.arxiv.org、ar5iv.labs.arxiv.org、arxiv.org(PDF)、api.github.com、paperswithcode.com、api.anthropic.com。无遥测、无分析、无回传。

  • 读取 ANTHROPIC_API_KEY(LLM 工具必需)以及可选的 GITHUB_TOKEN(从环境变量中读取)。这些仅分别发送给 Anthropic / GitHub。从不记录,从不写入磁盘。

  • 不会向你的文件系统写入任何内容。无缓存目录、无下载的 PDF、无临时文件。

  • 不执行任何用户提供的代码。无 eval、exec、subprocess、pickle.loads 或 shell 调用。可复现性工具刻意不克隆或运行仓库——它仅通过 GitHub REST API 进行评分。

需要注意的限制:

  • 对抗性论文可能产生误导性的结构化输出。 extract_methods 工具会将论文文本发送给 Claude。包含提示注入内容的论文可能产生错误(但符合模式)的结构化方法。请将输出视为研究辅助工具,而非事实依据。

  • 可复现性判定是一种启发式方法,而非证明。 高分意味着仓库看起来结构良好、便于复现;但并不保证运行代码就能复现论文。如需完整验证,请参阅 Paper2Agent。

  • 面向本地 stdio 使用。 HTTP/SSE 传输方式仅为开发便利而提供,只应在受信任的网络上暴露(除 httpx 提供的保护外,没有额外的 SSRF 防护)。

报告问题:

安全问题:请发送邮件至 flynnlachendro@hotmail.co.uk(另请参阅 SECURITY.md)。功能缺陷:请提交 GitHub issue。

与 paper-mcp 搭配使用

如需更广泛的论文搜索 / 引文图谱工具,可在同一个 Claude Code 会话中并排运行 paper-mcp (Bhvaik)。paper-mcp 提供按标题搜索、全文获取、引文和参考文献功能;methods-mcp 在此基础上增加了结构化方法 + 可复现性层。两者在设计上刻意追求可组合性。

本地开发

git clone https://github.com/FlynnLachendro/methods-mcp
cd methods-mcp
uv sync --extra dev --extra agent

uv run pytest                      # 49 tests, offline (respx-mocked httpx + unittest.mock for Anthropic)
uv run ruff format .
uv run ruff check . --fix
uv run mypy src

uv run methods-mcp --help

许可证

MIT — 请参阅 LICENSE。

致谢

为 Worldwide AI Science Fellowship 首届学员而构建。感谢 Michael Raspuzzi 提供的开放式任务简报。

基于以下项目构建:

Available Tools

8 tools
assess_repo_reproducibilityA

Heuristic, no-clone reproducibility assessment of a GitHub repo.

Returns a verdict (likely-reproducible / partial / unlikely / insufficient-info) plus weighted signals: README quality, dependency files, fixture data, notebooks, figure-generating scripts, recent maintenance, license. No code is downloaded or executed. Set GITHUB_TOKEN to raise the API rate limit.

NameRequiredDescriptionDefault
paper_idNo
repo_urlYes

Output Schema

NameRequiredDescription
notesYes
signalsNo
verdictYes
paper_idNo
repo_urlYes
overall_scoreYes
recommended_entrypointNoE.g. 'python make_figures.py' if a likely figure-generating script was found.

TDQS

A3.5/5.0
Behavior5/5

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

Annotations are entirely absent, so the description carries the full disclosure burden — and it meets it. It explicitly states the operation is non-destructive ('No code is downloaded or executed'), that this is a heuristic scoring exercise, that weighted signals feed the verdict, and even discloses the GitHub API rate-limit dependency plus the GITHUB_TOKEN mitigation. This is comprehensive behavior disclosure with no annotation support needed.

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 tight and dense with zero filler: first sentence states purpose and mode, second summarizes the verdict taxonomy, third enumerates the signals, fourth discloses side-effect-free behavior, fifth gives the auth hint. Every sentence earns its place and the most decision-relevant facts (heuristic, no-clone) are front-loaded.

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

Completeness3/5

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

The overall assessment logic, safety profile, and auth requirement are well covered, and an output schema exists so the return structure doesn't need full restatement. However, completeness is undermined by the unexplained paper_id parameter and the lack of any guidance on when this tool applies versus methods_repro_review. For a moderately complex heuristic tool this is adequate but leaves discernible gaps.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate — and largely fails to. repo_url's purpose is inferable from context but is never actually explained. paper_id (an accepted parameter, optional with null default) is completely unexplained: an agent cannot tell whether it links the assessment to a paper in the system, serves as a label, or affects scoring. No parameter receive explicit definitional help.

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 opening line is specific: 'Heuristic, no-clone reproducibility assessment of a GitHub repo' — a clear verb (assess) plus a concrete resource (GitHub repo reproducibility), with the heuristic/no-clone qualifiers delimiting its scope. It states the return verdicts and the signal dimensions, so an agent understands what this produces. It doesn't explicitly distinguish itself from the closest sibling, methods_repro_review, but the 'no-clone' and 'heuristic vs deep review' framing sufficiently separates it.

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

Usage Guidelines2/5

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

The description never states when to choose this tool over alternatives. It enumerates what it does — heuristic signals, no code execution — but gives no explicit 'use when you need a quick pass' or 'for a full methods review use methods_repro_review instead.' Given rich sibling context (methods_repro_review, find_code_repo, extract_methods), the absence of routing or exclusion guidance is a real gap.

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

extract_methodsA

Extract a structured methods object from a paper.

Pulls full text, isolates the methods-relevant section(s), then asks Claude (default: claude-sonnet-4-6) to fill out a Pydantic schema with steps, reagents, equipment, and analyses. Validation-enforced — invalid responses trigger one repair attempt before raising.

Requires ANTHROPIC_API_KEY in the server's environment.

NameRequiredDescriptionDefault
modelNo
input_strYes

Output Schema

NameRequiredDescription
notesNoFree-form caveats from the extractor (e.g. 'methods section is sparse').
stepsNo
summaryYes2-3 sentence overview of the methods.
analysesNo
paper_idYes
reagentsNo
equipmentNo
confidenceYesLLM self-reported confidence in the structured extraction.
extraction_modelYesModel identifier used for extraction.

TDQS

A4/5.0
Behavior5/5

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

Since annotations are absent, the description carries the full burden and does substantial work: it discloses that the tool fetches full text, isolates methods sections, calls an external Claude model, validates against a Pydantic schema, performs one repair attempt, and requires ANTHROPIC_API_KEY. These are behavioral traits an agent needs to anticipate dependencies and side effects.

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 front-loads the core purpose, then moves through process and prerequisites in three compact paragraphs. No filler or repetition of the tool name.

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

Completeness3/5

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

The description covers the pipeline, validation/repair behavior, and auth prerequisite, and an output schema exists so return semantics needn't be restated. However, it leaves the required input parameter semantically ambiguous, which is a meaningful gap for invoking the tool correctly.

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

Parameters2/5

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

Schema description coverage is 0% and the description only partially compensates: it mentions the default model (claude-sonnet-4-6) but never defines the required input_str (e.g., paper ID vs plain text) or the effect of passing a custom model. An agent cannot confidently populate parameters from this definition alone.

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 a specific verb ('Extract') and resource ('structured methods object') plus source ('a paper'), and names output components (steps, reagents, equipment, analyses). It is clearly distinguishable from sibling tools like summarize_paper and fetch_paper_text.

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 makes the general use case clear (extracting structured methods), but it never explicitly says when to prefer this over siblings such as fetch_paper_text or methods_repro_review, and it gives no exclusion criteria. Usage is implied from the purpose 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.

fetch_paper_textB

Return best-effort full text + section split for a paper.

prefer: one of "auto" (default), "html" (force ar5iv HTML — arXiv only), or "pdf". Sections are normalised to lowercase canonical names: abstract, introduction, methods, experiments, results, discussion, conclusion, limitations, related_work.

NameRequiredDescriptionDefault
preferNoauto
input_strYes

Output Schema

NameRequiredDescription
textYes
paper_idYes
sectionsNoSection name (lowercased) -> text. Empty if extraction couldn't segment.
char_countYes
source_urlYes
extraction_methodYes

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses 'best-effort' semantics (implying possible partial/failed text retrieval), the arXiv-only constraint for the html preference, and the section normalization behavior. However, it does not disclose what happens when html is requested for non-arXiv papers (fallback behavior) or how failures surface to the caller.

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?

Roughly 60 words with the core purpose front-loaded in the first sentence. Each subsequent sentence explains the prefer values and the canonical section names without waste. It is appropriately tight, though slightly terse.

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

Completeness2/5

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

An output schema exists, so return values are partially covered there. The description discloses section-normalization output behavior. But the undefined 'input_str' format is a critical gap: an agent cannot reliably invoke the tool without knowing what identifier to pass. The failure/fallback semantics of 'best-effort' and non-arXiv html requests are also unspecified. For a 2-param tool at 0% schema coverage, the description needed to compensate and did not.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must define both parameters. 'prefer' is explained thoroughly (auto/html/pdf values, default, and the html constraint), but 'input_str' — the single required parameter — is never explained. An agent has no idea whether it expects an arXiv ID, DOI, or URL. This is the most critical parameter for calling the tool and is left undefined.

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+resource: 'Return best-effort full text + section split for a paper.' This clearly distinguishes it from siblings like get_paper_metadata (metadata only) and summarize_paper (summary), making it easy for an agent to know this tool retrieves the raw full text with section boundaries.

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 purpose implicitly signals when to use this tool (need full text + sections, not metadata or analysis), but there is no explicit when-to-use or when-not-to-use guidance, and no alternative tools are named. The agent must infer the selection logic from the name and description alone.

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

find_code_repoA

Discover the code repo (if any) associated with a paper.

Strategy: scan the paper's full text and abstract for github.com URLs; fall back to Papers With Code lookup for arXiv papers.

NameRequiredDescriptionDefault
input_strYes

Output Schema

NameRequiredDescription
notesNo
paper_idNo
repo_urlNo
confidenceYes
detection_methodYes

TDQS

A4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the algorithm: scanning for GitHub URLs and using a Papers With Code fallback. This is meaningful behavioral transparency beyond just 'finds a repo.' It also hints at a potential outcome ('if any'), implying it might not always find a repo. However, it does not mention limitations like other repo hosts or what happens when a paper is not on arXiv. Still, the strategy is a strong disclosure of internal behavior.

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 two sentences with zero fluff. The first sentence states the purpose clearly and the second provides the strategy. It is front-loaded with the core action, and every word contributes value. The structure is efficient and easy to parse.

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

Completeness3/5

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

The tool is relatively simple with one parameter and an output schema, so the return format is presumably covered by the output schema. However, the input parameter is not described, which is a critical gap. The description explains the method but leaves the agent unsure what to pass as input_str. Given the lack of annotations, the description must carry more weight, and this omission makes it incomplete.

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

Parameters2/5

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

The input schema has one required parameter, 'input_str', with no description and 0% schema description coverage. The description refers to 'a paper' but does not explain what input_str should contain (e.g., a paper ID, URL, or title). It does not clarify the expected format or how the tool will use it. The description fails to compensate for the lack of schema detail, leaving the agent uncertain about the parameter's meaning. This is a significant gap.

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 tool's purpose: 'Discover the code repo (if any) associated with a paper.' It uses a specific verb ('discover') and resource ('code repo'), and the scope is clear. This distinguishes it from siblings like get_paper_metadata or assess_repo_reproducibility, which handle metadata or reproducibility assessment. The strategy also clarifies the exact function.

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 implies when to use it: whenever you need to locate a paper's code repository. It provides a concrete strategy (scanning full text/abstract for GitHub URLs, falling back to Papers With Code for arXiv papers), which gives context on its operation. It does not explicitly exclude scenarios or name alternative tools, but the purpose is clear enough that an agent would know it is the right tool for finding code repos. Lacks explicit 'when not to use' guidance, so a 4 is appropriate.

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

get_paper_metadataA

Resolve an arXiv ID/URL, bioRxiv URL, DOI, or generic URL to canonical metadata.

For arXiv inputs this hits the arXiv export API to fetch title/authors/abstract. Other sources return the resolved URL with empty bibliographic fields (cheap by design).

NameRequiredDescriptionDefault
input_strYes

Output Schema

NameRequiredDescription
titleYes
venueNo
sourceYes
authorsNo
pdf_urlNo
abstractNo
html_urlNoar5iv HTML URL for arXiv papers.
paper_idYesCanonical identifier (e.g. arXiv ID, DOI).
raw_inputYesThe original URL/ID the caller supplied.
primary_urlYes
publication_dateNoISO 8601 date when known.

TDQS

A4/5.0
Behavior3/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 reveals that arXiv inputs trigger an API call to fetch metadata, while others return a resolved URL with empty bibliographic fields (termed 'cheap by design'). However, it does not mention side effects, error conditions, or rate limits, and does not explicitly declare it as read-only. It adds useful context but is not fully transparent.

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 two sentences with no fluff. The core purpose is front-loaded, followed by the key behavioral distinction for arXiv versus other sources. Every sentence earns its place, and it is appropriately concise for a tool with one parameter.

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?

Given the tool's simplicity (one parameter, no annotations) and the existence of an output schema, the description covers essential behavior: resolving inputs and returning specific metadata for arXiv, while handling other sources efficiently. It could be more complete by mentioning error handling or URL format requirements, but these are minor gaps. Overall, it provides enough context for an agent to call the tool correctly.

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 description coverage is 0%, so the description must compensate. It does by explaining that input_str accepts arXiv IDs/URLs, bioRxiv URLs, DOIs, or generic URLs, adding meaning beyond the schema's simple 'string' type. It does not specify exact formats or validation rules, but the accepted types are clearly stated, which is sufficient for a single simple parameter.

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 states a specific verb ('Resolve') and a clear resource ('arXiv ID/URL, bioRxiv URL, DOI, or generic URL') with a defined output ('canonical metadata'). It also differentiates behavior by input type, which helps distinguish it from sibling tools like fetch_paper_text that likely handle full text.

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 intended use is implied by the purpose ('resolve... to canonical metadata'), but there is no explicit mention of when to use this tool versus alternatives or when not to use it. It does not compare with siblings or provide selection criteria, such as 'use fetch_paper_text for full text'. Guidance is only implicit.

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

healthA

Return a small health report — confirms the server is alive and configured.

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription
serverNo
versionYes
transportsYes
anthropic_configuredYes

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that the tool returns a report and indicates a read-only behavior ('confirms' and 'report'). It does not mention side effects or permissions, but for a health check, these are arguably non-issues. The description goes beyond trivial naming by explaining the report's content.

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 one concise, front-loaded sentence that states the action and its purpose without any fluff. Every word contributes value. It is appropriately sized for a tool this trivial.

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?

For a zero-parameter tool with an output schema present, the description is fully sufficient. It tells the agent what the tool returns and what it confirms. No additional details (e.g., exact format) are needed because the output schema handles that. The description is complete for its purpose.

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?

The tool has zero parameters, so the schema fully covers parameter semantics (coverage is 100%). The baseline for 0-parameter tools is 4, and the description adds no unnecessary parameter information. It correctly focuses on the output and purpose.

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 uses a specific verb ('Return') and resource ('health report') and specifies the purpose: 'confirms the server is alive and configured.' This clearly distinguishes it from the sibling tools, all of which are paper-related and involve data retrieval or analysis.

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 implies the tool is for checking server status but does not explicitly state when to use it versus alternatives or provide exclusions. There is no mention of 'use this when...' or 'instead of...'. Given the simplicity and obvious distinctiveness from paper-processing siblings, the implicit context is acceptable but not explicitly stated.

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

methods_repro_reviewA

Resolve a paper + extract methods + find its code repo + assess reproducibility — in one call.

Returns a MethodsReproReview object. Read narrative first — it's a plain-English summary of everything retrieved, with every numeric score echoed in context (e.g. "moderate confidence (0.72)"). Then:

  • status: "ok" (all sub-steps succeeded), "partial" (some failed — see errors), or "empty" (couldn't even resolve the input paper).

  • metadata, methods, code_repo, repro_assessment: the structured sub-results. Any step that failed contributes null for its key; null means unavailable, not zero.

  • errors: list of {step, error_type, message, hint} — one entry per failed sub-step, with an actionable hint where the failure pattern is recognised (e.g. missing ANTHROPIC_API_KEY, rate-limit, 404, timeout).

For the meaning of numeric scores and verdict buckets, see the "Scores & verdicts explained" section of the README.

NameRequiredDescriptionDefault
modelNo
input_strYes

Output Schema

NameRequiredDescription
errorsNo
statusYesTop-level status of a composite-tool call. `ok` — every sub-step succeeded. `partial` — at least one sub-step failed (see `errors`) but we have usable results. `empty` — we couldn't even resolve the paper input; no sub-steps ran.
methodsNo
metadataNo
code_repoNo
narrativeYes
repro_assessmentNo

TDQS

A3.6/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 disclosing behavior, and it does so well. It explains the possible status values (ok/partial/empty), the semantics of null keys (unavailable, not zero), and the structure of errors including hints. It also tells the agent to read 'narrative' first and mentions failure patterns like missing ANTHROPIC_API_KEY, rate-limit, and timeouts. It does not explicitly state read-only semantics or potential side effects, but the error hints imply network calls; overall it is transparent for a composite read tool.

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 reasonably concise for the complexity, with the core purpose front-loaded in the first sentence and the return structure laid out in a clear bullet list. It avoids redundancy and uses formatting to separate fields. It references the README for score meanings, which is a minor downside but acceptable given the length. Overall, it is well-structured and not bloated.

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

Completeness2/5

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

Despite the complexity (composite of four steps), the description omits critical details needed to call the tool: the input format for input_str and the meaning of model. It also defers score/verdict details to the README, which is a gap because the agent receives no inline explanation. With no annotations and no parameter descriptions, the description is not self-sufficient for correct invocation, leaving the agent with unanswered questions about required inputs.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain both parameters. It only hints that input_str is a paper identifier ('Resolve a paper') but never specifies the format (DOI, arXiv ID, URL, or free text). The model parameter is completely unmentioned, leaving the agent clueless about its purpose or allowed values. This is a significant gap that forces the agent to guess or consult external docs.

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 a specific verb and resource: it resolves a paper, extracts methods, finds a code repo, and assesses reproducibility in one call. It enumerates the sub-steps explicitly, which distinguishes it from the single-purpose sibling tools (e.g., extract_methods, find_code_repo) and makes its combined scope immediately obvious. The phrase 'in one call' reinforces its composite nature.

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 implies the tool is a convenience for getting all four results at once, but it does not explicitly state when to use it versus calling individual siblings, nor does it mention any exclusions or prerequisites. It says 'in one call' but does not say 'use this when you need all steps' or 'if you only need X, use Y'. This leaves the agent to infer the use case without explicit routing guidance.

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

summarize_paperA

Generate an LLM summary of a paper in one of three modes.

abstract = 2-3 sentences close to the authors' framing. tldr = one-line takeaway. exec = executive summary (what / found / why-it-matters).

NameRequiredDescriptionDefault
modeNotldr
modelNo
input_strYes

Output Schema

NameRequiredDescription
modeYes
summaryYes
paper_idYes
key_findingsNo
extraction_modelYes
methodology_onelinerYes

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It reveals that summaries are LLM-generated and specifies the output format for each mode, which is useful. However, it does not mention read-only status, side effects, required permissions, or any potential costs or delays. This is a moderate level of transparency.

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. It opens with a clear purpose sentence, then lists each mode with its output specification using a bullet-like format. Every sentence contributes value with no redundancy.

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

Completeness3/5

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

The tool appears simple (3 params, 1 required), and the description explains the output for each mode. However, the required parameter 'input_str' is not defined, and the 'model' parameter is left unexplained. No mention of error handling or typical usage scenarios. The description is adequate for a simple tool but has noticeable gaps.

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 0%, so the description must compensate. It does explain the 'mode' enum values thoroughly, adding meaning beyond the schema. However, it does not clarify 'input_str' (presumably the paper text) or 'model' (which model to use). This partial compensation earns a middle score.

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 tool's purpose with a specific verb ('Generate') and resource ('a paper'), and defines three distinct modes of output. This distinguishes it from sibling tools like extract_methods or fetch_paper_text, which have different functions. The mode definitions add precision.

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 explains the three mode options in detail, which helps an agent decide which mode to use. However, it does not explicitly state when to use this tool versus alternatives such as extract_methods or methods_repro_review. The usage context is implied by the name and purpose, but not explicitly guided.

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. 8 tool updatesv0.1.7
    • First observedassess_repo_reproducibility
    • First observedextract_methods
    • First observedfetch_paper_text
    • First observedfind_code_repo
    • First observedget_paper_metadata
    • First observedhealth
    • First observedmethods_repro_review
    • First observedsummarize_paper

TDQS

A3.8/5.0

Scored across 8 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: health check, metadata resolution, text fetching, methods extraction, code repo discovery, reproducibility assessment, summarization, and a combined orchestration tool. The composite tool is explicitly described as a one-call pipeline, so no confusion with individual steps.

Naming Consistency3/5

Most tools follow a verb_noun pattern (get, fetch, extract, find, assess, summarize), but 'health' is a bare noun and 'methods_repro_review' is a noun phrase without a verb. These deviations break the otherwise consistent snake_case convention.

Tool Count5/5

8 tools is well within the ideal range, and each tool maps to a specific stage in the paper analysis pipeline. No redundancy or unnecessary duplication, and the count feels appropriately scoped for the server's reproducibility-focused purpose.

Completeness4/5

The tool surface covers the entire workflow from paper resolution to reproducibility assessment, including a composite endpoint. Minor gaps like search or fine-grained section access are absent but not essential to the stated domain, making the set largely complete.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables discovery and analysis of research ecosystems by extracting metadata from paper URLs, GitHub repositories, and research names. Automatically finds related papers, code repositories, models, datasets, and authors across platforms like arXiv, HuggingFace, and GitHub.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables arXiv paper search, PDF download, text extraction, and context chunking for LLM pipelines, along with advanced features like citation graphs and reproducibility scoring.
    2
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables users to search and analyze academic papers from multiple sources, fetch metadata and full text, and build structured outputs like literature maps and paper comparisons.
    73 npm
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables agents to search papers across Semantic Scholar and arXiv, read and extract text from arXiv PDFs, align records across sources, and produce structured literature-analysis digests.
    10
    1
    -