Allen Brain API MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Allen Brain API MCP Serverget mouse cell specimens"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Allen Brain API MCP Server
A comprehensive Model Context Protocol (MCP) server for querying the Allen Institute for Brain Science API. This server provides access to the Allen Brain API using the RESTful Model Access (RMA) format and high-level endpoints for various Allen Brain Institute datasets, including Cell Types, Mouse Connectivity, Ontologies, Image Downloads, Grid Data, and Neuronal Models.
Features
execute_rma_query: Allows sending raw, generic RMA queries for maximum flexibility. You can query models likeSpecimen,SectionDataSet,Structure, and filter them dynamically.get_cell_specimens: A convenient tool to query cell specimens from the Cell Types Database by species (e.g., Mus musculus or Homo Sapiens).get_mouse_connectivity_experiments: A high-level tool to quickly fetch projection/injection experiments from the Mouse Brain Connectivity Atlas.get_atlases: Retrieve atlases available through the API.get_structure_graphs: Retrieve structure graphs.get_structures: Retrieve data about anatomical structures, with optional filtering by graph ID.get_atlas_images: List atlas images belonging to a specified atlas.get_section_images: List section images belonging to a specified section data set.get_grid_data_download_url: Returns the URL to download 3-D expression grid data for a section data set.get_neuronal_models: Fetch biophysically detailed neuronal model records.
Related MCP server: eBird MCP Server
Installation
This project is built using TypeScript. To install dependencies:
cd allenbrain-mcp
npm installBuild
Compile the TypeScript code:
npm run buildRunning the Server
Start the server using node:
npm startOr run in development mode with tsx watch:
npm run devTesting
Tests are written using Vitest. Mocked axios is used to prevent actual network calls during the test suite.
npm run testAdding to an Agent (e.g., Gemini CLI)
To integrate this MCP server with an agent like the Gemini CLI, you need to configure your agent to recognize and execute the server.
Ensure the server is built:
cd /path/to/allenbrain-mcp npm run buildConfigure your agent: You will typically need to provide a path to the server's executable. For the Gemini CLI, this is usually done via a configuration file (e.g.,
tool-code-interpreter.jsonor similar, depending on your setup). Add an entry that points to the compiled server.Example configuration entry (adjust
/path/to/allenbrain-mcpto your actual directory):{ "mcpServers": { "allenbrain-api": { "command": "node", "args": ["/path/to/allenbrain-mcp/build/index.js"] } } }Once configured, your agent should be able to list and call the tools provided by this MCP server.
Disclaimer and Support
This project is a work in progress, and not all functionality has been exhaustively tested with live data. While efforts have been made to accurately reflect the Allen Brain API based on available documentation, this project is not officially linked to or endorsed by the Allen Institute for Brain Science.
Feedback, bug reports, and contributions are welcome and encouraged to improve its completeness and reliability.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides comprehensive access to the UCSC Genome Browser API, enabling queries of genomic data, DNA sequences, gene annotations, variants, and metadata across multiple species and assemblies.Last updated126MIT
- AlicenseBqualityDmaintenanceProvides access to the eBird API 2.0 for retrieving bird observation data, checklists, regional statistics, taxonomy information, and hotspot locations worldwide.Last updated251MIT
- Alicense-qualityFmaintenanceProvides 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.Last updatedMIT
- AlicenseBqualityCmaintenanceEnables scholarly search, paper metadata, citation graphs, author and venue resolution, candidate harvesting, API quota visibility, and guarded full-text downloads through the OpenAlex API.Last updated94MIT
Related MCP Connectors
Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.
Look up genes, fetch sequences, predict variant consequences, find orthologs and xrefs via Ensembl.
Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MCPmed/allenbrain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server