MCP Server for controlling Gephi Desktop via remote API
Project description
gephi-mcp
MCP server that bridges any Model Context Protocol client to a running Gephi Desktop instance, exposing 77 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 MCP 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 MCP 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gephi_mcp-1.2.4.tar.gz.
File metadata
- Download URL: gephi_mcp-1.2.4.tar.gz
- Upload date:
- Size: 158.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc446d84e5fd7d4544a6dc4f1d13dc1ba0b70e080ffe0635b14a99a48f87f7ae
|
|
| MD5 |
c167e3272fb771f8f950cbb6e85755ef
|
|
| BLAKE2b-256 |
ac888a2d7b9a593c6bba5becd0267927b6d0a72d25b61947f6078cb5a5c25914
|
File details
Details for the file gephi_mcp-1.2.4-py3-none-any.whl.
File metadata
- Download URL: gephi_mcp-1.2.4-py3-none-any.whl
- Upload date:
- Size: 163.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50e80a185193a54ea46d6119ebfd56a3db0f126562baedf78ff2ff9f35a561cb
|
|
| MD5 |
05331f6ee3fef44669956ad298e2b87f
|
|
| BLAKE2b-256 |
4ff25b81d78353778295226cc6fe15c0da6f29c64fef49d26a560a526f6bd032
|