NetworkX Graph MCP Server

NetworkX Graph MCP Server

Enables creation and management of state/decision graphs using NetworkX, supporting directed graphs with conditional branches, edge ordering, path finding, and visualization through PNG exports or interactive web interface.

Category
Visit Server

README

NetworkX Graph MCP Server

State/decision graph MCP server using NetworkX. Supports directed graphs (cycles allowed), explicit edge ordering, conditional branches, import/export, and visualization.

Setup

cd ~/Documents/networkx-graph-mcp-server
uv venv
source .venv/bin/activate
uv sync

MCP client config (example)

Add to your mcp_config.json:

{
  "mcpServers": {
    "networkx-graph": {
      "disabled": false,
      "timeout": 60,
      "type": "stdio",
      "command": "~/Documents/networkx-graph-mcp-server/.venv/bin/python",
      "args": ["-m", "networkx_graph"]
    }
  }
}

Tools (summary)

  • Graph: create_state_graph, delete_state_graph, list_state_graphs, get_state_graph_info
  • Nodes: add_node, update_node, remove_node, get_node, list_nodes
  • Edges: add_edge, remove_edge, get_edges, set_edge_order, set_edge_condition, get_node_edges
  • Bulk: bulk_add_nodes, bulk_add_edges
  • Export/Visualize: export_graph (yaml/json), import_graph, visualize_graph (PNG)
  • Analysis: validate_graph (warnings only, cycles allowed), get_graph_stats, find_path

Web Visualization

Interactive web browser for visualizing graphs:

uv run app.py

Then open your browser to: http://localhost:5000

Features:

  • Load YAML/JSON graph files via file upload
  • Interactive graph visualization with zoom, pan, and node selection
  • View node details, statistics, and graph structure
  • Color-coded nodes by type (action, decision, verification, loop, success, failure)

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured