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 & Databasesstdiolocal 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 claude_desktop_config.json

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 under mcpServers in your config, then restart Claude Desktop. For Claude Code, reference this server in your project's CLAUDE.md.

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 & Databasesstdio no-auth
39.3k6d 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 & DatabasesHTTP no-auth
19.2k4d ago0 toolslocal
$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 & Databasesstdio auth
17.8k4d ago0 toolslocal
$pip install cognee