G

Graphlore

by yasinyaman · io.github.yasinyaman/graphlore

A Python MCP server that exposes the Graphify knowledge graph as MCP tools, prompts, and resources, enabling AI assistants to explore codebases through a token-budgeted, structural graph during development.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-yasinyaman-graphlore": {
      "command": "uvx",
      "args": [
        "graphlore"
      ],
      "env": {
        "GRAPHLORE_PROJECT_DIR": "<VALUE>",
        "GRAPHLORE_TOOLSET": "lean",
        "GRAPHLORE_OFFLINE": "0",
        "GRAPHIFY_BIN": "graphify",
        "GRAPHIFY_HOST": "127.0.0.1",
        "GRAPHIFY_PORT": "8000",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "GRAPHIFY_OUT_DIR": "graphify-out",
        "GRAPHIFY_TIMEOUT": "600",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "GRAPHIFY_TRANSPORT": "stdio",
        "GRAPHIFY_PROJECT_DIR": ".",
        "GRAPHIFY_RESTRICT_PATHS": "0"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-yasinyaman-graphlore": {
      "command": "uvx",
      "args": [
        "graphlore"
      ],
      "env": {
        "GRAPHLORE_PROJECT_DIR": "<VALUE>",
        "GRAPHLORE_TOOLSET": "lean",
        "GRAPHLORE_OFFLINE": "0",
        "GRAPHIFY_BIN": "graphify",
        "GRAPHIFY_HOST": "127.0.0.1",
        "GRAPHIFY_PORT": "8000",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "GRAPHIFY_OUT_DIR": "graphify-out",
        "GRAPHIFY_TIMEOUT": "600",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "GRAPHIFY_TRANSPORT": "stdio",
        "GRAPHIFY_PROJECT_DIR": ".",
        "GRAPHIFY_RESTRICT_PATHS": "0"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-yasinyaman-graphlore": {
      "command": "uvx",
      "args": [
        "graphlore"
      ],
      "env": {
        "GRAPHLORE_PROJECT_DIR": "<VALUE>",
        "GRAPHLORE_TOOLSET": "lean",
        "GRAPHLORE_OFFLINE": "0",
        "GRAPHIFY_BIN": "graphify",
        "GRAPHIFY_HOST": "127.0.0.1",
        "GRAPHIFY_PORT": "8000",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "GRAPHIFY_OUT_DIR": "graphify-out",
        "GRAPHIFY_TIMEOUT": "600",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "GRAPHIFY_TRANSPORT": "stdio",
        "GRAPHIFY_PROJECT_DIR": ".",
        "GRAPHIFY_RESTRICT_PATHS": "0"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-yasinyaman-graphlore": {
      "command": "uvx",
      "args": [
        "graphlore"
      ],
      "env": {
        "GRAPHLORE_PROJECT_DIR": "<VALUE>",
        "GRAPHLORE_TOOLSET": "lean",
        "GRAPHLORE_OFFLINE": "0",
        "GRAPHIFY_BIN": "graphify",
        "GRAPHIFY_HOST": "127.0.0.1",
        "GRAPHIFY_PORT": "8000",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "GRAPHIFY_OUT_DIR": "graphify-out",
        "GRAPHIFY_TIMEOUT": "600",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "GRAPHIFY_TRANSPORT": "stdio",
        "GRAPHIFY_PROJECT_DIR": ".",
        "GRAPHIFY_RESTRICT_PATHS": "0"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-yasinyaman-graphlore": {
      "command": "uvx",
      "args": [
        "graphlore"
      ],
      "env": {
        "GRAPHLORE_PROJECT_DIR": "<VALUE>",
        "GRAPHLORE_TOOLSET": "lean",
        "GRAPHLORE_OFFLINE": "0",
        "GRAPHIFY_BIN": "graphify",
        "GRAPHIFY_HOST": "127.0.0.1",
        "GRAPHIFY_PORT": "8000",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "GRAPHIFY_OUT_DIR": "graphify-out",
        "GRAPHIFY_TIMEOUT": "600",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "GRAPHIFY_TRANSPORT": "stdio",
        "GRAPHIFY_PROJECT_DIR": ".",
        "GRAPHIFY_RESTRICT_PATHS": "0"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-yasinyaman-graphlore": {
      "command": "uvx",
      "args": [
        "graphlore"
      ],
      "env": {
        "GRAPHLORE_PROJECT_DIR": "<VALUE>",
        "GRAPHLORE_TOOLSET": "lean",
        "GRAPHLORE_OFFLINE": "0",
        "GRAPHIFY_BIN": "graphify",
        "GRAPHIFY_HOST": "127.0.0.1",
        "GRAPHIFY_PORT": "8000",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "GRAPHIFY_OUT_DIR": "graphify-out",
        "GRAPHIFY_TIMEOUT": "600",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "GRAPHIFY_TRANSPORT": "stdio",
        "GRAPHIFY_PROJECT_DIR": ".",
        "GRAPHIFY_RESTRICT_PATHS": "0"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
GRAPHLORE_PROJECT_DIR Yes Absolute path of the project to explore. The server reads graphify-out/graph.json inside it.
GRAPHLORE_TOOLSET No Tool surface: lean (12 core exploration tools), full (all 34) or locate (5, a locate-first surface). Default: lean
GRAPHLORE_OFFLINE No Set to 1 to refuse every path graphlore knows reaches the network. Default: 0
GRAPHIFY_BIN No CLI path Default: graphify
GRAPHIFY_HOST No Bind host for HTTP transports Default: 127.0.0.1
GRAPHIFY_PORT No Bind port for HTTP transports Default: 8000
GEMINI_API_KEY No Optional API key for Google Gemini backend naming.
OPENAI_API_KEY No Optional API key for OpenAI backend naming.
GRAPHIFY_OUT_DIR No Output folder name Default: graphify-out
GRAPHIFY_TIMEOUT No CLI timeout (seconds) Default: 600
ANTHROPIC_API_KEY No Optional API key for Anthropic backend naming.
GRAPHIFY_TRANSPORT No stdio | streamable-http | sse Default: stdio
GRAPHIFY_PROJECT_DIR No Project root to extract the graph from Default: .
GRAPHIFY_RESTRICT_PATHS No Confine graphify_build's path to the project dir (auto-on for HTTP) Default: 0

Similar servers