Grain SQL MCP server
io.github.pattrnlabs/grain·v0.10.48·3 starsRun SQL queries and inspect database schemas through safe, visible MCP tools.
not scanned yet
3 stars1.4k downloads/wk
Reviews
Write oneNobody has reviewed Grain SQL yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Grain SQL tools
No tool declarations could be read from the package source. They show once the server is installed.
How Grain SQL compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 55% of 802 Databases servers
- GitHub stars
- 3
- more than 65% of 602 Databases servers
- Downloads a week
- 1,373
- more than 92% of 328 Databases servers with a package
Release history: 26 versions in the registry since 2026-09-15, latest 2026-11-03, typically one every 2 days.
Install Grain SQL in Claude Code, Cursor or VS Code
Runs npx -y grain-tools on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add grain -- npx -y grain-tools
What the publisher says
From the Grain SQL repository's README, as published. We do not edit it. Read it on GitHub
grain
Analytics tools for Humans and Agents
Nothing above is checked by us. What we check is on the safety report.
Grain SQL: common questions
- Is Grain SQL MCP server safe?
- Mostly: it is graded B (82/100). Read the Grain SQL safety report
- How do I install Grain SQL?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Grain SQL need an API key?
- Yes. The registry entry asks for
GRAIN_CONNECTIONS. - Is Grain SQL maintained?
- The last commit was 33 days ago (2026-10-01). The latest release is v0.10.48.
- What can I use instead of Grain SQL?
- Servers from other publishers that do the same job: LINQ to DB MCP server, MCP Local WP MCP server and Mssql Reader MCP server. Compare all Grain SQL alternatives.
- How does Grain SQL compare with other Databases MCP servers?
- safety score 82/100 (higher than 55% of 802 Databases servers); github stars 3 (more than 65% of 602 Databases servers); downloads a week 1,373 (more than 92% of 328 Databases servers with a package). Full comparison.
Alternatives to Grain SQL
Same job from other publishers: the closest match first, then the best rated.
- LINQ to DBInspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.not reviewedEstablishedA
- MCP Local WPWordPress database access via Local by Flywheel. Execute read-only MySQL queries and inspect schema.not reviewedGrowingA
- Mssql ReaderRead-only MCP server for Microsoft SQL Server — schema discovery, profiling, safe queryingnot reviewedGrowingA
- DB ExplorerRead-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advicenot reviewedGrowingB
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA