PhageScope
PhageScope phage database and analysis tasks. Free sign-up at phageagent.deepomics.org.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"phagescope": {
"url": "https://phageagent.deepomics.org/mcp"
}
}
}Remote endpoints
https://phageagent.deepomics.org/mcpstreamable-httpWhat it can do
Tool inventory
Tools (19)
🟢catalog_overview
Catalog-wide counts (phages, proteins, families, datasets) and the dataset list. Start here.
Input Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢search_phages(filters, page, pagesize, include_total, sort_by)
Find phages matching filters (host, taxonomy, lifestyle, dataset, length, GC, AMR/virulence-free...). Paged rows.
Input Schema
{
"type": "object",
"properties": {
"filters": {
"type": "object",
"description": "Phage cohort filters; all given filters are combined with AND.",
"properties": {
"accession": {
"type": "string",
"description": "Exact phage accession."
},
"accessions": {
"description": "Exact phage accessions.",
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200
},
"phage_ids": {
"description": "PhageScope numeric phage ids.",
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 200
},
"dataset": {
"type": "string",
"description": "Source dataset name, e.g. RefSeq, GenBank, MGV (see catalog_overview)."
},
"datasets": {
"description": "Only these source datasets.",
"type": "array",
"items": {
"type": "string"
},
"maxItems": 30
},
"completeness": {
"type": "string",
"description": "Genome completeness label, e.g. Complete, High-quality."
},
"lifestyle": {
"type": "string",
"description": "Predicted lifestyle, e.g. virulent or temperate."
},
"taxonomy": {
"type": "string",
"description": "Phage taxonomy name."
},
"taxonomy_match": {
"type": "string",
"description": "How to match taxonomy (service default when omitted)."
},
"host": {
"type": "string",
"description": "Host name, e.g. Salmonella or Escherichia coli."
},
"host_match": {
"type": "string",
"description": "How to match host (service default when omitted)."
},
"host_rank": {
"type": "string",
"description": "Host rank used with host_name, e.g. genus or species."
},
"host_name": {
"description": "Host name at the given host_rank.",
"type": "string"
},
"cluster": {
"description": "Phage cluster id.",
"type": "string"
},
"subcluster": {
"description": "Phage subcluster id.",
"type": "string"
},
"length_min": {
"description": "Minimum genome length in bp.",
"type": "integer",
"minimum": 0
},
"length_max": {
"description": "Maximum genome length in bp.",
"type": "integer",
"minimum": 0
},
"gc_min": {
"description": "Minimum GC content in percent.",
"type": "number",
"minimum": 0,
"maximum": 100
},
"gc_max": {
"description": "Maximum GC content in percent.",
"type": "number",
"minimum": 0,
"maximum": 100
},
"is_mapped": {
"description": "Filter on the data service's is_mapped flag.",
"type": "boolean"
},
"is_rep": {
"type": "boolean",
"description": "Only cluster representatives."
},
"amr_free": {
"type": "boolean",
"description": "No annotated antimicrobial-resistance genes (columnar layer)."
},
"virulence_free": {
"type": "boolean",
"description": "No annotated virulence factors (columnar layer)."
},
"min_trna": {
"description": "Minimum number of annotated tRNAs.",
"type": "integer",
"minimum": 0
},
"has_crispr": {
"description": "Has annotated CRISPR arrays.",
"type": "boolean"
},
"has_anticrispr": {
"description": "Has annotated anti-CRISPR proteins.",
"type": "boolean"
}
},
"additionalProperties": false
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"default": 1
},
"pagesize": {
"description": "Rows per page.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 20
},
"include_total": {
"description": "Also return the total number of matches (slower).",
"type": "boolean",
"default": false
},
"sort_by": {
"description": "Row order: id, length_desc or length_asc.",
"type": "string",
"enum": [
"id",
"length_desc",
"length_asc"
],
"default": "id"
}
},
"required": [
"filters"
],
"additionalProperties": false
}🟢cohort_report(filters, sample_limit, sort_by)
Summarise a filtered phage cohort: size, composition breakdowns and a few sample rows.
Input Schema
{
"type": "object",
"properties": {
"filters": {
"type": "object",
"description": "Phage cohort filters; all given filters are combined with AND.",
"properties": {
"accession": {
"type": "string",
"description": "Exact phage accession."
},
"accessions": {
"description": "Exact phage accessions.",
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200
},
"phage_ids": {
"description": "PhageScope numeric phage ids.",
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 200
},
"dataset": {
"type": "string",
"description": "Source dataset name, e.g. RefSeq, GenBank, MGV (see catalog_overview)."
},
"datasets": {
"description": "Only these source datasets.",
"type": "array",
"items": {
"type": "string"
},
"maxItems": 30
},
"completeness": {
"type": "string",
"description": "Genome completeness label, e.g. Complete, High-quality."
},
"lifestyle": {
"type": "string",
"description": "Predicted lifestyle, e.g. virulent or temperate."
},
"taxonomy": {
"type": "string",
"description": "Phage taxonomy name."
},
"taxonomy_match": {
"type": "string",
"description": "How to match taxonomy (service default when omitted)."
},
"host": {
"type": "string",
"description": "Host name, e.g. Salmonella or Escherichia coli."
},
"host_match": {
"type": "string",
"description": "How to match host (service default when omitted)."
},
"host_rank": {
"type": "string",
"description": "Host rank used with host_name, e.g. genus or species."
},
"host_name": {
"description": "Host name at the given host_rank.",
"type": "string"
},
"cluster": {
"description": "Phage cluster id.",
"type": "string"
},
"subcluster": {
"description": "Phage subcluster id.",
"type": "string"
},
"length_min": {
"description": "Minimum genome length in bp.",
"type": "integer",
"minimum": 0
},
"length_max": {
"description": "Maximum genome length in bp.",
"type": "integer",
"minimum": 0
},
"gc_min": {
"description": "Minimum GC content in percent.",
"type": "number",
"minimum": 0,
"maximum": 100
},
"gc_max": {
"description": "Maximum GC content in percent.",
"type": "number",
"minimum": 0,
"maximum": 100
},
"is_mapped": {
"description": "Filter on the data service's is_mapped flag.",
"type": "boolean"
},
"is_rep": {
"type": "boolean",
"description": "Only cluster representatives."
},
"amr_free": {
"type": "boolean",
"description": "No annotated antimicrobial-resistance genes (columnar layer)."
},
"virulence_free": {
"type": "boolean",
"description": "No annotated virulence factors (columnar layer)."
},
"min_trna": {
"description": "Minimum number of annotated tRNAs.",
"type": "integer",
"minimum": 0
},
"has_crispr": {
"description": "Has annotated CRISPR arrays.",
"type": "boolean"
},
"has_anticrispr": {
"description": "Has annotated anti-CRISPR proteins.",
"type": "boolean"
}
},
"additionalProperties": false
},
"sample_limit": {
"description": "How many example phages to include in the report.",
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 5
},
"sort_by": {
"description": "Row order: id, length_desc or length_asc.",
"type": "string",
"enum": [
"id",
"length_desc",
"length_asc"
],
"default": "id"
}
},
"required": [
"filters"
],
"additionalProperties": false
}🟢aggregate_phages(group_by, filters, limit)
Count phages grouped by 1-3 dimensions (dataset, lifestyle, host rank...), optionally filtered.
Input Schema
{
"type": "object",
"properties": {
"group_by": {
"description": "Dimension, or list of dimensions, to group counts by (see the query-guide resource).",
"oneOf": [
{
"type": "string",
"enum": [
"dataset",
"completeness",
"lifestyle",
"taxonomy",
"cluster",
"host_phylum",
"host_class",
"host_order",
"host_family",
"host_genus",
"host_species"
]
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"dataset",
"completeness",
"lifestyle",
"taxonomy",
"cluster",
"host_phylum",
"host_class",
"host_order",
"host_family",
"host_genus",
"host_species"
]
},
"minItems": 1,
"maxItems": 3
}
]
},
"filters": {
"type": "object",
"description": "Phage cohort filters; all given filters are combined with AND.",
"properties": {
"accession": {
"type": "string",
"description": "Exact phage accession."
},
"accessions": {
"description": "Exact phage accessions.",
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200
},
"phage_ids": {
"description": "PhageScope numeric phage ids.",
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 200
},
"dataset": {
"type": "string",
"description": "Source dataset name, e.g. RefSeq, GenBank, MGV (see catalog_overview)."
},
"datasets": {
"description": "Only these source datasets.",
"type": "array",
"items": {
"type": "string"
},
"maxItems": 30
},
"completeness": {
"type": "string",
"description": "Genome completeness label, e.g. Complete, High-quality."
},
"lifestyle": {
"type": "string",
"description": "Predicted lifestyle, e.g. virulent or temperate."
},
"taxonomy": {
"type": "string",
"description": "Phage taxonomy name."
},
"taxonomy_match": {
"type": "string",
"description": "How to match taxonomy (service default when omitted)."
},
"host": {
"type": "string",
"description": "Host name, e.g. Salmonella or Escherichia coli."
},
"host_match": {
"type": "string",
"description": "How to match host (service default when omitted)."
},
"host_rank": {
"type": "string",
"description": "Host rank used with host_name, e.g. genus or species."
},
"host_name": {
"description": "Host name at the given host_rank.",
"type": "string"
},
"cluster": {
"description": "Phage cluster id.",
"type": "string"
},
"subcluster": {
"description": "Phage subcluster id.",
"type": "string"
},
"length_min": {
"description": "Minimum genome length in bp.",
"type": "integer",
"minimum": 0
},
"length_max": {
"description": "Maximum genome length in bp.",
"type": "integer",
"minimum": 0
},
"gc_min": {
"description": "Minimum GC content in percent.",
"type": "number",
"minimum": 0,
"maximum": 100
},
"gc_max": {
"description": "Maximum GC content in percent.",
"type": "number",
"minimum": 0,
"maximum": 100
},
"is_mapped": {
"description": "Filter on the data service's is_mapped flag.",
"type": "boolean"
},
"is_rep": {
"type": "boolean",
"description": "Only cluster representatives."
},
"amr_free": {
"type": "boolean",
"description": "No annotated antimicrobial-resistance genes (columnar layer)."
},
"virulence_free": {
"type": "boolean",
"description": "No annotated virulence factors (columnar layer)."
},
"min_trna": {
"description": "Minimum number of annotated tRNAs.",
"type": "integer",
"minimum": 0
},
"has_crispr": {
"description": "Has annotated CRISPR arrays.",
"type": "boolean"
},
"has_anticrispr": {
"description": "Has annotated anti-CRISPR proteins.",
"type": "boolean"
}
},
"additionalProperties": false
},
"limit": {
"description": "Maximum number of groups to return.",
"type": "integer",
"minimum": 1,
"maximum": 200,
"default": 50
}
},
"required": [
"group_by"
],
"additionalProperties": false
}🟢get_phage(phage_id, accession)
Full metadata for one phage: taxonomy, host lineage, lifestyle, quality, cluster, dataset.
Input Schema
{
"type": "object",
"properties": {
"phage_id": {
"type": "integer",
"minimum": 1,
"description": "PhageScope numeric phage id."
},
"accession": {
"type": "string",
"description": "Phage accession; used when phage_id is omitted."
}
},
"additionalProperties": false
}🟢get_sequence(phage_id, accession, max_bases)
Genome nucleotide sequence of one phage, capped at max_bases.
Input Schema
{
"type": "object",
"properties": {
"phage_id": {
"type": "integer",
"minimum": 1,
"description": "PhageScope numeric phage id."
},
"accession": {
"type": "string",
"description": "Phage accession; used when phage_id is omitted."
},
"max_bases": {
"description": "Maximum number of sequence bases to return.",
"type": "integer",
"minimum": 100,
"maximum": 200000,
"default": 20000
}
},
"additionalProperties": false
}🟢search_proteins(phage_id, accession, protein_ids, product_query, function_class, ...)
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.
Input Schema
{
"type": "object",
"properties": {
"phage_id": {
"type": "integer",
"minimum": 1,
"description": "PhageScope numeric phage id."
},
"accession": {
"type": "string",
"description": "Phage accession; used when phage_id is omitted."
},
"protein_ids": {
"description": "Exact PhageScope protein ids.",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"maxItems": 100
},
"product_query": {
"description": "Text to match in the protein product annotation.",
"type": "string"
},
"function_class": {
"description": "Protein function class to filter by.",
"type": "string"
},
"include_sequence": {
"description": "Include amino-acid sequences in each row.",
"type": "boolean",
"default": false
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"default": 1
},
"pagesize": {
"description": "Rows per page.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
}
},
"additionalProperties": false
}🟢search_families(keyword, protein_id, family_id, dominant_class, min_members, ...)
Find protein families by keyword (e.g. endolysin, holin), by member protein_id, or by family_id.
Input Schema
{
"type": "object",
"properties": {
"keyword": {
"description": "Case-insensitive text to match in the annotations.",
"type": "string"
},
"protein_id": {
"description": "Return the family that contains this protein id.",
"type": "string"
},
"family_id": {
"description": "Protein family id.",
"type": "string"
},
"dominant_class": {
"description": "Dominant function class of the family.",
"type": "string"
},
"min_members": {
"description": "Minimum number of member proteins.",
"type": "integer",
"minimum": 1
},
"min_datasets": {
"description": "Minimum number of source datasets among the members.",
"type": "integer",
"minimum": 1
},
"non_singleton_only": {
"description": "Skip families with a single member.",
"type": "boolean"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"default": 1
},
"pagesize": {
"description": "Rows per page.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 20
}
},
"additionalProperties": false
}🟢family_members(family_id, subfamily_id, dataset, include_sequence, page, ...)
Member proteins of one family (optionally one subfamily or dataset). Paged.
Input Schema
{
"type": "object",
"properties": {
"family_id": {
"description": "Protein family id.",
"type": "string"
},
"subfamily_id": {
"description": "Subfamily id within the family.",
"type": "string"
},
"dataset": {
"description": "Source dataset name, e.g. RefSeq or GenBank (see catalog_overview).",
"type": "string"
},
"include_sequence": {
"description": "Include amino-acid sequences in each row.",
"type": "boolean",
"default": false
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"default": 1
},
"pagesize": {
"description": "Rows per page.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
}
},
"required": [
"family_id"
],
"additionalProperties": false
}🟢query_features(feature_type, phage_id, accession, dataset, keyword, ...)
Annotated features of one type (tRNA, CRISPR, anti-CRISPR, terminator, virulence, AMR, transmembrane).
Input Schema
{
"type": "object",
"properties": {
"feature_type": {
"description": "Feature layer to query.",
"type": "string",
"enum": [
"trna",
"crispr",
"anticrispr",
"terminator",
"virulence",
"amr",
"transmembrane"
]
},
"phage_id": {
"type": "integer",
"minimum": 1,
"description": "PhageScope numeric phage id."
},
"accession": {
"type": "string",
"description": "Phage accession; used when phage_id is omitted."
},
"dataset": {
"description": "Source dataset name, e.g. RefSeq or GenBank (see catalog_overview).",
"type": "string"
},
"keyword": {
"description": "Case-insensitive text to match in the annotations.",
"type": "string"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"default": 1
},
"pagesize": {
"description": "Rows per page.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
}
},
"required": [
"feature_type"
],
"additionalProperties": false
}🟢get_structures(protein_ids)
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.
Input Schema
{
"type": "object",
"properties": {
"protein_ids": {
"description": "Exact PhageScope protein ids.",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"maxItems": 50
}
},
"required": [
"protein_ids"
],
"additionalProperties": false
}🟢similarity_search(sequences, sensitivity, max_hits, evalue, min_identity, ...)
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.
Input Schema
{
"type": "object",
"properties": {
"sequences": {
"description": "Protein FASTA text, or a list of {id, sequence}. 30-10000 aa each, 50000 aa in total.",
"oneOf": [
{
"type": "string",
"maxLength": 120000
},
{
"type": "array",
"minItems": 1,
"maxItems": 50,
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 64
},
"sequence": {
"type": "string",
"maxLength": 10000
}
},
"additionalProperties": false,
"required": [
"sequence"
]
}
}
]
},
"sensitivity": {
"description": "MMseqs2 search sensitivity: fast, default or sensitive.",
"type": "string",
"enum": [
"fast",
"default",
"sensitive"
],
"default": "default"
},
"max_hits": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"default": 50,
"description": "Hits kept per query."
},
"evalue": {
"description": "Maximum E-value of reported hits.",
"type": "number",
"exclusiveMinimum": 0,
"maximum": 10,
"default": 0.001
},
"min_identity": {
"description": "Minimum sequence identity of hits, from 0 to 1.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"min_coverage": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Minimum of query and target coverage."
},
"exclude_low_quality": {
"type": "boolean",
"default": false,
"description": "Drop proteins only found in LQ_* datasets."
},
"datasets": {
"description": "Only these source datasets.",
"type": "array",
"items": {
"type": "string"
},
"maxItems": 40
},
"wait_seconds": {
"description": "Seconds to wait for the result before returning a search_id to poll.",
"type": "integer",
"minimum": 0,
"maximum": 20,
"default": 20
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"default": 1
},
"pagesize": {
"description": "Rows per page.",
"type": "integer",
"minimum": 1,
"maximum": 200,
"default": 50
}
},
"required": [
"sequences"
],
"additionalProperties": false
}🟢get_similarity_result(search_id, page, pagesize)
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.
Input Schema
{
"type": "object",
"properties": {
"search_id": {
"description": "The search_id returned by similarity_search.",
"type": "string",
"pattern": "^sim_[0-9a-f]{32}$"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"minimum": 1,
"default": 1
},
"pagesize": {
"description": "Rows per page.",
"type": "integer",
"minimum": 1,
"maximum": 200,
"default": 50
}
},
"required": [
"search_id"
],
"additionalProperties": false
}🟡submit_analysis(instructions, phage_accessions, inline_data, deliverables_hint, idempotency_key)
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.
Input Schema
{
"type": "object",
"properties": {
"instructions": {
"type": "string",
"maxLength": 8000,
"description": "What to analyse or model, and what to report."
},
"phage_accessions": {
"description": "Phage accessions to include in the analysis.",
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200
},
"inline_data": {
"type": "string",
"description": "Optional small CSV/TSV/FASTA text (at most 262144 bytes)."
},
"deliverables_hint": {
"type": "array",
"items": {
"type": "string"
},
"description": "e.g. table, figure, model, report"
},
"idempotency_key": {
"description": "Optional client key; resending the same request with the same key does not start a second task.",
"type": "string",
"maxLength": 128
}
},
"required": [
"instructions"
],
"additionalProperties": false
}🟢get_analysis_status(task_id)
Status of a task: working, completed, failed or cancelled, with recent progress and when to poll again.
Input Schema
{
"type": "object",
"properties": {
"task_id": {
"type": "string",
"description": "The task_id returned by submit_analysis."
}
},
"required": [
"task_id"
],
"additionalProperties": false
}🟢get_analysis_result(task_id)
Summary, deliverables (with short-lived download links) and provenance of a finished task.
Input Schema
{
"type": "object",
"properties": {
"task_id": {
"type": "string",
"description": "The task_id returned by submit_analysis."
}
},
"required": [
"task_id"
],
"additionalProperties": false
}🟡reply_analysis(task_id, message, idempotency_key)
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.
Input Schema
{
"type": "object",
"properties": {
"task_id": {
"description": "The task_id returned by submit_analysis.",
"type": "string"
},
"message": {
"description": "Follow-up message for the task, e.g. an answer to its question or a new instruction.",
"type": "string",
"maxLength": 8000
},
"idempotency_key": {
"description": "Optional client key; resending the same request with the same key does not start a second task.",
"type": "string",
"maxLength": 128
}
},
"required": [
"task_id",
"message"
],
"additionalProperties": false
}🔴cancel_analysis(task_id)
Stop a working task. Deliverables already published stay available.
Input Schema
{
"type": "object",
"properties": {
"task_id": {
"type": "string",
"description": "The task_id returned by submit_analysis."
}
},
"required": [
"task_id"
],
"additionalProperties": false
}🟢list_analyses(limit, status)
This token's recent analysis tasks, newest first.
Input Schema
{
"type": "object",
"properties": {
"limit": {
"description": "Maximum number of tasks to return.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"status": {
"description": "Only tasks in this status.",
"type": "string",
"enum": [
"working",
"completed",
"failed",
"cancelled"
]
}
},
"additionalProperties": false
}Community
Evidence