AIND Data MCP Server
An MCP (Model Context Protocol) server that provides access to AIND (Allen Institute for Neural Dynamics) metadata and data assets through a comprehensive set of tools and resources. This server targets the V2 aind-data-schema format.
Installation
{
"servers": {
"aind-data-mcp": {
"url": "https://metadata-portal.allenneuraldynamics.org/mcp/",
"type": "http"
}
},
"inputs": []
}
Features
This MCP server provides the following tools:
Data Retrieval & Querying
get_records— Query MongoDB collections using filters and projectionsaggregation_retrieval— Execute complex MongoDB aggregation pipelinescount_records— Count documents matching a filterflatten_records— Retrieve and flatten records into dot-notation for easier inspectionget_project_names— List all project names in the databaseget_summary— Generate an AI-powered summary for a specific data asset
Schema Navigation
get_top_level_nodes— Explore the top-level fields of the V2 metadata schemaget_additional_schema_help— Query-writing guidance for V2 aggregationsget_modality_types— List all available data modality names and abbreviations
Schema Examples (one tool per document type)
get_acquisition_example,get_data_description_example,get_instrument_example,get_procedures_example,get_subject_example,get_processing_example,get_model_example,get_quality_control_example
NWB File Access
identify_nwb_contents_in_code_ocean— Load an NWB file from the/datadirectory in a Code Ocean capsuleidentify_nwb_contents_with_s3_link— Load an NWB file from an S3 path
Resources (accessible via the MCP protocol)
resource://aind_api— Context and usage patterns for the AIND data access APIresource://load_nwbfile— Reference script for loading NWB files
Development
To develop the code, run
uv sync --extra dev
To run tests:
uv run coverage run -m unittest discover && uv run coverage report
To run linting:
uv run flake8 . && uv run interrogate --verbose .
Metadata
Release files for aind-data-mcp 0.4.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aind_data_mcp-0.4.8.tar.gz | 23.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aind_data_mcp-0.4.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.6 kB
Release files / aind_data_mcp-0.4.8.tar.gz
| Download URL | aind_data_mcp-0.4.8.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
101dd83488cc0587f45d1f827fa7015bb38fa9b9572130c0cdecf555c549a7c8
|
|
BLAKE2b-256 checksum How to use checksums |
d9f4a616467b1bf5ea74d5b08f1cbe5761701c041a79add218379b9611fdf540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / aind_data_mcp-0.4.8-py3-none-any.whl
| Download URL | aind_data_mcp-0.4.8-py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40fe681df446d368c67ec34c3f64918a60bfbb0c1e7d5331c081630d44847a68
|
|
BLAKE2b-256 checksum How to use checksums |
1d9039dad6f5db2445fdac2acd85b1b5d3277ecd99f58eefe28707223339c746
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|