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.2.1.tar.gz (33.0 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.2.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nmdc_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nmdc_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0485f5c804cfc4aabc72a92b4ec8cc3e41771acff33bd7508a5c0d96a2c398a5
MD5 e1b4dc1ac281b35c059e3da73d38288b
BLAKE2b-256 736885bce9e1623a4c3fe82f225b2e32c7280b7b3c0f7e9e1f77e3532623376c

See more details on using hashes here.

Provenance

The following attestation bundles were made for nmdc_mcp-0.2.1.tar.gz:

Publisher: pypi_publish.yaml on microbiomedata/nmdc-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: nmdc_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nmdc_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da55ec1f4241ab05fb5ef19e0633e98b18bdf8d0aeb853f3e75f149c6b3dff51
MD5 dde2af7e10ad96809461912167b35053
BLAKE2b-256 c1ca0030ac6b781b90b99b3a17ef6b53fedf32bd9e484250f4458b4fbb95711c

See more details on using hashes here.

Provenance

The following attestation bundles were made for nmdc_mcp-0.2.1-py3-none-any.whl:

Publisher: pypi_publish.yaml on microbiomedata/nmdc-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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