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
Release history Release notifications | RSS feed
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.0.tar.gz
(33.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nmdc_mcp-0.2.0.tar.gz.
File metadata
- Download URL: nmdc_mcp-0.2.0.tar.gz
- Upload date:
- Size: 33.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc6cc8848f135198e2c4e744615bfd9d86afc9318955143e3059a0510c9fddf9
|
|
| MD5 |
7fbaf179150a08834cf11e2c832a7153
|
|
| BLAKE2b-256 |
66b6970a4d29c69e4cebe827784df5d81a3e4b57fa5e799e6bd3994cc3713122
|
File details
Details for the file nmdc_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nmdc_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a03d1a8656e93cd4bf54406808ea36ac6f164276dddfd0619d77b172a87b7159
|
|
| MD5 |
fdd8607c9c96ab0846b77d7c9be87b44
|
|
| BLAKE2b-256 |
8fc8e7d4660ce9bc00f9f74f98203a3e96a8695b0fe715339c8f593a9efa6a67
|