Grain MCP server
Run SQL queries and inspect database schemas through safe, visible MCP tools.
B82/100grade B
Adoption
Growing
2 stars191 downloads/wk
Reviews
Write oneNobody has reviewed Grain yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Grain tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.3 · 2026-09-19 · same rubric, same numbers if you re-run it
no findings
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 23 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON
Install directly
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
Grain: common questions
- Is Grain MCP server safe?
- Mostly: it is graded B (82/100). Read the Grain safety report
- How do I install Grain?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Grain need an API key?
- Yes. The registry entry asks for
GRAIN_CONNECTIONS. - Is Grain maintained?
- The last commit was 23 days ago (2026-08-27). The latest release is v0.10.1.
- What can I use instead of Grain?
- Servers from other publishers that do the same job: LINQ to DB MCP server, AdoMcp MCP server and DBHub MCP server. Compare all Grain alternatives.
Alternatives to Grain
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
- AdoMcpDatabase MCP server for schema discovery, comments, and SQL queries.not reviewedGrowingA
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
Magic CloudGenerate secured CRUD APIs over your database, run SQL, manage files, tasks and a headless browsernot reviewedEstablishedA- JanuscopeLocal MCP proxy for tool restrictions, response redaction, audit logs, and database schema context.not reviewedGrowingA