A server that helps people access and query data in databases using the Legion Query Runner with integration of the Model Context Protocol (MCP) Python SDK.
legion-mcp is an MCP project maintained in the theralabs/legion-mcp repository. The maintainer describes its purpose as “A server that helps people access and query data in databases using the Legion Query Runner with integration of the Model Context Protocol (MCP) Python…”. Read the project documentation for the complete scope.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| execute_query | Execute a SQL query and return results as a markdown table |
| execute_query_json | Execute a SQL query and return results as JSON |
| get_table_columns | Get column names for a specific table |
| get_table_types | Get column types for a specific table |
| get_query_history | Get the recent query history |
| list_databases | List all available database connections |
| get_database_info | Get detailed information about a database including schema |
| find_table | Find which database contains a specific table |
| describe_table | Get detailed description of a table including column names and types |
| get_table_sample | Get a sample of data from a table |
Inspect PostgreSQL schemas and run read-only queries with the archived MCP reference server. Review its maintenance status before choosing it.
Connect the Notion MCP server to search workspace content and work with pages and databases through Notion’s hosted OAuth service.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.