Grain SQL
io.github.pattrnlabs/grain
Run SQL queries and inspect database schemas through safe, visible MCP tools.
Connect this server
Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.
{
"mcpServers": {
"grain": {
"command": "npx",
"args": [
"-y",
"grain-tools@0.10.49"
],
"env": {
"GRAIN_CONNECTIONS": "<your GRAIN_CONNECTIONS>"
}
}
}
}- GRAIN_CONNECTIONSsecretJSON array of Grain connection profiles for headless use.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Developer Tools
- Version
- 0.10.49
- Registry
- active
- Published
- 11/4/2026
More Developer Tools servers
Browse all Developer Tools →IndieStack
Pattyboi101
Search 3,100+ developer tools via MCP. Install commands, compatibility data, health scores.
io.github.patwalls/slope-mcp
patwalls
Proprietary B2B creator-velocity data: ranked board, live breakouts, and audience-growth curves.
Trust Switchboard
paul-salviani
Read public privacy policies: dated source excerpts, follow-up questions and change comparisons.
io.github.paulbreuler/limps
paulbreuler
MCP planning server for AI agents — plan management, full-text search, and task lifecycle
Halfpenny Mac
pauldodd123
Manage your rented Macs at Halfpenny Mac: list, check online, credentials, restart, update macOS.
AccountsOS
thriveventurelabs
Query your live AccountsOS books: balances, transactions, VAT, deadlines, invoices.
Add the badge to your site
Show visitors that Grain SQL is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-pattrnlabs-grain?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Grain SQL — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-pattrnlabs-grain?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.