
VirtualFlyBrain
Connects Claude to the VirtualFlyBrain knowledge base for Drosophila melanogaster neuroscience research. Exposes three main operations: get_term_info retrieves details about VFB identifiers, run_query executes predefined queries like PaintedDomains against neural data, and search_terms queries the Solr search server for brain anatomy terms. You'd reach for this when working with fly brain connectomics, gene expression patterns, or standardized neuroanatomy terminology. Available as a hosted HTTP service at vfb3-mcp.virtualflybrain.org, so no local installation needed. Also ships as a Node.js package and Docker image if you want to run it yourself.
- GitHub stars
- 9
- tools
- 11
- transport
- HTTP
- last updated
- Nov 5, 2026
Install
From registry metadata$ npx add-mcp https://vfb3-mcp.virtualflybrain.org --name vfb3-mcpRun in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http vfb3-mcp https://vfb3-mcp.virtualflybrain.orgRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 11 toolsVerified live against the running server on Nov 6, 2026.
get_term_infoGet term info for a VFB or anatomy ontology entity (VFB_*, FBbt_*, etc.). THIS IS THE QUERY DISCOVERY TOOL: the response's "Queries" array lists the valid query_type values that run_query accepts for this entity. ALWAYS call get_term_info before run_query unless you already ob...2 params
Get term info for a VFB or anatomy ontology entity (VFB_*, FBbt_*, etc.). THIS IS THE QUERY DISCOVERY TOOL: the response's "Queries" array lists the valid query_type values that run_query accepts for this entity. ALWAYS call get_term_info before run_query unless you already ob...
force_refreshbooleanid*valuerun_queryRun a pre-computed query on a VFB entity. REQUIRED WORKFLOW: (1) call get_term_info on the ID first; (2) read the response's "Queries" array; (3) pass one of those values as query_type. Calling run_query with a guessed query_type will return an error. If a query returns empty...7 params
Run a pre-computed query on a VFB entity. REQUIRED WORKFLOW: (1) call get_term_info on the ID first; (2) read the response's "Queries" array; (3) pass one of those values as query_type. Calling run_query with a guessed query_type will return an error. If a query returns empty...
force_refreshbooleanidvalueinclude_imagesbooleanlimitnumberoffsetnumberqueriesarrayquery_typestringsearch_termsSearch VFB terms. This is the search virtualflybrain.org itself runs — the same Solr query, the same ranking — so what comes back first here is what a user would see first on the site. USE filter_types BY DEFAULT. Unfiltered searches mix scRNAseq artifacts and developmental st...10 params
Search VFB terms. This is the search virtualflybrain.org itself runs — the same Solr query, the same ranking — so what comes back first here is what a user would see first on the site. USE filter_types BY DEFAULT. Unfiltered searches mix scRNAseq artifacts and developmental st...
auto_fetch_term_infobooleanboost_typesarraydemote_typesarrayexclude_typesarrayfilter_typesarrayminimize_resultsbooleanquery*stringrowsnumberstartnumberuniquebooleanlist_search_facetsList the type names search_terms can filter, exclude, boost or demote by, with the number of terms carrying each one. Call this instead of guessing: there are over 200 names, they are the index's own annotations rather than a curated list, and they change as data is added. Use...1 params
List the type names search_terms can filter, exclude, boost or demote by, with the number of terms carrying each one. Call this instead of guessing: there are over 200 names, they are the index's own annotations rather than a curated list, and they change as data is added. Use...
containsstringresolve_entityResolve an unresolved FlyBase-related query string into VFB/FlyBase IDs and metadata. Pass the raw text exactly as the user wrote it (for example "P{VT054895-GAL4.DBD}", "Hb9-GAL4", "SS04495", "MB002B", "PAM cluster", or "dpp"). Do NOT pass resolved IDs such as FBgn/FBal/FBti/...1 params
Resolve an unresolved FlyBase-related query string into VFB/FlyBase IDs and metadata. Pass the raw text exactly as the user wrote it (for example "P{VT054895-GAL4.DBD}", "Hb9-GAL4", "SS04495", "MB002B", "PAM cluster", or "dpp"). Do NOT pass resolved IDs such as FBgn/FBal/FBti/...
name*stringresolve_combinationResolve an unresolved split-GAL4 combination name or synonym into its FBco ID and component hemidrivers. Pass the raw combination text exactly as the user wrote it (for example "MB002B" or "SS04495"). Do NOT pass an FBco ID; if you already have one, use the downstream tool dir...1 params
Resolve an unresolved split-GAL4 combination name or synonym into its FBco ID and component hemidrivers. Pass the raw combination text exactly as the user wrote it (for example "MB002B" or "SS04495"). Do NOT pass an FBco ID; if you already have one, use the downstream tool dir...
name*stringlist_connectome_datasetsList available connectome datasets with their labels and symbols. Use the returned symbols when constructing exclude_dbs arguments for query_connectivity. Common datasets include Hemibrain (hb), FAFB (fafb), MANC, and others. Call this tool if unsure which dataset symbols are...
List available connectome datasets with their labels and symbols. Use the returned symbols when constructing exclude_dbs arguments for query_connectivity. Common datasets include Hemibrain (hb), FAFB (fafb), MANC, and others. Call this tool if unsure which dataset symbols are...
No parameters. Call it with no arguments.
query_connectivityQuery synaptic connectivity between Drosophila neuron classes across ALL connectome datasets simultaneously for comparative connectomics. This is NOT pre-cached — it runs live queries, so expect slow responses (up to several minutes). Set both upstream_type AND downstream_type...7 params
Query synaptic connectivity between Drosophila neuron classes across ALL connectome datasets simultaneously for comparative connectomics. This is NOT pre-cached — it runs live queries, so expect slow responses (up to several minutes). Set both upstream_type AND downstream_type...
downstream_typestringexclude_dbsarraygroup_by_classbooleanlimitnumberoffsetnumberupstream_typestringweightnumberget_predicted_neurotransmittersGet the PREDICTED neurotransmitter(s) for a Drosophila neuron class — itself or any subclass — from per-instance connectome predictions (each reconstructed neuron carries a predicted transmitter with a confidence). Use this for "what neurotransmitter does <cell type> use?" whe...5 params
Get the PREDICTED neurotransmitter(s) for a Drosophila neuron class — itself or any subclass — from per-instance connectome predictions (each reconstructed neuron carries a predicted transmitter with a confidence). Use this for "what neurotransmitter does <cell type> use?" whe...
aggregatebooleanexclude_dbsarraymin_confidencenumberneuron_type*stringsplit_by_datasetbooleanget_known_neurotransmittersGet the KNOWN (curated) neurotransmitter(s) for a Drosophila neuron class and its subclasses, from the ontology's classification rather than per-instance predictions — so there is no confidence. Use this for "what neurotransmitter is <cell type> known to use?" when you want th...1 params
Get the KNOWN (curated) neurotransmitter(s) for a Drosophila neuron class and its subclasses, from the ontology's classification rather than per-instance predictions — so there is no confidence. Use this for "what neurotransmitter is <cell type> known to use?" when you want th...
neuron_type*stringget_hierarchyBuild a hierarchy tree for a VFB term, showing ancestors (parents) and/or descendants (children). Use relationship "part_of" for brain region structure (e.g. "what are the parts of the mushroom body?") and "subclass_of" for cell type hierarchies (e.g. "what types of Kenyon cel...4 params
Build a hierarchy tree for a VFB term, showing ancestors (parents) and/or descendants (children). Use relationship "part_of" for brain region structure (e.g. "what are the parts of the mushroom body?") and "subclass_of" for cell type hierarchies (e.g. "what types of Kenyon cel...
directionstringdescendants · ancestors · bothdefault: bothid*stringmax_depthnumberrelationship*stringpart_of · subclass_ofSponsors
Readme
VFB3-MCP Server
A Model Context Protocol (MCP) server for Virtual Fly Brain (VFB): query Drosophila melanogaster neuroanatomy, connectomics, expression and reagent data from Claude, Copilot or any other MCP client.
Canonical repository: VirtualFlyBrain/VFB3-MCP (this one) — maintained by the Virtual Fly Brain team.
Hosted service: https://mcp.virtualflybrain.org — no installation, no API key, no account. (The older address https://vfb3-mcp.virtualflybrain.org is the same server and keeps working.)
claude mcp add --transport http virtual-fly-brain https://mcp.virtualflybrain.org
The earlier copy at Robbie1977/VFB3-MCP is archived at v1.3.0 and is not maintained; use this repository and the URL above.
This server provides tools to query VFB data, run queries, and search for terms. In HTTP mode it runs statelessly (no session tracking), so any replica can handle any request and standard load balancing works.
🚀 Quick Start
Use the Live Service (Recommended)
Details
- Repository
- github.com/virtualflybrain/vfb3-mcp
- Website
- virtualflybrain.org
- Category
- Data & Analytics
- Transport
- HTTP
- Registry
- MCP registry, active
- Tools verified
- Nov 6, 2026