mcp-server-sql-analyzer
SQL分析与方言转换MCP服务器. mcp-server-sql-analyzer is a Model Context Protocol (MCP) server maintained by j4c0bs. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 4 tools, including lint_sql, transpile_sql, get_all_table_references and get_all_column_references, that an agent can call directly. It is categorized under Database/SQL, Tool/Server and AI/Integration.
什么是这个MCP
该MCP服务器利用SQLGlot提供SQL分析、语法检查及方言转换功能。它能验证SQL语法、在不同方言间转换,并分析表/列引用关系。
如何使用这个MCP
通过uvx或uv命令在Claude Desktop中配置,随后可使用lint_sql工具进行语法验证,或使用transpile_sql进行方言转换。需在claude_desktop_config.json中进行设置。
这个MCP的用途
- 执行前验证SQL语法
- 在数据库系统间迁移查询语句
- 分析复杂查询结构
- 理解列关系
- 确保特定方言兼容性
AIMCP authority
DR and traffic signal for the AIMCP public domain.
Frequently asked questions
What is the mcp-server-sql-analyzer MCP server?
mcp-server-sql-analyzer is a Model Context Protocol server from j4c0bs. 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 mcp-server-sql-analyzer to my AI client?
Add mcp-server-sql-analyzer 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 mcp-server-sql-analyzer provide?
mcp-server-sql-analyzer provides 4 tools: lint_sql, transpile_sql, get_all_table_references and get_all_column_references.
Is mcp-server-sql-analyzer free to use?
mcp-server-sql-analyzer 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.
