AIND Metadata MCP Server

AIND Metadata MCP Server

Provides access to Allen Institute for Neural Dynamics (AIND) metadata and data assets through MongoDB queries, aggregation pipelines, NWB file exploration, and AI-powered data summaries.

Category
访问服务器

README

AIND Metadata MCP Server

License Code Style semantic-release: angular Interrogate Coverage Python

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.

Features

This MCP server provides tools for:

  • Data Retrieval: Query MongoDB collections with filters and projections
  • Aggregation: Execute complex MongoDB aggregation pipelines
  • Schema Exploration: Access detailed schema examples and documentation
  • NWB File Access: Load and explore NWB (Neurodata Without Borders) files
  • Data Summaries: Generate AI-powered summaries of data assets

Installation

Install uv if you haven't already - following this documentation

Install the MCP server using uv:

uv tool install aind-metadata-mcp

Or using pip:

pip install aind-metadata-mcp

Configuration

For Cline (VSCode Extension)

In order to ensure that the MCP server runs in your preferred client, you will have to download the aind-metadata-mcp package to your console. If space is an issue, please set UV_CACHE_DIR and UV_TOOL_DIR to locations that have capacity before proceeding with the next step.

  1. Simpler version of install Run uv tool install aind-metadata-mcp on your terminal and proceed below to configuring your MCP clients.

  2. If the above step didn't work:

Create virtual environment with python 3.11 in IDE

# Instructions for Conda
conda create -n <my_env> python=3.11
conda activate <my_env>

# Instructions for virtual environment
py -3.11 -m venv .venv
# Windows startup
.venv\Scripts\Activate.ps1 
# Mac/ Linux startup
source .venv/bin/activate 

Run the following commands in your IDE terminal.

pip install uv
uvx aind-metadata-mcp

If all goes well, and you see the following notice - Starting MCP server 'aind_data_access' with transport 'stdio'-, you should be good for the set up in your client of choice!

Cursor IDE

  1. Install the MCP server:

    uv tool install aind-metadata-mcp
    
  2. Create the MCP configuration file:

    mkdir -p ~/.cursor
    
  3. Create ~/.cursor/mcp.json with the following content:

    {
      "mcpServers": {
        "aind-data-access": {
          "command": "aind-metadata-mcp",
          "args": [],
          "env": {}
        }
      }
    }
    
  4. Important: Replace aind-metadata-mcp with the full path if needed:

    which aind-metadata-mcp
    

    Use the full path (e.g., /Users/username/.local/bin/aind-metadata-mcp) in the command field.

  5. Restart Cursor completely (Cmd+Q then reopen)

Note: Cursor uses a different MCP configuration system than VSCode. The configuration must be in ~/.cursor/mcp.json, not in the main settings.json file.

Instructions for use in MCP clients

JSON Config files to add MCP servers in clients should be structured like this

{
    "mcpServers": {

    }
}

Insert the following lines into the mcpServers dictionary


"aind_data_access": {
      "disabled": false,
      "timeout": 300,
      "type": "stdio",
      "command": "aind-metadata-mcp"
}

Note that after configuring the JSON files, it will take a few minutes for the serve to populate in the client.

Claude Desktop App

  • Click the three lines at the top left of the screen.
  • File > Settings > Developer > Edit config

Cline in VSCode

  • Ensure that Cline is downloaded to VScode
  • Click the three stacked rectangles at the top right of the Cline window
  • Installed > Configure MCP Servers
  • Close and reopen VSCode

Github Copilot in VSCode

  • Command palette (ctr shift p)
  • Search for MCP: Add server
  • Select Manual Install / stdio
  • When prompted for a command, input uvx aind-data-access
  • Name your server
  • Close and reopen VSCode
  • In Copilot chat -> Select agent mode -> Click the three stacked rectangles to configure tools
  • In order to enable the agent to reply with context of the AIND API, you'll have to manually add the .txt files (under resources) in this repository

For use in Code Ocean

  • Locate the following capsule, to spin up Cline and Co-pilot with the aind-metadata-mcp pre-installed.
  • Refer the the code ocean MCP server for additional support
  • Either pin version 4.2, or 4.5

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选