Home/Directory/Data & Databases/Legion

Legion

@TheRaLabs · github.com/TheRaLabs/legion-mcp

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

ClaimedData & DatabasesstdioToolslocal auth
GitHub

Install one command

terminal
$ pip install database-mcp

Or add it with the Claude CLI: claude mcp add theralabs-legion-mcp

Tools exposed 11 tools

execute_query
execute_query_json
get_table_columns
get_table_types
get_query_history
list_databases
get_database_info
find_table
describe_table
get_table_sample
db_id

Configuration generate & copy

Values are filled in locally in your browser — nothing is sent anywhere.

claude_desktop_config.json
{
  "mcpServers": {
    "theralabs-legion-mcp": {
      "command": "pip",
      "args": ["install", "database-mcp"],
      "env": {
        "DB_CONFIG": "<your-db-config>",
        "DB_CONFIGS": "<your-db-configs>",
        "DB_TYPE": "<your-db-type>"
      }
    }
  }
}

Paste the Claude Desktop snippet under mcpServers in your config, then restart Claude Desktop — or run the Claude Code command in your terminal.

Related

Similar servers

More in Data & Databases
Compare
@mindsdb

Connect and unify data across various platforms and databases with MindsDB as a single MCP server.

Data & DatabasesstdioRead-only no-auth
39.3k1w ago0 toolslocal
Install command unavailable — see repo
Compare
@mediar-ai

Local-first system capturing screen/audio with timestamped indexing, SQL/embedding storage, semantic search, LLM-powered history analysis, and event-triggered actions - enables building context-aware…

Data & DatabasesHTTPRead-only no-auth
19.2k5d ago1 toollocal
$npx screenpipe record
Compare
@topoteretes

Memory manager for AI apps and Agents using various graph and vector stores and allowing ingestion from 30+ data sources

Data & DatabasesstdioRead-only auth
17.8k5d ago0 toolslocal
$pip install cognee