Neo4j Gemini CLI extension
Neo4j’s Gemini CLI extension is part of the growing Gemini CLI extensions ecosystem. The Neo4j Gemini CLI Extension packages four Neo4j MCP servers within Gemini CLI. These let users deploy Neo4j Aura, write Cypher queries from natural language, visualize graphs and use knowledge graphs as memory in larger agentic flows. This makes it easier than ever before to build knowledge graphs and GraphRAG applications.
The four MCP servers bundled within the Gemini CLI extension are:
-
mcp-neo4j-cloud-aura-api – Neo4j Aura cloud service management API
-
mcp-neo4j-cypher – Natural language to Cypher queries
-
mcp-neo4j-data-modeling – Interactive graph data modeling and visualization
-
mcp-neo4j-memory – Knowledge graph memory stored in Neo4j
Let’s get started showing how this works!
I: Subscribe to Neo4j Aura in Google Cloud Marketplace
Before you can use the Neo4j MCP servers, you’ll need a Neo4j Aura subscription and an API key.
-
Log in to Google Cloud Marketplace and subscribe to Neo4j Aura.
-
Once subscribed, go to the Neo4j Aura Console – select the Marketplace Organization, choose the tenant, and store the tenant ID (you’ll need this for a later step).
-
In the Aura Console, click your profile icon in the top-right corner, select Account Settings, and then go to API keys. From there, click Generate API key. Copy the generated NEO4J_AURA_CLIENT_ID and NEO4J_AURA_CLIENT_SECRET. These will be used by the mcp-neo4j-cloud-aura-api server.
A video showing how to deploy through Marketplace is also available here.
II. Configure Environment Variables
If you like, you can follow the instructions here. If you’re a more visual learner, there’s a video here as well.
First, set the environment variables in your shell. This ensures that your MCP servers can connect to Neo4j Aura and authenticate against the Aura API.






