MCP.Market

Grain SQL MCP server

by pattrnlabs·io.github.pattrnlabs/grain·v0.10.48·3 stars

Run SQL queries and inspect database schemas through safe, visible MCP tools.

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

not scanned yet

Adoption
Growing

3 stars1.4k downloads/wk

Reviews

Write one

Nobody 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.

Not scanned yet. New listings are scanned within a day or two of arriving.

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
Add to Cursor

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.

All Grain SQL alternatives →
  • LINQ to DB
    Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
    A
  • MCP Local WP
    WordPress database access via Local by Flywheel. Execute read-only MySQL queries and inspect schema.
    A
  • Mssql Reader
    Read-only MCP server for Microsoft SQL Server — schema discovery, profiling, safe querying
    A
  • DB Explorer
    Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice
    B
  • DBHub
    Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
    A