gephi-mcp
MCP server that bridges any Model Context Protocol client to a running Gephi Desktop instance, exposing 113 tools for graph construction, statistics, community detection, layout, styling, filtering, and publication-ready export.
It translates MCP tool calls into HTTP requests against the Gephi AI plugin's local API
(http://127.0.0.1:8080). Each tool has a typed signature, so clients receive a precise
per-field JSON schema rather than an opaque blob.
This is the MCP server component of gephi-ai; see the top-level repository for the Gephi plugin, the Claude Code plugin, and full docs.
Install
No install needed with uv — point your MCP client at:
uvx gephi-mcp
uvx fetches gephi-mcp from PyPI on first run
and caches it. For a persistent gephi-mcp command on your PATH instead, use
pipx install gephi-mcp (or pipx install . from this directory). Avoid plain
pip install -e . inside a virtual environment: the command is then only visible on
that venv's PATH, and MCP clients launched outside your shell won't find it.
Use
The Gephi AI plugin must be installed and Gephi Desktop running first. Then point any MCP
client at the gephi-mcp command, e.g. for Claude Desktop:
{ "mcpServers": { "gephi-mcp": { "command": "uvx", "args": ["gephi-mcp"] } } }
Configuration
| Env var | Default | Purpose |
|---|---|---|
GEPHI_API_URL |
http://127.0.0.1:8080 |
Gephi plugin HTTP API base URL |
GEPHI_REQUEST_TIMEOUT |
60.0 |
Per-request timeout (seconds) |
Development
pip install -e . pytest pytest-asyncio ruff
ruff check .
pytest -q
License
Apache-2.0 — see the repository LICENSE.
Metadata
Release files for gephi-mcp 1.18.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gephi_mcp-1.18.0.tar.gz | 364.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gephi_mcp-1.18.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 757.3 kB
Release files / gephi_mcp-1.18.0.tar.gz
| Download URL | gephi_mcp-1.18.0.tar.gz |
|---|---|
| Size | 364.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb7f53d96d7fa7d530d8651c538fe17c181d6560a66c632eddc4747f4af858aa
|
|
BLAKE2b-256 checksum How to use checksums |
b478297e3b853c17ca806de0b319fbf8424d1164a94ead516db2c65d0c563f37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / gephi_mcp-1.18.0-py3-none-any.whl
| Download URL | gephi_mcp-1.18.0-py3-none-any.whl |
|---|---|
| Size | 393.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
712cb9109416fed0848bbfabab232f21a0d79f1da7e5c22cc4700ceadfab047a
|
|
BLAKE2b-256 checksum How to use checksums |
189726b02ef12cb8cc3911b139423d489d595ef50caecea5ca62f3348988a603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|