Back to MCP Servers
🔌

TheRaLabs/legion-mcp

GPL-3.0

🐍 🏠 Universal database MCP server supporting multiple database types including PostgreSQL, Redshift, CockroachDB, MySQL, RDS MySQL, Microsoft SQL Server, BigQuery, Oracle DB, and SQLite.

PythonDatabases

Install

npx -y @modelcontextprotocol/inspector

claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "theralabs-legion-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/inspector"
      ]
    }
  }
}

Add this to your Claude Desktop config file. Find it at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.

What this does

TheRaLabs/legion-mcp exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation. That makes it useful when you want Claude to reach into your databases without copy-pasting context every turn.

Common use cases

  • Query structured data without writing SQL by hand
  • Let Claude read table schemas before answering data questions
  • Run read-only operational reports or sanity checks during incidents