MCP Directory

CodeGraphContext vs Playwright MCP Server

A side-by-side comparison of two Developer Tools servers — tools, transport, auth, maintenance, and copy-paste config for each.

 CodeGraphContext

Index local code into a graph database to give AI assistants deep, queryable code context.

Unverified
stdio (local)
No auth
Python
Playwright MCP Server

Microsoft's official browser-automation MCP using Playwright's accessibility tree (no vision model).

Verified
stdio (local)
No auth
TypeScript
CategoryDeveloper ToolsDeveloper Tools
LanguagePythonTypeScript
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars3.8k24k
Last commit7 days ago13 days ago
Verified
Actively maintained
Installpip install codegraphcontextnpx -y @playwright/mcp@latest
RepoOpen Open

Verdict

Pick CodeGraphContext if you need the broadest set of tools.

Pick Playwright MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Add CodeGraphContext

Install / run
pip install codegraphcontext

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "codegraphcontext": {
      "command": "codegraphcontext",
      "args": [
        "mcp",
        "start"
      ],
      "env": {
        "NEO4J_URI": "YOUR_NEO4J_URI",
        "NEO4J_USERNAME": "YOUR_NEO4J_USERNAME",
        "NEO4J_PASSWORD": "YOUR_NEO4J_PASSWORD"
      }
    }
  }
}

Add Playwright MCP Server

Install / run
npx -y @playwright/mcp@latest

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "playwright-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp@latest"
      ]
    }
  }
}

FAQ

CodeGraphContext or Playwright MCP Server — which is better?

Pick CodeGraphContext if you need the broadest set of tools. Pick Playwright MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both CodeGraphContext and Playwright MCP Server?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do CodeGraphContext and Playwright MCP Server work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.