pwc CLI, Skill, and MCP server
A fast command-line client for exploring and editing the
Papers with Code catalog, alongside a Skill for
coding agents and a hosted Model Context Protocol server.
MCP server
The mcp_server package exposes an anonymous, read-only,
agent-native interface over Streamable HTTP. It supports MCP 2026-07-28 and
legacy 2025-era clients from one endpoint, with one tool per pwc research
command: papers, related work, lineage, tasks, methods, conferences,
organizations, frameworks, benchmarks, and filtered leaderboard evaluations.
A hosted instance runs at https://paperswithcode.co/mcp. It needs no API key
or sign-in. Connect your client:
# Claude Code
claude mcp add --transport http paperswithcode https://paperswithcode.co/mcp
# Codex
codex mcp add paperswithcode --url https://paperswithcode.co/mcp
For Cursor (.cursor/mcp.json) and other clients that read an mcpServers
config:
{
"mcpServers": {
"paperswithcode": {
"url": "https://paperswithcode.co/mcp"
}
}
}
Claude plugin
claude_plugin bundles the hosted server with the pwc-mcp
skill as a Claude plugin. In Claude Code:
/plugin marketplace add huggingface/pwc-cli
/plugin install paperswithcode@paperswithcode
The plugin's version tracks pwc-mcp, and its skill must match
mcp_server/src/pwc_mcp/SKILL.md; copy the file and bump both versions
together.
In VS Code (.vscode/mcp.json), use "servers" with "type": "http" and the
same URL. In Claude.ai or Claude Desktop, add it under Settings → Connectors →
Add custom connector.
Run it locally with:
uv run --project mcp_server pwc-mcp
See mcp_server/README.md for tools, resources,
configuration, security limits, and hosting details.
Let your coding agent use pwc to:
- search papers
- browse benchmarks and find state-of-the-art (SOTA) by domain
- read paper metadata and Markdown
- discover recent, trending, and related work
- inspect paper lineage (follow-up work and predecessors)
- explore tasks, methods, conferences, organizations, and frameworks.
Public reads are anonymous: no account, API token, or Python environment is required.
pwc search "small vision language models" --limit 3
pwc paper info 2501.01234
It's recommended to also install the Skill so your coding agent knows how to use the CLI.
Installation
Prebuilt binary (recommended)
The installer downloads the binary for your platform, verifies its SHA-256
checksum, and installs it as ~/.local/bin/pwc:
pwc_repo=https://raw.githubusercontent.com/huggingface/pwc-cli/main
curl -LsSf "$pwc_repo/standalone_cli/install.py" | python3
The installer selects the latest release by default. Pass --version VERSION
after python3 - to explicitly pin a release. It also reports whether
~/.local/bin is on PATH and prints a persistent shell instruction when
needed.
Prebuilt releases support:
- Linux x86-64
- macOS Intel (x86-64)
- macOS Apple Silicon (arm64)
Every release includes checksum files and GitHub build-provenance attestations.
See the latest release
to download and verify an artifact manually.
Install from source
Python 3.10 or newer is required for source installations.
With uv:
uv tool install 'git+https://github.com/huggingface/pwc-cli.git#subdirectory=standalone_cli'
Or with pipx:
pipx install 'git+https://github.com/huggingface/pwc-cli.git#subdirectory=standalone_cli'
To work from a clone instead:
git clone https://github.com/huggingface/pwc-cli.git
cd pwc-cli
uv tool install ./standalone_cli
Confirm the installation:
pwc version
Add the CLI Skill
Skills give coding agents the context they need to choose and use pwc
commands effectively. The Skill is generated by your locally installed CLI, so
it matches that CLI version.
# Install for this project. Works with Codex, Cursor, OpenCode, and other
# agents that load Skills from .agents/skills.
pwc skills add
# Install for all projects in ~/.agents/skills.
pwc skills add --global
# Also make the Skill available to Claude Code.
pwc skills add --claude
pwc skills add --claude --global
For another coding-agent harness, pass its Skills directory explicitly:
pwc skills add --dest /path/to/skills
An existing installation is left untouched. Use --force to replace it with
the Skill generated by the currently installed CLI.
Quick start
Search the paper catalog:
pwc search "retrieval augmented generation"
pwc search "vision transformers" --mode semantic --limit 20
pwc search "attention" --page 2 --limit 10
pwc search "attention" --has-official-implementation
Inspect or read a paper: