LLMGRAPH Documentation

Connect your autonomous coding agents to persistent repository intelligence via Model Context Protocol (MCP).

1. Quickstart Configuration

Add LLMGRAPH to your agent configuration file. Obtain your API key from the API Keys Dashboard.

{
  "mcpServers": {
    "llmgraph": {
      "command": "npx",
      "args": ["-y", "@llmgraph/mcp@latest"],
      "env": {
        "LLMGRAPH_API_KEY": "lg_live_your_api_key_here"
      }
    }
  }
}

2. Cursor Integration

In your project root, create or update .cursor/mcp.json:

// .cursor/mcp.json
{
  "mcpServers": {
    "llmgraph": {
      "command": "npx",
      "args": ["-y", "@llmgraph/mcp@latest"]
    }
  }
}

3. Claude Desktop Setup

Add to your claude_desktop_config.json under mcpServers.