Back to MCP Servers

Networkx

The first NetworkX integration for Model Context Protocol, enabling graph analysis and visualization directly in AI conversations. Supports 13 operations including centrality algorithms, community detection, PageRank, and graph visualization.

data-science-toolsgoai

Installation

npx -y networkx-mcp-server

Configuration

{
  "mcpServers": {
    "networkx-mcp-server": {
      "command": "npx",
      "args": ["-y", "networkx-mcp-server"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub