Skip to content

Releases

v0.1.0 — Initial Release

Choose a tag to compare

@partrita partrita released this 04 Dec 21:35
33f9fab

An MCP server for antibody and biologics research — PubMed, ClinicalTrials.gov, RCSB PDB and antibody numbering in one tool call.

First public release, available on PyPI: antibody-mcp 0.1.0

Give Claude Desktop, Claude Code, Cursor or any MCP-compatible agent the four things an antibody engineer looks up every day: what has been published, what is in the clinic, what the structure looks like, and how the sequence numbers. No API keys are required — everything is queried from free public endpoints.

Tools

Tool Arguments What it returns Source
search_pubmed query, max_results=5, years=5 PMID, title, journal, year, authors, DOI, URL. Relevance-sorted, with an optional date window. NCBI E-utilities
search_clinical_trials condition, intervention?, status?, max_results=5 NCT id, title, status, phase, study type, conditions, interventions, lead sponsor, start/primary-completion dates, URL ClinicalTrials.gov API v2
get_pdb_entry pdb_id, include_fasta=false Title, experimental method, resolution, deposition date, polymer entities with descriptions, .pdb/.cif download URLs, optional FASTA RCSB PDB Data API
annotate_antibody sequence, scheme="imgt" Chain type (VH/VK/VL), numbering scheme, CDR1/2/3 and framework boundaries, isotype/subclass when a constant region is present abcat (optional)

scheme accepts imgt, kabat, chothia, martin and aho.

Every result is compact JSON that echoes the query and carries the source URL and identifier, and every failure comes back as an {"error": …} envelope instead of raising — so an agent can refine the query and retry without losing the turn.

Install

# run without installing
uvx antibody-mcp

# or add it to a project
uv add antibody-mcp
# pip install antibody-mcp

Claude Desktop / Cursor

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) or ~/.cursor/mcp.json:

{
  "mcpServers": {
    "antibody": {
      "command": "uvx",
      "args": ["antibody-mcp"],
      "env": {
        "NCBI_EMAIL": "you@example.com",
        "NCBI_API_KEY": ""
      }
    }
  }
}

Claude Code

claude mcp add antibody -- uvx antibody-mcp

Optional: antibody numbering

annotate_antibody is backed by abcat (ANARCI-based), kept as an optional extra so the base server stays small:

uv add "antibody-mcp[numbering]"

abcat currently requires Python 3.14+; the rest of the server runs on 3.10+. Without the extra, the tool returns an actionable message explaining how to enable numbering rather than failing.

Configuration

Environment variable Default Purpose
NCBI_EMAIL unset Contact address for NCBI; improves rate-limit behaviour
NCBI_API_KEY unset Raises the NCBI limit from 3 to 10 requests/second
ANTIBODY_MCP_TIMEOUT 20 HTTP timeout in seconds

Quality

  • CI on Python 3.10, 3.11, 3.12 and 3.13 — 11 smoke tests pass on every version, with ruff check clean (workflow).
  • sdist + wheel built and validated with twine check --strict before upload.
  • Published via PyPI Trusted Publishing (OIDC) — no long-lived API tokens live in the repository.

Scope of this release

This is a 0.1.0 foundation: tool signatures, typed HTTP clients, error envelopes and tests. The PubMed, ClinicalTrials.gov and PDB paths are implemented and responses are normalised — but not cached, and coordinates are returned as download URLs rather than inline.

Roadmap

  • Response cache (SQLite, 24 h TTL) so repeated agent calls are free
  • search_antibody_structures — query the PDB by antigen, resolution and antibody type
  • get_binding_interface — Fab–antigen contact residues from a PDB entry
  • Streaming for large FASTA / coordinate payloads

Bug reports and tool requests are welcome — open an issue with the question you wish your agent could answer.

Requirements: Python 3.10+ · MIT License · Source · PyPI