# Code of Paper MCP server

> Lets an AI client search arXiv research papers and find their corresponding GitHub implementations.

- Repository: https://github.com/isagelswann/codeofpaper-cli
- Page: https://hostedmcp.org/servers/isagelswann/codeofpaper-cli
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 0.3.2

## Install

### Claude Code

```sh
claude mcp add codeofpaper-cli -- uvx codeofpaper
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "codeofpaper-cli": {
      "command": "uvx",
      "args": [
        "codeofpaper"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "codeofpaper-cli": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "codeofpaper"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"codeofpaper-cli","type":"stdio","command":"uvx","args":["codeofpaper"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "codeofpaper-cli": {
      "command": "uvx",
      "args": [
        "codeofpaper"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add codeofpaper-cli -- uvx codeofpaper
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.codeofpaper-cli]
command = "uvx"
args = ["codeofpaper"]
```

### Gemini CLI

```sh
gemini mcp add -s user codeofpaper-cli uvx -- codeofpaper
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "codeofpaper-cli": {
      "command": "uvx",
      "args": [
        "codeofpaper"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `ARXIV_ID` | no | no |  |
| `CODEOFPAPER_API_URL` | no | no | Override the API base URL (default https://api.codeofpaper.com). |
| `CODEOFPAPER_CA_BUNDLE` | no | no |  |

## FAQ

### Do I need an API key to use Code of Paper?

No, the service works anonymously with a limit of 60 requests per minute.

### How can I use this with Claude Desktop?

You can add the server to your Claude Desktop configuration file using the uvx command to run the mcp-compatible entry point.
