amr-mcp
Provides tools to retrieve PubMed reference details—title, journal, authors, and DOI—for PubMed IDs associated with AMR gene records.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@amr-mcp Which carbapenemases are reported in Klebsiella pneumoniae?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
amr-mcp
An MCP server that lets AI assistants (Claude, Codex, Cursor…) query antimicrobial resistance (AMR) data from public, free sources:
NCBI Reference Gene Catalog, the curated database behind AMRFinderPlus: ~11,500 AMR genes, point mutations, stress and virulence genes
NCBI E-utilities: protein and nucleotide sequences, PubMed references
UniProtKB: protein function, keywords and cross-references
AMRFinderPlus (optional, if installed locally): screen your own genomes
All data sources are public domain or freely accessible; no API keys are required.
Demo
Claude Code answering the first example question below: the server looks up blaKPC-2 in the catalog, counts the species NCBI has found it in, pulls the protein sequence and resolves the original paper.

Related MCP server: veupathdb-wdk-mcp
Example questions
Which species carry the KPC-2 carbapenemase, what is the original paper describing it, and what does its protein sequence look like?
Summarise the carbapenemase gene families in the catalog and how many variants each has.
Give me the protein sequence of mcr-1.1 and its UniProt function annotation.
Run AMRFinderPlus on
~/data/isolate_17.fastaas Escherichia and explain the hits by drug class.
Tools
Tool | What it does |
| Search by text, drug class, subclass, organism or element type; |
| Exact record for an allele ( |
| Drug classes and how many catalog entries each has |
| Catalog version and size |
| Protein or nucleotide FASTA from NCBI by accession |
| Species in which NCBI has sequenced an exact protein (Identical Protein Groups) |
| Title, journal, authors and DOI for PubMed IDs |
| UniProtKB search and entry details |
| Run a local AMRFinderPlus install on a FASTA file |
Installation
Run it with uv (no install step needed), or pip install amr-mcp.
Claude Code
claude mcp add amr -- uvx amr-mcpClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"amr": { "command": "uvx", "args": ["amr-mcp"] }
}
}Without uv: pipx
pipx install amr-mcp
which amr-mcp # e.g. /Users/you/.local/bin/amr-mcpThen use that absolute path as the command, for example in claude_desktop_config.json:
{
"mcpServers": {
"amr": { "command": "/Users/you/.local/bin/amr-mcp" }
}
}Desktop apps don't inherit your shell's PATH, so if Claude Desktop can't start the server,
use the absolute path for the command (this applies to uvx too: run which uvx to get it).
Agent skill (optional)
skills/amr-research/SKILL.md tells the agent when to reach for these
tools and how to chain them (gene → hosts → sequence → paper, family overviews, genome screening),
plus the pitfalls to avoid. It works with any agent that reads SKILL.md files (Claude Code, Cursor,
Codex, Copilot…):
npx skills add pabloestepaa/amr-mcpOr copy the folder by hand, e.g. to ~/.claude/skills/amr-research/ for Claude Code.
The skill uses the MCP server above, so install that too.
Configuration
Variable | Purpose |
| Optional, free. Raises the NCBI rate limit from 3 to 10 requests/s |
| Optional. Contact e-mail NCBI asks tools to send |
| Where the catalog is cached (default |
To enable run_amrfinder: conda install -c bioconda ncbi-amrfinderplus && amrfinder -u.
Development
python -m venv .venv && .venv/bin/pip install -e ".[dev]"
.venv/bin/pytest -m "not network" # offline tests
.venv/bin/pytest # also hits the live NCBI/UniProt APIsData licensing
The NCBI Reference Gene Catalog and NCBI sequence data are US government works in the public domain. UniProt data is available under CC BY 4.0. Please cite the original sources when you publish results:
Feldgarden M, et al. AMRFinderPlus and the Reference Gene Catalog facilitate examination of the genomic links among antimicrobial resistance, stress response, and virulence. Sci Rep. 2021.
The UniProt Consortium. UniProt: the Universal Protein Knowledgebase. Nucleic Acids Res.
License
MIT
Developed with AI assistance (Claude Code); all code reviewed and tested by the author.
Available Tools
10 toolscatalog_infoBRead-only
Version and size of the NCBI Reference Gene Catalog in use.
Inputs: no named parameters. Returns: object
fetch_sequenceBRead-only
Fetch a protein or nucleotide sequence from NCBI in FASTA form.
Inputs: accession (required), kind. Returns: object
get_amr_geneARead-only
Full catalog record for an allele, or a summary of all alleles in a gene family.
Inputs: name (required). Returns: object
get_protein_hostsBRead-only
Species in which NCBI has sequenced this exact protein (Identical Protein Groups), with record counts.
Inputs: accession (required), top. Returns: object
get_pubmed_referencesBRead-only
Title, journal, date, authors and DOI for PubMed articles.
Inputs: pmids (required). Returns: object
get_uniprot_entryCRead-only
Function, keywords, cross-references and sequence of a UniProtKB entry.
Inputs: accession (required). Returns: object
list_drug_classesARead-only
All drug classes in the catalog with the number of entries for each.
Inputs: no named parameters. Returns: object
run_amrfinderARead-only
Screen a local genome or proteome for AMR genes with AMRFinderPlus (must be installed locally).
Inputs: fasta_path (required), organism, sequence_type. Returns: object
search_amr_genesCRead-only
Search the NCBI Reference Gene Catalog of AMR, stress and virulence genes and point mutations.
Inputs: limit, query, organism, subclass, +3 more. Returns: object
search_uniprotCRead-only
Search UniProtKB proteins.
Inputs: query (required), limit, reviewed_only. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Tools mostly target distinct resources and actions: AMR catalog metadata/search/records, NCBI sequence fetch, host lookup, PubMed references, UniProt search/retrieval, and local AMRFinder screening. There is minor potential overlap between the parallel AMR-catalog and UniProt search/get pairs, and fetch_sequence could be confused with sequence retrieval inside entry tools, but descriptions generally clarify the boundaries.
Names consistently use snake_case and mostly follow a verb_noun pattern such as list_drug_classes, search_amr_genes, get_amr_gene, fetch_sequence, and get_uniprot_entry. catalog_info is noun-only and run_amrfinder embeds the tool name instead of a clean noun phrase, but these are minor deviations.
Ten tools is well-scoped for an AMR catalog and sequence-research server. Each tool maps to a distinct lookup, retrieval, metadata, reference, or screening step without obvious filler or excessive surface area.
The set covers catalog metadata/search/records, sequence retrieval, protein host data, PubMed references, UniProt lookup, and local AMRFinder screening, which is strong lifecycle coverage for the domain. Minor gaps remain, such as no clearly dedicated mutation-centric lookup and limited explicit result-handling or batch/export operations.
Maintenance
Related MCP Connectors
Pharmacogenomics for AI agents: cited drug–gene, gene and rsID lookups plus a medication screen.
Connect AI clients to biomedical data and tools.
Find pharmacogenomics guidelines, translate diplotypes, and retrieve prescribing recommendations.
Search biomedical literature, get article details, find related articles, and explore MeSH terms
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform NCBI BLAST sequence similarity searches through natural language, supporting nucleotide and protein searches, custom database creation, and multiple output formats.11MIT
veupathdb-wdk-mcpofficial
FlicenseNot gradedqualityBmaintenanceEnables AI assistants to explore VEuPathDB WDK catalogs, searches, parameters, and gene data, and to perform gene lookups, expression summaries, step estimates, and download URL retrieval using VEuPathDB credentials.-- AlicenseNot gradedqualityCmaintenanceEnables querying NCBI genome assemblies, gene details with cross-references, and taxonomy trees with per-node assembly and gene counts, providing structured answers about genomes, genes, and taxonomy.68 npmMIT
- AlicenseAqualityCmaintenanceEnables AI assistants to submit genomic sequences or NCBI accessions to antiSMASH for secondary metabolite biosynthetic gene cluster analysis, check job status, retrieve and download results, and query server status across bacteria, fungi, and plant servers.101MIT