Legion MCP provides a Python interface for AI agents to query databases using Legion Query Runner. It connects to various databases and exposes SQL query capabilities. Developers use it to build AI applications that need to access and manipulate data in relational databases.
Legion MCP provides a Python interface for AI agents to query databases using Legion Query Runner. It connects to various databases and exposes SQL query capabilities. Developers use it to build AI applications that need to access and manipulate data in relational databases.
pip install legion-mcpAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"theralabs-legion-mcp-github": {
"command": "uvx",
"args": [
"pip install legion-mcp"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from legion mcp?"
API Key Required
This server requires an API key from legion mcp. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| LEGION_MCP_API_KEY | Yes | Your legion mcp API key |
"What resources are available in legion mcp?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in legion mcp"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in legion mcp with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.