Query OpenNeuro Neuroimaging Data via GraphQL
Query OpenNeuro's public MRI, MEG, EEG, iEEG, and ECoG neuroimaging datasets via GraphQL - no API key required.
Why it matters
Access and query the OpenNeuro neuroimaging dataset API using GraphQL. Retrieve MRI, MEG, EEG, iEEG, and ECoG data for research and analysis.
Outcomes
What it gets done
Execute GraphQL queries against the OpenNeuro API.
Discover available fields and operations through schema introspection.
Query neuroimaging datasets, snapshots, and file listings.
Access public OpenNeuro data without requiring authentication.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-openneuro | bash Capabilities
Tools your agent gets
Execute GraphQL queries against the OpenNeuro API to access neuroimaging datasets
Overview
OpenNeuro MCP Server
OpenNeuro MCP Server gives an AI assistant GraphQL access to public MRI, MEG, EEG, iEEG, and ECoG neuroimaging datasets via a single openneuro_graphql_query tool, requiring no authentication. Use it for conversational, ad-hoc queries against OpenNeuro's public neuroimaging data. Academic/research use requires attribution per the MIT license terms.
What it does
OpenNeuro MCP Server gives an AI assistant GraphQL access to the OpenNeuro neuroimaging data platform, covering MRI, MEG, EEG, iEEG, and ECoG datasets, snapshots, and file listings, without requiring authentication.
When to use - and when NOT to
Use it when you want to look up a neuroimaging dataset by ID, list the files in a specific dataset snapshot, query dataset metadata, or introspect the GraphQL schema to discover available fields and operations. Since OpenNeuro's data is public, no API key is needed. Do not use it for private or restricted neuroimaging data - it only accesses the free, open OpenNeuro platform.
Capabilities
openneuro_graphql_query: execute a GraphQL query against the OpenNeuro API, supporting dataset lookups, snapshot file listings, metadata queries, and schema introspection.
Example queries: get dataset information by dataset ID, list files in a dataset snapshot, perform schema introspection to discover available fields and operations, query neuroimaging datasets and their metadata.
How to install
Connect to the hosted production server via mcp-remote:
{
"mcpServers": {
"openneuro": {
"command": "npx",
"args": ["mcp-remote", "https://open-neuro-mcp-server.quentincody.workers.dev/sse"]
}
}
}
For local development, clone and run:
git clone https://github.com/quentincody/open-neuro-mcp-server.git
cd open-neuro-mcp-server
npm install
npm run dev
Then point Claude Desktop at http://localhost:8787/sse instead. Deploy your own instance to Cloudflare Workers with npm run deploy.
Who it's for
Neuroscience researchers who want an AI assistant to query OpenNeuro's public neuroimaging datasets conversationally instead of manually browsing the OpenNeuro website or writing GraphQL clients. Academic/research use requires attribution per the project's MIT license terms.
Source README
MCP server that provides GraphQL access to the OpenNeuro neuroimaging dataset API for working with MRI, MEG, EEG, iEEG, and ECoG data.
Installation
From Source
git clone https://github.com/quentincody/open-neuro-mcp-server.git
cd open-neuro-mcp-server
npm install
Development Server
npm run dev
Deploy to Cloudflare
npm run deploy
Configuration
Claude Desktop (Production)
{
"mcpServers": {
"openneuro": {
"command": "npx",
"args": [
"mcp-remote",
"https://open-neuro-mcp-server.quentincody.workers.dev/sse"
]
}
}
}
Claude Desktop (Local Development)
{
"mcpServers": {
"openneuro": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse"
]
}
}
}
Available Tools
| Tool | Description |
|---|---|
openneuro_graphql_query |
Execute GraphQL queries against the OpenNeuro API |
Features
- GraphQL query tool: Execute GraphQL queries against the OpenNeuro API
- Schema introspection: Discover available fields and operations
- Dataset access: Query neuroimaging datasets, snapshots, and file listings
- No authentication: Access public OpenNeuro data without API keys
Usage Examples
Get dataset information by specific dataset ID
List files in a dataset snapshot
Perform schema introspection to discover available fields and operations
Query neuroimaging datasets and their metadata
Notes
This project is available under the MIT license with academic citation requirements. Academic/research use requires attribution, while commercial/non-academic use follows standard MIT license terms. The server runs on Cloudflare Workers and provides access to the free and open OpenNeuro neuroimaging data platform.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.