NCBI-Datasets
A Model Context Protocol (MCP) server that provides comprehensive access to the NCBI Datasets API
claude mcp add --transport stdio augmented-nature-ncbi-datasets-mcp-server node /path/to/ncbi-datasets-server/build/index.js \ --env NCBI_API_KEY="your_api_key_here"
How to use
This MCP server provides access to the NCBI Datasets ecosystem via 31 specialized tools organized into genome, gene, taxonomy, assembly, virus, protein, annotation, comparative genomics, sequence, phylogenetic, statistics, and quality control categories. Each tool accepts a structured set of arguments (e.g., identifiers, organism names, accession numbers, and filtering options) and returns data or data access URLs from the NCBI Datasets APIs. Use the provided resource templates to jump directly to common data types like genomes, genes, and taxonomy. If you supply an NCBI API key via the NCBI_API_KEY environment variable, you’ll benefit from higher rate limits and priority access.
To use a tool, send a JSON payload with the tool name and your arguments to the MCP server. For example, to search for genomes you would invoke the tool search_genomes with appropriate parameters, or to retrieve data for a specific genome you would call get_genome_info with an accession or ID. The server also offers batch and download-oriented operations (e.g., batch_assembly_info and download_genome_data) for higher throughput workflows.
How to install
Prerequisites:
- Node.js (LTS) and npm installed on your system
- Access to the project repository and build artifacts
Install and build steps:
-
Install dependencies npm install
-
Build the server npm run build
-
Run the MCP server (example) node /path/to/ncbi-datasets-server/build/index.js
-
Configure MCP to point to the running server (as shown in the Configuration section of the README) Edit your MCP settings to include the ncbi-datasets-server with the appropriate command, arguments, and any environment variables (e.g., NCBI_API_KEY).
Additional notes
Notes and tips:
- If you have an NCBI API key, set NCBI_API_KEY in the environment to improve rate limits (10 req/sec with priority). Without a key, you’ll be limited to baseline quotas.
- The server includes rate limiting and caching to optimize performance; monitor cache invalidation strategies if data freshness is critical.
- Use the resource templates (ncbi://genome/{accession}, ncbi://gene/{gene_id}, ncbi://taxonomy/{tax_id}, etc.) for direct data access paths in client applications.
- Ensure the build index.js path in the MCP configuration matches your deployment artifact location after running npm run build.
- For troubleshooting, check common parameter validation errors and ensure correct identifiers (accessions, tax IDs, gene IDs) are supplied.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.