Skip to main content

gephi-ai

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-ai

uvx fetches gephi-ai from PyPI on first run and caches it. For a persistent gephi-ai command on your PATH instead, use pipx install gephi-ai (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-ai command, e.g. for Claude Desktop:

{ "mcpServers": { "gephi-mcp": { "command": "uvx", "args": ["gephi-ai"] } } }

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-ai 1.18.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gephi-ai 1.18.1
File Size Uploaded
gephi_ai-1.18.1.tar.gz 366.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gephi-ai 1.18.1
File Interpreter ABI Platform
gephi_ai-1.18.1-py3-none-any.whl Python 3 none any Details

Total release size: 763.3 kB

Release files / gephi_ai-1.18.1.tar.gz

Download URL gephi_ai-1.18.1.tar.gz
Size 366.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e24212e96f6e169e620097d38b4cae4910a1ca8be3773f3bf3ffaf7a5d86bfb2
BLAKE2b-256 checksum
How to use checksums
adcfd1a5bc347ae5836b3e77712eaeb7af4ef40baae32582fa0697f14429dc1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / gephi_ai-1.18.1-py3-none-any.whl

Download URL gephi_ai-1.18.1-py3-none-any.whl
Size 396.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f505a211b5902986033ab7873905067f46d44b3bc68bdc5db156284db3323eaf
BLAKE2b-256 checksum
How to use checksums
4876f624f62b94e50c6665209f3f0411a6ee2e36292cf9e65795b6a21daffe66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

1.21.1

2 release files

1.21.0

2 release files

1.20.0

2 release files

1.19.2

2 release files

1.19.1

2 release files

1.19.0

2 release files

1.18.2

2 release files

This release

1.18.1 This release

2 release files

1.18.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page