Skip to main content
Connect Gemini CLI to Graphify so it can search the repositories indexed in your Graphify workspace. You sign in in the browser. There is no API key. Building the graph on your machine instead? Use Graphify CLI for Gemini CLI.

How do I connect Graphify to Gemini CLI?

Run gemini mcp add --transport http graphify https://api.graphify.com/mcp, start gemini, and sign in in your browser the first time it uses Graphify. Gemini CLI can then query the repositories you indexed in Graphify.

Before you start

  • A Graphify account. If you don’t have one yet, you can create one for free while connecting. The Free plan needs no card. See Plans and pricing.
  • At least one repository with the status Indexed. See Repositories and builds.

1. Add the server

Run this in a terminal to add the hosted Graphify server:
Or add Graphify to ~/.gemini/settings.json. Keep any other servers already in the file.
~/.gemini/settings.json

2. Sign in

Start gemini. Gemini CLI opens your browser to sign in to Graphify with OAuth the first time it uses the server. There is no API key to paste.

3. Check the connection

Run /mcp in Gemini CLI. graphify should be listed with its tools. Then ask:

4. Ask a question

Name the symbol, file, or area you care about, for example Who calls the function that validates a session token? Open the source lines an answer cites before you rely on it.

Check a pull request's blast radius

Find every caller, dependent file and test a pull request can affect.