# Paper2mcp

Convert Python, R, or command-line research repositories into tested MCP tools through...

- Repository: https://github.com/jmiao24/Paper2Agent (3928 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-09-17
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add jmiao24/Paper2Agent --skill paper2mcp -g -a claude-code -y`
Codex: `npx skills add jmiao24/Paper2Agent --skill paper2mcp -g -a codex -y`
Cursor: `npx skills add jmiao24/Paper2Agent --skill paper2mcp -g -a cursor -y`
Gemini CLI: `npx skills add jmiao24/Paper2Agent --skill paper2mcp -g -a gemini-cli -y`

## Description

Convert Python, R, or command-line research repositories into tested MCP tools through useful tool selection, minimal wrappers around existing code, parallel specialists, and independent verification. Use for repository-to-MCP conversions and resumes; requires a host with agent spawning.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Paper2MCP

Build a tested MCP server from a research repository. Select useful operations, bind each to an existing implementation, and expose it through a minimal wrapper. Scientific computation stays in the repository's code; the skill coordinates selection, execution, implementation, and verification.

## Start here

1. Obtain the repository URL or local checkout, output project directory, and any requested tasks, source/tutorial filter, or resource limits. Ask only for missing required inputs.
2. Read [orchestration](references/orchestration.md) for workspace setup, agent assignments, handoffs, and resume behavior.
3. Read [language and hardware routing](references/language-routing.md). Choose Python, R, or CLI by the interface being converted. Use the Python stages below or the [R](references/routes/r.md) / [CLI](references/routes/cli.md) route.
4. Apply [tool selection and minimal wrappers](references/tool-selection-and-wrapping.md) during scanning, implementation, and independent verification. Read [runtime requirements](references/runtime.md) when preparing environments and validating the server. Load only the current stage and relevant role instructions.

## Workflow

The rest: https://github.com/jmiao24/Paper2Agent/blob/HEAD/skills/paper2agent/paper2mcp/SKILL.md
