Gephi AI
Control Gephi by talking to your AI assistant. Build, analyze, style, and export publication-ready network maps through the Model Context Protocol (MCP).
Built for researchers working across network science and AI.
Status: public beta. APIs may change between minor versions.
What you get
Your AI assistant drives Gephi. Say what you want in plain language and the assistant builds, analyzes, styles, and exports the map.
It is a conversation, not a command line. The assistant explains what it is doing, checks its own maps before showing them, and teaches you to read what you see. You can point back: select nodes in Gephi and ask "what did I select?"
Any data, any MCP client. Network files import directly, and spreadsheets and other data become networks conversationally. Works with Claude Code, Claude Desktop, OpenAI Codex, Gemini CLI, or any MCP client.
Full feature list
- 121 tools covering the whole workflow: build, analyze, style, lay out, filter, and export
- One-level undo: bulk removals, merges, extracts, and pruning filters snapshot the workspace first, so
gephi_undo brings the graph back (single node or edge removals and column-writing filters do not; gephi_snapshot first)
- Measured layout quality: the graph profile flags heavy-tailed weights and hub-and-spoke wiring before a layout runs, visual QA scores how well communities separate, and numerically exploded layouts are caught instead of exported
- Interactive network view inside the chat (pan, zoom, hover, and click a node to ask about it)
- Slash commands for common jobs:
/analyze-network, /community-detection, /centrality, /visualize, /export-map, /import-and-explore, /explore, /verify-claim, /text-network, /teach, and /counterfactual
- Specialized agents for claim verification, layout iteration, structural analysis, and text networks
- Two extra layouts beyond Gephi's own: by role in the network, and by community
- Reads your selection in the Gephi window
- Drives any layout or metric plugin installed from the Gephi plugin portal
- Imports GEXF, GraphML, GML, CSV, DOT, and Pajek
Install
One command
On macOS or Linux, in a terminal:
curl -fsSL https://raw.githubusercontent.com/MattArtzAnthro/gephi-ai/main/install.sh | bash
On Windows, in PowerShell:
irm https://raw.githubusercontent.com/MattArtzAnthro/gephi-ai/main/install.ps1 | iex
The installer sets up each AI assistant on your computer (Claude Code, Codex, Gemini CLI, Claude Desktop) and installs uv if needed. If your Gephi does not already include the plugin, it adds it, removing the old Gephi AI (MCP) plugin if it finds one; on a Mac with Homebrew it can install Gephi itself. Claude Desktop is set up through its settings file, so there is nothing to click; restart Claude Desktop afterwards. The Gephi plugin download is checked against the checksum GitHub publishes for it; if GitHub's API is unavailable (its hourly limit on a shared network), the installer says it could not check. It shows its plan and asks before changing anything, closes Gephi only with your permission and reopens it (on Linux it asks you to close Gephi yourself), and is safe to run again; running it again is also how you update. When it finishes, open Gephi and ask your assistant to check the connection.
Options go after bash -s -- (for example curl ... | bash -s -- --dry-run):
| Option | What it does |
|---|
--dry-run | Shows what would change and changes nothing |
--yes | Accepts every default without asking |
--clients claude,gemini | Sets up only the assistants you name (claude, codex, gemini, desktop) |
--skip-gephi-plugin | Connects the assistants and leaves Gephi alone |
--version 1.21.2 | Installs a specific release |
--allow-unverified | Installs the Gephi plugin even when no checksum can be found for it. Without this option the installer refuses to install an unchecked plugin and tells you to try again later |
--open-gephi | Opens Gephi at the end and checks that the plugin answers |
--no-launch | Does not reopen Gephi if the installer had to close it |
--uninstall | Removes what the installer added (uv and Gephi stay; a Claude Desktop entry that runs your own command is left alone) |
On Windows the same options are -DryRun, -Yes, -Clients, -SkipGephiPlugin, -Version, -AllowUnverified, -OpenGephi, -NoLaunch, and -Uninstall, passed as & ([scriptblock]::Create((irm <url>))) -DryRun. With the plain irm <url> | iex form, which cannot take options, set $env:GEPHI_AI_ALLOW_UNVERIFIED = "1" first to allow an unchecked plugin install. To read the script before running it, download install.sh or install.ps1 and run the file.