1. Conduid
  2. Data
  3. Nmdc MCP
MCP server · Data

Nmdc MCP

A fastmcp-based tool for writing prompts against data in the NMDC database

Unclaimed Custom license data
51Fair

Scored 22 hours ago · breakdown

About Nmdc MCP

Nmdc MCP is an MCP server published by microbiomedata in the Data category: a fastmcp-based tool for writing prompts against data in the NMDC database.

The repository has 2 stars and 3 forks, with the last commit 20 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/microbiomedata/nmdc-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Nmdc MCP

Powered by Claude · Grounded in docs

I know everything about Nmdc MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 22 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.6.0v0.6.0 · 12 Aug 2025What's Changed Added necessary biosample/data object bridge to `get_samples_by_annotation()` by @sujaypatil96 in https://github.com/microbiomedata/nmdc-mcp/pull/50 Functional annotation use case with code QC by @turbomam in…
v0.5.1v0.5.1 · 6 Aug 2025Publishing a PyPI artifact from an unmerged branch! Still has copilot suggestions
v0.5.0v0.5.0 · 6 Aug 2025Publishing a PyPI artifact from an unmerged branch! What's Changed Added necessary biosample/data object bridge to `get_samples_by_annotation()` by @sujaypatil96 in https://github.com/microbiomedata/nmdc-mcp/pull/50 Full Changelog:…
v0.4.0v0.4.0 · 1 Aug 2025What's Changed Combine Claude CLI integration and functional annotation features by @turbomam in https://github.com/microbiomedata/nmdc-mcp/pull/43 Add functional annotation search by @shreddd in…
v0.3.1v0.3.1 · 15 Jul 2025What's Changed Modify get_biosamples_for_study to retrieve only biosample IDs by @turbomam in https://github.com/microbiomedata/nmdc-mcp/pull/35 Add version reporter and update build configuration by @turbomam in…

README

NMDC MCP

A fastmcp-based tool for writing prompts against data in the NMDC database.

Installation

You can install the package from source using uv:

uv sync

Usage

You can use the CLI:

nmdc-mcp

Or import in your Python code: # TODO incorrect instructions

from nmdc_mcp.main import create_mcp

mcp = create_mcp()
mcp.run()

Or utilize the nmdc_mcp.client. This client uses OpenAI API and assumes you have API_KEY set in a .env file in the root directory of this repo. The BASE_URL and MODEL are also customizable in .env. For PNNL staff that want to run via this client - the BASE_URL and MODEL are specific. Contact Olivia Hess if you need help setting these values up.

uv run 'path/to/nmdc_mcp/client.py' 'path/to/nmdc_mcp/main.py'

Or using python

python 'path/to/nmdc_mcp/client.py' 'path/to/nmdc_mcp/main.py'

Development

Local Setup

# Clone the repository
git clone https://github.com/microbiomedata/nmdc-mcp.git
cd nmdc-mcp

# Install development dependencies
make dev

Development Workflow

The project uses a comprehensive Makefile for development tasks:

# Run all development checks (tests, formatting, linting, type checking)
make all

# Individual commands
make dev           # Install development dependencies
make test-coverage # Run tests with coverage
make format        # Format code with black
make lint          # Lint with ruff
make mypy          # Type checking
make deptry        # Check for unused dependencies
make build         # Build package

Testing

# Run all tests with coverage
make test-coverage

# Run specific test types
make test-unit         # Unit tests only
make test-integration  # Integration tests
make test-real-api     # Tests against real NMDC API
make test-mcp          # Test MCP protocol

MCP Integration

Claude Desktop Setup

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "nmdc-mcp": {
      "command": "uvx",
      "args": ["nmdc-mcp"]
    }
  }
}

Claude Code MCP Setup

claude mcp add -s project nmdc-mcp uvx nmdc-mcp

Goose Setup

goose session --with-extension "uvx nmdc-mcp"

License

MIT

README fetched from the repository 22 hours ago. The original is authoritative.

Questions

About Nmdc MCP

How do I install Nmdc MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Nmdc MCP safe to use with an AI agent?

Its trust score is 51 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Nmdc MCP still maintained?

Yes — the last commit was 20 days ago. The repository has 2 stars and 3 forks and 22 open issues.