TheRaLabs/legion-mcp

A server that helps people access and query data in databases using the Legion Query Runner with Model Context Protocol (MCP) in Python.

40
/ 100
Emerging

Leverages the Legion Query Runner library to support nine database systems (PostgreSQL, MySQL, SQL Server, BigQuery, Oracle, SQLite, and others) through a unified MCP interface that automatically discovers schemas without manual configuration. Exposes database operations as MCP tools, resources, and prompts to enable AI assistants to perform natural language queries, while handling credential management separately from application code. Supports both single and multi-database deployments via environment variables, CLI arguments, or MCP settings JSON, with flexible runtime options including standalone server or FastAPI integration.

No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 9 / 25
Maturity 9 / 25
Community 20 / 25

How are scores calculated?

Stars

86

Forks

25

Language

Python

License

GPL-3.0

Category

sql-database-mcp

Last pushed

May 11, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/TheRaLabs/legion-mcp"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.