Paper2Agent
Turn a research paper and its code repository into tested MCP tools your coding agent can call.
- Source repo
- jmiao24/Paper2Agent
- Stars
- ★ 4.1k
- Last updated
- 2mo ago
- FARS reviewed
- Nov 26, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 49/100 · Major gaps
At a glance
- How it runs
- Works with
- Portable with changesCodex · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A single-cell team wants the Scanpy paper repository turned into callable tools, scoped to the "Preprocessing and clustering" tutorial only.
- Not a fit if
- Teams without a coding-agent host that supports skills and parallel subagents
- Air-gapped environments where cloning repositories and installing dependencies is blocked
- Readers who only want a paper summary, not a runnable MCP server
- Maintenance
- Commits in the last 6 monthslast commit 2026-09-17+3.3 ★/day over 7 days
- Source review
- 49/100 · Major gaps 1 safety controls not found
What does this agent do, and when should you use it?
Paper2Agent is a multi-agent system shipped as an installable skill (skills/paper2agent/SKILL.md) for coding-agent hosts such as Claude Code and Codex. Given a paper plus its code repository, or local files, a coordinator agent spawns parallel specialist subagents that build isolated project environments, record the versions they actually test, implement MCP tools and skills, and hand the result to fresh verifier agents. The deliverable is a ZIP containing a runnable local MCP server plus a USAGE.md that documents the tested interpreter, server entry point, required environment variables and supported platforms. Generated servers can also be hosted remotely — the project lists AlphaGenome, Scanpy and TISSUE endpoints on Hugging Face — and reached over HTTP by any MCP client. The repository supplies no model or hosting stack of its own: the host coding agent provides the LLM, and the target project's data, API keys, R or GPU needs must still be met. It is MIT-licensed.
The user invokes the paper2agent skill inside a coding agent (/paper2agent in Claude Code, $paper2agent in Codex) with a paper, an optional code repository and an output directory. The skill's coordinator launches parallel specialist subagents through the host; they read the paper and repository, create isolated project environments, install and pin dependencies, and write MCP tool implementations and skills, optionally narrowed to a specific task, tutorial title or tutorial URL. Credentials are read from the host's secret mechanism or a named environment variable such as ALPHAGENOME_API_KEY and are kept out of generated code, notebooks, reports and the delivered ZIP. Fresh verifier agents re-check the tools before delivery, and the ZIP's USAGE.md records the tested interpreter, entry point, environment variables and platforms. Users then connect the server locally or point an MCP client at a hosted endpoint and confirm with claude mcp list or /mcp.
- A single-cell team wants the Scanpy paper repository turned into callable tools, scoped to the "Preprocessing and clustering" tutorial only.
- A spatial transcriptomics lab wants the TISSUE codebase wrapped as an MCP server so it can request 95% prediction intervals for gene expression in chat.
- A genomics group needs an AlphaGenome agent for variant interpretation while keeping the API key out of generated artifacts.
- An engineering team wants an internal paper's companion repository converted into MCP tools in a named project directory with reproducible usage notes.
- Paper authors want to publish their method as an MCP server, local or hosted on Hugging Face, that Claude Code, Codex or Gemini CLI can connect to.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Environment variables
GITHUB_URL_OR_LOCAL_PATHPROJECT_DIRALPHAGENOME_API_KEYMCP_ENDPOINT_URL
How do you install or deploy this agent?
Prerequisites: a coding-agent host with skill support, shell access and parallel subagent spawning enabled, plus Python and Git; the selected repository's own R, native CLI, data, API or GPU requirements must also be satisfiable.
Clone the repository:
git clone https://github.com/jmiao24/Paper2Agent.git
cd Paper2AgentInstall the whole skill folder for Claude Code (copy all subdirectories and supporting files):
mkdir -p "$HOME/.claude/skills/paper2agent"
cp -R skills/paper2agent/. "$HOME/.claude/skills/paper2agent/"Install it for Codex:
mkdir -p "$HOME/.agents/skills/paper2agent"
cp -R skills/paper2agent/. "$HOME/.agents/skills/paper2agent/"If the skill does not appear after installation, restart the coding agent. The generated server's dependencies are installed into its project environment by the skill during conversion.
How do you use this agent?
Start your coding agent in the analysis workspace and use the general prompt so the host installs the skill and begins the conversion:
Read https://github.com/jmiao24/Paper2Agent and install the paper2agent skill
from skills/paper2agent for this coding agent.
Use the paper2agent skill to agentify this paper and its associated files,
alongside its code repository if available. Follow the skill instructions
for the workflow, verification, and final delivery.
Paper and associated files: <PAPER_URL_OR_LOCAL_FILES>
Code repository (if available): <GITHUB_URL_OR_LOCAL_PATH>
Output directory: <PROJECT_DIR>In Claude Code, target a specific task or tutorial with the slash command (use $paper2agent in Codex):
/paper2agent Convert https://github.com/scverse/scanpy into tested MCP tools in Scanpy_Agent.
Focus on the "Preprocessing and clustering" tutorial.When credentials are needed, name the environment variable instead of pasting the key:
/paper2agent Convert https://github.com/google-deepmind/alphagenome into tested MCP tools in AlphaGenome_Agent.
Read the API key from the environment variable ALPHAGENOME_API_KEY.After extracting the delivered ZIP, follow its USAGE.md to install dependencies and configure the client; to attach a hosted endpoint over HTTP:
claude mcp add --transport http <MCP_NAME> <MCP_ENDPOINT_URL>Then verify the connection:
claude mcp listInside Claude Code you can also use /mcp, and should run one real tool call to confirm the scientific workflow works on your inputs.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.
What are this agent's strengths and limitations?
- Delivers a runnable local MCP server plus a USAGE.md with tested interpreter, entry point and environment variables — not just documentation or a notebook.
- Separates implementation from validation: a coordinator spawns specialist subagents and fresh verifier agents re-check the output.
- One skill folder installs into both Claude Code and Codex, and generated servers can be consumed by any MCP client over HTTP.
- Credentials flow through the host's secret mechanism or a named environment variable and stay out of generated code, notebooks, reports and the ZIP.
- Three worked demo agents (AlphaGenome, TISSUE, Scanpy) with hosted endpoints let you judge output quality before running your own paper.
- MIT license allows modification of both the skill and its outputs.
- Requires a host with skill support, shell access and parallel subagent spawning; simpler chat surfaces cannot run it.
- Brings no model of its own — quality tracks the host coding agent, and model usage may carry its own costs.
- Output quality depends on how runnable the source paper and repository are; R, native CLIs, licensed data, API keys or GPUs remain your problem.
- Install paths differ per host (~/.claude/skills vs ~/.agents/skills), and a misplaced folder only shows up as a missing skill until you restart.
- Produces MCP servers and skills only; no bundled web UI, management console, SLA or pricing information is documented.
- No additional repository guidance file is provided, so workflow detail must be read from skills/paper2agent/SKILL.md.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Paper2Agent This agent | 49 · Major gaps | Agent plugin / skillFree + model costs | ★ 4.1k | 2mo ago | Python | Codex · Claude Code |
| aisync | 70 · Some gaps | CLIFree | ★ 50 | 1d ago | Python | Codex · Claude Code |
| Concord MCP | 75 · Good | — | ★ 1.7k | today | TypeScript | Codex · Claude Code |
| Graft Code Context Layer | 52 · Major gaps | CLIFree + model costs | ★ 12k | 8d ago | TypeScript | Codex · Claude Code · OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
README and SKILL require a host with shell access and parallel subagent spawning, and the workflow clones/runs research repositories and installs dependencies. Isolated project environments and environment-variable credentials are limited safeguards; there is no explicit least-privilege policy, pre-execution confirmation, external-call inventory, or rollback mechanism. Credentials staying out of generated artifacts is a positive, but trust controls are thin overall, so least_privilege, user_confirmation, data_flow_transparency, sensitive_data_handling, dependency_security, and external_effects are 1, rollback is 0, and source_attribution is 2 for paper/repository citation and MIT copyright.
README/SKILL routing for paper-only, code-only, and combined runs is consistent, and completion markers plus blocked/partial reporting are defined. However, dependency versions are only said to be recorded as tested versions, with no lockfile or hashes, and failure messages are mostly procedural rather than concrete error examples. self_consistency is 2, dependency_availability is 1, failure_messages is 1.
The material covers multiple hosts, paper/code/combined inputs, targeted tasks, API keys, and remote MCP servers. It explicitly says paper methods/code are not executed, tools must bind to existing implementations, and a host capable of spawning subagents is required. Triggers are clear but lack negative triggers or a boundary checklist, and the environment requirement is narrow, so each is 2.
README structure is clear, installation steps are specific to Claude Code/Codex paths, and the MIT license is complete. Examples and demos exist but there is no FAQ; limitations appear only in workflow prose; there is no version number or changelog; maintenance responsibility is not stated. install_notes and license are 3, examples_and_faq and known_limitations are 1, versioning_changelog and maintenance_responsibility are 0, and the rest are 2.
The output contract includes skill/MCP/ZIP/USAGE.md and verification, and the value proposition is clear. But it requires shell access, parallel subagents, dependency installation, and potentially GPU/API resources, with no cost or alternative analysis. output_usability is 2, marginal_value is 2, cost_benefit is 1.
The paper skill requires section/figure/table citations and distinguishes authors' reported findings from interpretation; the workflow includes independent verifiers and keeps evidence outside the deliverable; README, SKILL, and sub-skills are mutually consistent. However, README claims such as “reliable” and the Nature citation have no independent reproduction evidence in the packet, so claim_traceability, cross_source_corroboration, and fact_inference_separation are 2.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- The skill instructs the host to clone and run research repository code and install dependencies, which can create external API, GPU, or filesystem side effects; review target repositories and restrict permissions before execution.
- Credentials are recommended via environment variables and kept out of deliverables, but there is no defined cleanup policy for logs, caches, or generated reports containing sensitive data.
- Dependency versions are only described as recorded tested versions; no lockfiles, hashes, or vulnerability scanning are shown, so pin and audit dependencies before production use.
- There is no version number, changelog, maintenance responsibility, or security contact; publisher identity is unverified, and the long-term maintenance/update path is unclear.
FAQ
Do I need to pay for a model API myself?
What exactly do I get after a conversion?
Can it handle a paper without a code repository?
Does it work inside ChatGPT?
How are API keys handled during generation?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.