Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gephi_mcp-1.5.1.tar.gz (170.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gephi_mcp-1.5.1-py3-none-any.whl (176.2 kB view details)

Uploaded Python 3

File details

Details for the file gephi_mcp-1.5.1.tar.gz.

File metadata

  • Download URL: gephi_mcp-1.5.1.tar.gz
  • Upload date:
  • Size: 170.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for gephi_mcp-1.5.1.tar.gz
Algorithm Hash digest
SHA256 41981cfa7e373e40b83149f6a10771dd0d96f7e2e088396bbd4ecf39c511f851
MD5 96b82fa14448539c9290b8c54066df53
BLAKE2b-256 f2299c54414510dda1aad97f9bb41a8387903f0599f1ab3630a7a14384d47a79

See more details on using hashes here.

File details

Details for the file gephi_mcp-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: gephi_mcp-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 176.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for gephi_mcp-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe9a8acc89a55d1f38ab551304a2231dbe312c9f6ac16ceacc3d12513fc0152e
MD5 b04075eab16dd1e670ca7d0e01f23d83
BLAKE2b-256 c9e3b90ee8a234a1f97250d9fdb75374261e9bcca2f7d916ff2919789e6145a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page