MCP.so
登录

@rog0x/MCP Database Tools

@rog0x

基本信息

分类

数据库

最近更新

许可证

MIT

作者

rog0x

关于 @rog0x/MCP Database Tools

MCP server for SQL/database: format SQL, explain queries in plain English, analyze schemas, build queries from natural language, generate migrations Install: npx @rog0x/mcp-database-tools

@rog0x/MCP Database Tools 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

@rog0x/MCP Database Tools 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is @rog0x/mcp-database-tools?

An MCP server that provides SQL and database tools for AI agents. All analysis is performed on SQL text only — no actual database connection is required. It offers tools for formatting, explaining, analyzing, building, and migrating SQL.

How to use @rog0x/mcp-database-tools?

Install via npm install && npm run build. Then configure in Claude Desktop by adding the server to your claude_desktop_config.json with the command node and args pointing to the built dist/index.js. You can also run it standalone with npm start.

Key features of @rog0x/mcp-database-tools

  • Format and prettify SQL queries with proper indentation and uppercased keywords
  • Explain SQL queries in plain English, step by step, with optimization tips
  • Analyze CREATE TABLE statements to extract schema and generate Mermaid ER diagrams
  • Build SQL queries from natural language descriptions
  • Compare two schemas and generate ALTER TABLE migration statements (up and down)

Use cases of @rog0x/mcp-database-tools

  • AI agents that need to format or explain complex SQL queries
  • Generating SQL from natural language requests for rapid prototyping
  • Analyzing and visualizing database schemas without connecting to a live database
  • Creating migration scripts between different schema versions

常见问题

1

Does this server connect to a real database?

No, all analysis is performed on SQL text only. No actual database connection is required.

2

What SQL dialects are supported?

The tools support MySQL, PostgreSQL, and SQLite syntax.

3

How do I use these tools with Claude Desktop?

Add the server to your `claude_desktop_config.json` following the example in the README. The AI can then invoke the tools.

4

What output does `schema_analyze` produce?

It generates an ER diagram in Mermaid format based on the provided CREATE TABLE statements.

5

Can I run the server without Claude Desktop?

Yes, you can run it standalone using `npm start`.

评论

数据库 分类下的更多 MCP 服务器