# PhageAgent

> PhageAgent is a free MCP server for bioinformatics. Query the PhageScope phage database and run analysis tasks from an AI client. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API
- **Repository:** https://github.com/yiyabo/phageagent-mcp
- **MCP Registry name:** io.github.yiyabo/phageagent
- **Categories:** [bioinformatics](https://ai-powered.com/categories/bioinformatics), [genomics data](https://ai-powered.com/categories/genomics-data)
- **Listing updated:** 2026-11-20

## About

PhageAgent is a hosted MCP server in front of the PhageScope phage database. An assistant can search phages, pull sequences and proteins, browse protein families and look at structures without leaving the chat.

Besides the eleven read-only data tools, six analysis-task tools hand a request to PhageAgent and return the results. You sign up on the PhageAgent site, create a token yourself and pass it as a bearer token to the Streamable HTTP endpoint.

The repository also packages the server as a Claude Code plugin and a Codex plugin, and includes a draft catalogue entry for Hermes.

## Features

- **Phage search:** Find phages in the catalogue and build cohort reports or aggregate counts across them.
- **Sequences and genes:** Fetch a single phage record or its sequence by identifier.
- **Protein and family lookup:** Search proteins and protein families, and list the members of a family.
- **Feature queries:** Query phage features and retrieve structures through dedicated read-only tools.
- **Analysis tasks:** Six extra tools hand an analysis request to PhageAgent and return its results.
- **Plugin packaging:** Ships as a Claude Code plugin and a Codex plugin, with the token kept as a sensitive setting.

## Good for

- Look up a phage and its sequence while drafting a research note
- Compare phage cohorts by host or other attributes through aggregate queries
- Find members of a protein family across the database
- Run a phage analysis task from an AI assistant and read the results in the chat
- Get an overview of what the phage catalogue contains

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http phageagent https://phageagent.deepomics.org/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "phageagent": {
      "type": "http",
      "url": "https://phageagent.deepomics.org/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://phageagent.deepomics.org/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "phageagent": {
      "url": "https://phageagent.deepomics.org/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "phageagent": {
      "type": "http",
      "url": "https://phageagent.deepomics.org/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://phageagent.deepomics.org/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add phageagent --url https://phageagent.deepomics.org/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.phageagent]
url = "https://phageagent.deepomics.org/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "phageagent": {
      "httpUrl": "https://phageagent.deepomics.org/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http phageagent https://phageagent.deepomics.org/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "phageagent": {
      "serverUrl": "https://phageagent.deepomics.org/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "phageagent": {
      "url": "https://phageagent.deepomics.org/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "phageagent": {
      "type": "streamableHttp",
      "url": "https://phageagent.deepomics.org/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "phageagent": {
      "url": "https://phageagent.deepomics.org/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "phageagent": {
      "url": "https://phageagent.deepomics.org/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "phageagent": {
      "url": "https://phageagent.deepomics.org/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "phageagent": {
      "url": "https://phageagent.deepomics.org/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://phageagent.deepomics.org/mcp
```

Enter a Name (for example "PhageAgent"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "phageagent": {
      "type": "http",
      "url": "https://phageagent.deepomics.org/mcp"
    }
  }
}
```

## Tools

The server marks 3 of 19 tools as able to change data. From the server's own tool labels and tool names; not verified by us.

- `catalog_overview` (says read-only): Catalog-wide counts (phages, proteins, families, datasets) and the dataset list. Start here.
- `search_phages` (says read-only): Find phages matching filters (host, taxonomy, lifestyle, dataset, length, GC, AMR/virulence-free...). Paged rows.
- `cohort_report` (says read-only): Summarise a filtered phage cohort: size, composition breakdowns and a few sample rows.
- `aggregate_phages` (says read-only): Count phages grouped by 1-3 dimensions (dataset, lifestyle, host rank...), optionally filtered.
- `get_phage` (says read-only): Full metadata for one phage: taxonomy, host lineage, lifestyle, quality, cluster, dataset.
- `get_sequence` (says read-only): Genome nucleotide sequence of one phage, capped at max_bases.
- `search_proteins` (says read-only): Proteins of one phage (optionally filtered by product text or function class), or proteins by id. With protein_ids, duplicate ids are collapsed, results keep input order, and missing_ids lists the requested ids that were not found.
- `search_families` (says read-only): Find protein families by keyword (e.g. endolysin, holin), by member protein_id, or by family_id.
- `family_members` (says read-only): Member proteins of one family (optionally one subfamily or dataset). Paged.
- `query_features` (says read-only): Annotated features of one type (tRNA, CRISPR, anti-CRISPR, terminator, virulence, AMR, transmembrane).
- `get_structures` (says read-only): Resolve structure records for protein ids: experimental (PDB) or predicted (ESMFold, ColabFold, AlphaFold and other models), labelled per record by its source and method, with pLDDT where reported.
- `similarity_search` (says read-only): Find PhageScope proteins similar to 1-50 protein sequences (MMseqs2 over ~45 M unique proteins). Returns hits within wait_seconds, otherwise a search_id for get_similarity_result. status is queued, running, done or failed; outcome is pending, hits, no_hits or failed. count is null until status=done. timings gives queued_seconds and run_seconds.
- `get_similarity_result` (says read-only): Status, outcome (pending, hits, no_hits or failed), timings and paged hits of a similarity_search by its search_id (kept 7 days after it finishes). count is null until status=done.
- `submit_analysis` (says it can change data): Hand a data-analysis or modelling task to the GAgent research agent, which works on read-only PhageScope data with code execution and bioinformatics tools. Returns a task_id at once; the work takes minutes to hours. Poll get_analysis_status, then read get_analysis_result. Reuse the same idempotency_key when retrying so the task is not submitted twice.
- `get_analysis_status` (says read-only): Status of a task: working, completed, failed or cancelled, with recent progress and when to poll again.
- `get_analysis_result` (says read-only): Summary, deliverables (with short-lived download links) and provenance of a finished task.
- `reply_analysis` (says it can change data): Send a follow-up instruction to a finished, failed or cancelled task; GAgent continues in the same session with its earlier context and files. Poll get_analysis_status again afterwards.
- `cancel_analysis` (says it can change data): Stop a working task. Deliverables already published stay available.
- `list_analyses` (says read-only): This token's recent analysis tasks, newest first.

## FAQ

### How many tools does PhageAgent have?

Every token gets 17 tools: 11 read-only data tools and 6 analysis-task tools.

### How do I get access?

Sign up at phageagent.deepomics.org and create a token yourself, then send it as a bearer token.

### Are there usage limits?

Data reads are capped at 2 GB per token per day. Analysis tasks have no quota during the test phase.

### Which clients can use PhageAgent?

It has install steps for Claude Code, Codex and Hermes, and any client that supports Streamable HTTP with a bearer header can connect.

### Is PhageAgent free?

Yes. PhageAgent is free to use.

### How do I add PhageAgent to Claude Code?

Run this command in your terminal: claude mcp add --transport http phageagent https://phageagent.deepomics.org/mcp

### What are the best alternatives to PhageAgent?

The closest alternatives to PhageAgent are PhageScope, ProteinIQ, BioHarbor, Genomics MCP and GenPhenia.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [PhageScope](https://ai-powered.com/mcp/phagescope): PhageScope is a free MCP server for academic research.
- [ProteinIQ](https://ai-powered.com/mcp/proteiniq): ProteinIQ is a freemium MCP server for bioinformatics.
- [BioHarbor](https://ai-powered.com/mcp/bioharbor): BioHarbor is an open-source MCP server for bioinformatics.
- [Genomics MCP](https://ai-powered.com/mcp/genomics-mcp): Genomics MCP is an open-source MCP server for health and science.
- [GenPhenia](https://ai-powered.com/mcp/genphenia): GenPhenia is an MCP server for genomics data.
- [GWAS Bioinformatics MCP Server](https://ai-powered.com/mcp/gwas-bioinformatics-mcp-server): GWAS Bioinformatics MCP Server is an open-source MCP server for bioinformatics.

---
Source: https://ai-powered.com/mcp/phageagent
