Code of Paper
概要
作者による説明(英語の原文)
Find GitHub implementations of arXiv research papers — paper lookup, ranked code, search.
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: 検索・AIの記憶
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 2/2 合格 · あなたのパソコンで動きます
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
Code of Paper のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "codeofpaper": { "command": "uvx", "args": [ "codeofpaper" ], "env": { "CODEOFPAPER_API_URL": "your-value" } } } }キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude を終了してもう一度開く
試してみる
Code of Paper を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Code of Paper を使っていると言うか、回答に Code of Paper のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Code of Paper につなげません
Code of Paper はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Code of Paper につなげるアプリを使う
- Code of Paper のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- Code of Paper のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- Code of Paper のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- Code of Paper のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
B · 検索・AIの記憶 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- AIHOT✓ ChatGPT
- Sui Knowledge Base (kapa.ai)✓ ChatGPT
- Exa✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
Code of Paper のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add codeofpaper --env CODEOFPAPER_API_URL=your-value -- uvx codeofpaperEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude Code で /mcp と入力
Code of Paper が一覧にあり、接続済みと表示されれば OK です
試してみる
Code of Paper を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Code of Paper を使っていると言うか、回答に Code of Paper のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
Code of Paper のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
キーを入力
Code of Paper の設定で CODEOFPAPER_API_URL が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Cursor の AI チャットを Agent モードで開く
試してみる
Code of Paper を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Code of Paper を使っていると言うか、回答に Code of Paper のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
Code of Paper のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
キーを入力
Code of Paper の設定で CODEOFPAPER_API_URL が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
VS Code の AI チャットを Agent モードで開く
試してみる
Code of Paper を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Code of Paper を使っていると言うか、回答に Code of Paper のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add codeofpaper --env CODEOFPAPER_API_URL=your-value -- uvx codeofpaperClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"codeofpaper": {
"command": "uvx",
"args": [
"codeofpaper"
],
"env": {
"CODEOFPAPER_API_URL": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"codeofpaper": {
"command": "uvx",
"args": [
"codeofpaper"
],
"env": {
"CODEOFPAPER_API_URL": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"codeofpaper": {
"type": "stdio",
"command": "uvx",
"args": [
"codeofpaper"
],
"env": {
"CODEOFPAPER_API_URL": "your-value"
}
}
}
}自分で入力する値
CODEOFPAPER_API_URLenvOverride the API base URL (default https://api.codeofpaper.com).
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月11日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント isagelswann で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:22 日前
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの5884件のうち75%よりスターが多い
- このカテゴリのほかの5884件のうち15%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5884件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Code of Paperは安全ですか?
当てはまる基本チェック2項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は22 日前、最新バージョン(0.3.2)がレジストリに届いたのは5 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
代わりに使えるものは?
同じカテゴリには:Ruflo, Context7, Metabase
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Code of Paper CLI
Maintenance mode. This CLI and MCP server are not actively developed. They keep working as long as api.codeofpaper.com is up; issues may go unanswered.
Discover GitHub implementations of research papers — from the terminal.
Search 181k+ arXiv papers and find their code on GitHub. Works for humans and AI agents alike.
Install
pip install codeofpaper
Or with pipx for isolated installs:
pipx install codeofpaper
Requires Python 3.10+. No API key needed — works anonymously at 60 requests/minute.
Quick Start
# Search for papers
codeofpaper search "vision transformers"
Get paper details (arXiv IDs or full URLs both work)
codeofpaper paper 2010.11929 codeofpaper paper https://arxiv.org/abs/2010.11929
Find code implementations
codeofpaper code 1706.03762
Browse trending papers with code
codeofpaper trending --has-code
JSON output for scripts and agents
codeofpaper -o json trending | jq '.trending[] | {title, stars: .max_stars}'
One-shot reproducibility context for an agent: paper + confident repos
(with tier + framework + license) + fork-graph in a single JSON payload.
codeofpaper -o json paper 2010.11929 | jq '{title, repos: [.repos[] | {full_name, tier}], forks: [.fork_graph[] | .full_name]}'
Literature review in one command
codeofpaper research "reinforcement learning" --depth deep
Output Formats
Use -o / --output before the subcommand:
codeofpaper -o json paper 2010.11929
codeofpaper -o quiet search "attention" | head -5 codeofpaper -o csv trending --has-code > papers.csv
| Format | Flag | Use case |
|---|---|---|
| Table | -o table | Human reading (default) |
| JSON | -o json | Scripts, jq pipelines, full response data |
| Quiet | -o quiet | IDs only, one per line — pipe into other commands |
| JSONL | -o jsonl | Streaming, append to files, batch processing |
| BibTeX | -o bibtex | Citation managers, LaTeX bibliographies |
| CSV | -o csv | Spreadsheets, pandas, data analysis |
The shorthand -q is equivalent to -o quiet:
codeofpaper -q search "transformers" | head -3
You can set a default format via config so you don't need -o every time:
codeofpaper auth setup # then edit ~/.config/codeofpaper/config.json
Commands
Discovery
| Command | Description | Example |
|---|---|---|
search | Full-text paper search | codeofpaper search "vision transformers" --has-code |
paper | Paper details by arXiv ID or URL | codeofpaper paper 2010.11929 |
code | GitHub repos implementing a paper | codeofpaper code 1706.03762 |
similar | Semantically similar papers | codeofpaper similar 2010.11929 |
suggest | Autocomplete / quick lookup | codeofpaper suggest "attention" |
random | Random interesting paper | codeofpaper random --quality high |
Browsing
| Command | Description | Example |
|---|---|---|
trending | Trending papers by category | codeofpaper trending --category cs.CV --sort hot |
categories | List categories or get details | codeofpaper categories cs.AI |
conferences | List all conference series | codeofpaper conferences |
conference | Papers from a specific conference | codeofpaper conference neurips_2024 --has-code |
code-drops | Recent conference papers with new code | codeofpaper code-drops --days 7 |
repo | Reverse lookup: repo → paper | codeofpaper repo google-research/vision_transformer |
open | Open paper or repo in browser | codeofpaper open 2010.11929 --code |
Bulk Operations
| Command | Description | Example | |
|---|---|---|---|
research | Structured research overview | codeofpaper research "RL" --depth deep | |
batch | Process multiple IDs from stdin/file | `cat ids.txt \ | codeofpaper batch paper` |
export | Paginated bulk export | codeofpaper export trending -o csv > out.csv |
Configuration
| Command | Description | Example |
|---|---|---|
auth | Manage API key (setup/status/clear) | codeofpaper auth status |
status | Check API health and stats | codeofpaper status |
Command Details
search
codeofpaper search "reinforcement learning" --sort has_code --has-code
codeofpaper search "GAN" --limit 20 --offset 10
Options: --limit, --offset, --sort (relevant, recent, has_code), --has-code, --category.
research
Multi-step orchestrated overview of a research topic:
codeofpaper research "vision transformers" --depth deep
| Depth | Steps | API calls |
|---|---|---|
shallow | Search only + landscape statistics | 1 |
medium | Search + repos for top papers (default) | ~6 |
deep | Search + repos + similar papers from #1 | ~8 |
batch
Process multiple queries or IDs from a file or stdin. Always outputs JSONL regardless of -o:
# From a file
codeofpaper batch paper ids.txt
From stdin
echo -e "2010.11929\n1706.03762" | codeofpaper batch paper
Pipe from another command
codeofpaper -q similar 2010.11929 | codeofpaper batch code
Supported commands: paper, search, code, similar, suggest.
Each line produces one JSON object:
{"input": "2010.11929", "status": "ok", "data": {...}}
{"input": "9999.99999", "status": "error", "error": "Not found"}
Options: --delay (seconds between calls, default 0.5).
export
Paginated bulk export from trending, conference, or search:
codeofpaper export trending --category cs.CV --has-code -o csv > cv.csv
codeofpaper export conference neurips_2024 --has-code -o bibtex > neurips.bib codeofpaper export search "transformers" --max 500 -o jsonl > data.jsonl
Auto-paginates through results (100 per page, 0.5s delay). Options: --max (default 200), --has-code, --category, --days.
Agent Integration
The CLI is designed for AI agent consumption. Key features:
Stable Exit Codes
Agents can branch on exit codes without parsing error messages:
| Exit Code | Meaning | Agent Action |
|---|---|---|
| 0 | Success | Parse stdout |
| 1 | General error | Log and report |
| 2 | Connection error | Retry with backoff |
| 3 | Not found (404) | Skip or try different ID |
| 4 | Rate limited (429) | Wait and retry |
| 5 | Auth required (401/403) | Run codeofpaper auth setup |
Machine-Readable Output
# JSON for structured parsing
codeofpaper -o json paper 2010.11929 | jq '.title'
Quiet mode for ID lists
codeofpaper -q search "attention" | head -5
JSONL for streaming
codeofpaper -o jsonl trending --has-code | while read -r line; do echo "$line" | jq -r '.arxiv_id' done
HTTP Cache
Responses are cached on disk for 30 minutes (~/.cache/codeofpaper/http/), so repeated calls are instant and free.
MCP Server (optional)
Code of Paper ships an optional Model Context Protocol server that exposes paper / code lookup as tools to any MCP-compatible agent — Claude Desktop, Cursor, Continue, Cline, Zed, etc.
Install with the mcp extra:
pip install 'codeofpaper[mcp]'
or, with uv:
uv tool install 'codeofpaper[mcp]'
This adds a codeofpaper-mcp entry point that speaks MCP over stdio.
Wire into Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), %APPDATA%\Claude\claude_desktop_config.json (Windows), or ~/.config/Claude/claude_desktop_config.json (Linux):
{
"mcpServers": { "codeofpaper": { "command": "uvx", "args": ["--from", "codeofpaper[mcp]", "codeofpaper-mcp"] } } }
This pulls + runs the server on demand — no global install needed. If you've already pip install'd the package, you can replace the command with just "codeofpaper-mcp" and drop args.
Wire into Cursor / Continue / Cline
Most MCP clients accept the same shape:
{
"mcpServers": { "codeofpaper": { "command": "codeofpaper-mcp", "env": { "CODEOFPAPER_API_URL": "https://api.codeofpaper.com" } } } }
Tools exposed
| Tool | Purpose |
|---|---|
paper_lookup(paper_id_or_url) | Paper metadata + confident-tier repos |
code_for_paper(paper_id_or_url, limit, include_possible) | Ranked GitHub repos implementing a paper |
search_papers(query, limit, year, venue, has_code) | Free-text paper search with filters |
All tools are read-only, return plain JSON, and surface API errors as {"error": "...", "status": N} rather than throwing — agents get structured output either way.
Common Workflows
Core Discovery
# Find papers with code about a topic
codeofpaper search "reinforcement learning" --sort has_code --has-code
Get the best repo for a specific paper
codeofpaper code 1706.03762
Accepts arXiv URLs — no need to extract the ID
codeofpaper paper https://arxiv.org/abs/2010.11929
Reverse lookup: what paper does this repo implement?
codeofpaper repo google-research/vision_transformer
Open a paper in the browser, or jump straight to its code
codeofpaper open 2010.11929 codeofpaper open 2010.11929 --code
Browsing & Monitoring
# What's trending in computer vision?
codeofpaper trending --category cs.CV --sort hot
Conference papers that just got new code
codeofpaper code-drops --days 7
NeurIPS 2024 oral papers with code
codeofpaper conference neurips_2024 --track oral --has-code
Daily monitoring: what's new in my field?
codeofpaper trending --category cs.CV --days 1 -o json >> ~/research/daily_cv.jsonl
Composable Pipelines
# Find implementations of a paper's related work
codeofpaper similar 2010.11929 -o quiet | codeofpaper batch code
Batch process a reading list
cat reading_list.txt | codeofpaper batch paper > enriched.jsonl
Cross-reference with GitHub CLI
codeofpaper code 1706.03762 -o quiet | head -1 | xargs gh repo view
Export conference papers as BibTeX
codeofpaper export conference neurips_2024 --has-code -o bibtex > neurips2024_code.bib
Bulk export a category for meta-analysis
codeofpaper export trending --category cs.CV --has-code --days 365 -o csv > cv_with_code.csv
Multi-Step Scripts
# Find a paper → get top repo → clone it
REPO=$(codeofpaper search "attention is all you need" -o quiet | head -1 | \ xargs codeofpaper code -o json | jq -r '.top_repos[0].full_name') gh repo clone "$REPO"
Discover a random paper and explore its neighborhood
ID=$(codeofpaper random --quality high -o quiet) codeofpaper paper "$ID" codeofpaper similar "$ID" codeofpaper code "$ID"
Quick paper lookup in a script
ARXIV_ID="2010.11929" TITLE=$(codeofpaper -o json paper "$ARXIV_ID" | jq -r '.title') echo "Paper: $TITLE"
Configuration
Config is stored as JSON via platformdirs:
| OS | Path |
|---|---|
| Linux | ~/.config/codeofpaper/config.json |
| macOS | ~/Library/Application Support/codeofpaper/config.json |
| Windows | %APPDATA%\codeofpaper\config.json |
Fields:
{
"api_url": "https://api.codeofpaper.com", "api_key": null, "default_format": "table", "ca_bundle": null }
No config file needed — everything works out of the box with sensible defaults.
Priority Chain
Options are resolved in this order (first wins):
- CLI flag (
--api-url,--api-key,--ca-bundle,-o) - Environment variable (
CODEOFPAPER_API_URL,CODEOFPAPER_API_KEY, `CODEOFP