原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Code of Paper

作者:isagelswann版本 0.3.2i★ –i在你的电脑上运行
注册名称io.github.isagelswann/codeofpaper

安装

概览

作者提供的说明(英文原文)

Find GitHub implementations of arXiv research papers — paper lookup, ranked code, search.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: CODEOFPAPER_API_URL

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "codeofpaper": {
      "command": "uvx",
      "args": [
        "codeofpaper"
      ],
      "env": {
        "CODEOFPAPER_API_URL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add codeofpaper --env CODEOFPAPER_API_URL=your-value -- uvx codeofpaper

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "codeofpaper": {
      "command": "uvx",
      "args": [
        "codeofpaper"
      ],
      "env": {
        "CODEOFPAPER_API_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "codeofpaper": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "codeofpaper"
      ],
      "env": {
        "CODEOFPAPER_API_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • CODEOFPAPER_API_URL env
    Override the API base URL (default https://api.codeofpaper.com).

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 isagelswann 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7246 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7246 个服务器的 14% 更新
  • 基础检查结果等于或优于此分类中其他 7246 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Code of Paper 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.2)于5个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT今天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT20天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 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

FormatFlagUse case
Table-o tableHuman reading (default)
JSON-o jsonScripts, jq pipelines, full response data
Quiet-o quietIDs only, one per line — pipe into other commands
JSONL-o jsonlStreaming, append to files, batch processing
BibTeX-o bibtexCitation managers, LaTeX bibliographies
CSV-o csvSpreadsheets, 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
CommandDescriptionExample
searchFull-text paper searchcodeofpaper search "vision transformers" --has-code
paperPaper details by arXiv ID or URLcodeofpaper paper 2010.11929
codeGitHub repos implementing a papercodeofpaper code 1706.03762
similarSemantically similar paperscodeofpaper similar 2010.11929
suggestAutocomplete / quick lookupcodeofpaper suggest "attention"
randomRandom interesting papercodeofpaper random --quality high
Browsing
CommandDescriptionExample
trendingTrending papers by categorycodeofpaper trending --category cs.CV --sort hot
categoriesList categories or get detailscodeofpaper categories cs.AI
conferencesList all conference seriescodeofpaper conferences
conferencePapers from a specific conferencecodeofpaper conference neurips_2024 --has-code
code-dropsRecent conference papers with new codecodeofpaper code-drops --days 7
repoReverse lookup: repo → papercodeofpaper repo google-research/vision_transformer
openOpen paper or repo in browsercodeofpaper open 2010.11929 --code
Bulk Operations
CommandDescriptionExample
researchStructured research overviewcodeofpaper research "RL" --depth deep
batchProcess multiple IDs from stdin/file`cat ids.txt \codeofpaper batch paper`
exportPaginated bulk exportcodeofpaper export trending -o csv > out.csv
Configuration
CommandDescriptionExample
authManage API key (setup/status/clear)codeofpaper auth status
statusCheck API health and statscodeofpaper 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
DepthStepsAPI calls
shallowSearch only + landscape statistics1
mediumSearch + repos for top papers (default)~6
deepSearch + 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 CodeMeaningAgent Action
0SuccessParse stdout
1General errorLog and report
2Connection errorRetry with backoff
3Not found (404)Skip or try different ID
4Rate limited (429)Wait and retry
5Auth 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
ToolPurpose
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:

OSPath
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):

  1. CLI flag (--api-url, --api-key, --ca-bundle, -o)
  2. Environment variable (CODEOFPAPER_API_URL, CODEOFPAPER_API_KEY, `CODEOFP

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx