A Model Context Protocol (MCP) server for interacting with VirtualFlyBrain (VFB) APIs. This server provides tools to query VFB data, run queries, and search for terms.
https://vfb3-mcp.virtualflybrain.org
virtual-fly-brain (or any name you prefer)https://vfb3-mcp.virtualflybrain.orgConfiguration JSON (alternative method):
{
"mcpServers": {
"virtual-fly-brain": {
"type": "http",
"url": "https://vfb3-mcp.virtualflybrain.org",
"tools": ["*"]
}
}
}
~/.claude.json%USERPROFILE%\.claude.json{
"mcpServers": {
"virtual-fly-brain": {
"type": "http",
"url": "https://vfb3-mcp.virtualflybrain.org",
"tools": ["*"]
}
}
}
Ctrl/Cmd + ,)https://vfb3-mcp.virtualflybrain.orgCtrl/Cmd + Shift + P)virtual-fly-brainhttps://vfb3-mcp.virtualflybrain.orgFor any MCP-compatible client that supports HTTP servers:
{
"mcpServers": {
"virtual-fly-brain": {
"type": "http",
"url": "https://vfb3-mcp.virtualflybrain.org",
"tools": ["*"]
}
}
}
To use the Virtual Fly Brain (VFB) Model Context Protocol (MCP) server with Google Gemini, you can connect through custom Python/Node.js clients that support MCP.
Note: Direct Gemini web interface integration with MCP is not currently supported. Developer tools are needed to connect the two.
For application development, use the mcp and google-genai libraries to connect.
pip install google-genai mcpSSEClientTransport to connect to the VFB URL, list its tools, and pass their schemas to the Gemini model as Function Declarations.Once configured, you can test that VFB3-MCP is working by asking your AI assistant questions like:
If you see responses with VirtualFlyBrain data, including neuron names, brain regions, gene expressions, or connectivity information, the setup is successful!
get_term_info - Get term information from VirtualFlyBrain using a VFB IDrun_query - Run a query on VirtualFlyBrain using a VFB ID and query typesearch_terms - Search for VFB terms using the Solr search server with filtering optionsVirtualFlyBrain (VFB) is a comprehensive knowledge base about Drosophila melanogaster neurobiology, integrating neuroanatomical 3D images and models, gene expression data, neural connectivity, and standardized terminology.
This server is designed for MCP clients like Claude Desktop, Claude Code, and GitHub Copilot.