Skip to main content

MCP tool for querying NMDC API

Project description

NMDC MCP

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

Installation

You can install the package from source:

pip install -e .

Or using uv:

uv pip install -e .

Usage

You can use the CLI:

nmdc-mcp

Or import in your Python code:

from nmdc_mcp.main import create_mcp

mcp = create_mcp()
mcp.run()

Development

Local Setup

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

# Install development dependencies
uv pip install -e ".[dev]"

Running Tests

pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nmdc_mcp-0.1.0.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nmdc_mcp-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file nmdc_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: nmdc_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.12

File hashes

Hashes for nmdc_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3d55f8f6bbc752d9a6c5f3b4d9d1491352f9ef97e30d2a927e06387445aff4ff
MD5 54277ffa0a427970d3fb56816e52587f
BLAKE2b-256 e934514b5614af2e145ce2589612b7f53f8da0034f421d7987c5f3ca47223d44

See more details on using hashes here.

File details

Details for the file nmdc_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nmdc_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.12

File hashes

Hashes for nmdc_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ee9545831f2d3dd2e20b42b30bb92a2fede461f223b77c1924e041fda479dd7
MD5 14d4d44216a2d33dd159e596e0efc98f
BLAKE2b-256 97bc1be628b19d04a622d4ce6e85dc13d238caa8d5bcbf561054d1248f1daef2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page