legion-mcp
Database MCP server for AI-powered data access. legion-mcp is a Model Context Protocol (MCP) server maintained by TheRaLabs. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 5 tools, including execute_query, execute_query_json, get_table_columns, get_table_types and get_query_history, that an agent can call directly. It is categorized under AI/Integration, Tool/Server and Database/PostgreSQL.
What is this MCP
This MCP server enables AI assistants to interact with databases through the Model Context Protocol, providing query execution, schema access, and database operations as MCP resources.
How to use this MCP
Configure with DB_TYPE and DB_CONFIG parameters, then run as a standalone server or integrated with FastAPI. Supports multiple deployment methods including UV and PIP installations.
What this MCP can be used for
Enabling AI assistants to perform database operations, analyze data, and generate SQL queries while maintaining context through the MCP protocol.
AIMCP authority
DR and traffic signal for the AIMCP public domain.
Frequently asked questions
What is the legion-mcp MCP server?
legion-mcp is a Model Context Protocol server from TheRaLabs. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.
How do I connect legion-mcp to my AI client?
Add legion-mcp to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.
What tools does legion-mcp provide?
legion-mcp provides 5 tools: execute_query, execute_query_json, get_table_columns, get_table_types and get_query_history.
Is legion-mcp free to use?
legion-mcp is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
