
AMR (antimicrobial resistance)
io.github.pabloestepaaPublished by GitHub account pabloestepaav0.1.4Updated Nov 7, 2026
Antimicrobial resistance genes, sequences and literature from NCBI and UniProt
Overview
Lets an assistant look up antimicrobial resistance genes, sequences, hosts and papers from NCBI and UniProt, and optionally screen genomes with a local…
- What you can do
- Search and inspect the NCBI Reference Gene Catalog by text, drug class, subclass, organism or element type, including family groupings and catalog version info.
- Retrieve protein or nucleotide FASTA sequences by accession and list the species in which an exact protein has been sequenced.
- Look up PubMed references with title, journal, authors and DOI.
- Search UniProtKB and read entry details such as function, keywords and cross-references.
- Run a locally installed AMRFinderPlus on a FASTA file and explain the hits by drug class.
- When to use it
- Useful for microbiology and genomics research questions: identifying resistance genes and their variants, tracing which species carry them, pulling sequences and original publications, or annotating a genome with AMRFinderPlus.
- Requirements
- Runs locally as a Python package (uvx or pip install amr-mcp) over stdio; desktop MCP clients only. Needs network access to NCBI and UniProt. Optional NCBI_API_KEY and NCBI_EMAIL; optional AMR_MCP_CACHE_DIR for the catalog cache. Genome screening requires a separate local AMRFinderPlus install.
Installation
In SourceWeft
- Open AMR (antimicrobial resistance) in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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.
[amr-mcp answering a question about the KPC-2 carbapenemase]
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
Installation
Run it with uv (no install step needed), or pip install amr-mcp.
Claude Code
Claude Desktop
Add to claude_desktop_config.json:
Without uv: pipx
Then use that absolute path as the command, for example in claude_desktop_config.json:
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…):
Or 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
To enable run_amrfinder: conda install -c bioconda ncbi-amrfinderplus && amrfinder -u.
Development
Data 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.
Source: README.md at commit 61773f6
Tools
0Version history
4- v0.1.4LatestNov 7, 2026
- v0.1.3Nov 4, 2026
- v0.1.2Nov 3, 2026
- v0.1.0Nov 3, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts