Skip to content

Releases: isagelswann/codeofpaper-cli

v0.3.2 — MCP Registry verification marker

31 May 10:23

Choose a tag to compare

Adds the mcp-name marker to README so the wheel METADATA carries the ownership-verification string required by the official MCP Registry (registry.modelcontextprotocol.io) for PyPI packages.

No CLI / MCP surface changes — same code as v0.3.1.

v0.3.1 — LICENSE + ruff/CI hygiene

31 May 10:23

Choose a tag to compare

Repository hygiene + public-launch prep. No CLI or MCP surface changes.

Added

  • LICENSE file (MIT) shipped in sdist + wheel
  • [project.urls] entries for Repository, Issues, Changelog
  • GitHub Actions CI: pytest + ruff on Python 3.10-3.13
  • README documents CODEOFPAPER_TIMEOUT env var

Fixed

  • CLI error output no longer shows spurious During handling of the above exception… tail (21 raise ... from None/exc sites)

Internal

  • Ruff lint config under [tool.ruff.lint]
  • contextlib.suppress for MCP UA override
  • Optional[X]X | None, typing.Sequencecollections.abc
  • Unused imports removed
  • 339 tests pass, ruff clean

PyPI: https://pypi.org/project/codeofpaper/0.3.1/

v0.3.0 — optional MCP server

31 May 10:23

Choose a tag to compare

Optional Model Context Protocol (MCP) server. Exposes paper / code lookup as tools to Claude Desktop, Cursor, Continue, Cline, Zed, and any other MCP-compatible agent. Read-only, no auth.

Install

pip install 'codeofpaper[mcp]'
# or
uv tool install 'codeofpaper[mcp]'

This adds a codeofpaper-mcp console script that speaks MCP over stdio.

Wire into Claude Desktop

{
  "mcpServers": {
    "codeofpaper": {
      "command": "codeofpaper-mcp"
    }
  }
}

Tools

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 search with filters

All tools are read-only, return plain JSON, and surface API errors as {"error": "...", "status": N} rather than throwing — agents always get structured output.

What didn't change

The base codeofpaper CLI install is unchanged — no new required deps, no behaviour changes to existing commands. MCP support is gated behind the [mcp] extra.

See CHANGELOG.md for details.