Skip to content

legion-mcp vs sql-query-mcp

legion-mcp is an open-source MCP server for databases. sql-query-mcp is an open-source MCP server for databases. The table puts their facts side by side; each name links to its full write-up.

  • legion-mcp has more GitHub stars (95 vs 7).
  • legion-mcp is best for letting an ai assistant explore an unfamiliar database schema before writing queries.
  • sql-query-mcp is best for letting an ai assistant inspect table definitions before generating sql.
In short
MCP server giving AI assistants read access to PostgreSQL, MySQL, SQL Server and other
MCP server giving AI clients controlled read-only access to PostgreSQL, MySQL and Hive
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, API, Self-hosted
CLI, Self-hosted, API
GitHub stars
95
7
Last commit
May 2025
Jun 2026
License
GPL-3.0
MIT
Open source
Tools
10
13

Full write-ups

legion-mcp vs sql-query-mcp: questions

Is legion-mcp or sql-query-mcp cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between legion-mcp and sql-query-mcp?

legion-mcp is an open-source MCP server for databases. sql-query-mcp is an open-source MCP server for databases. legion-mcp has more GitHub stars (95 vs 7).

Keep comparing