Community
Grain SQL
io.github.pattrnlabs/grain
Run SQL queries and inspect database schemas through safe, visible MCP tools.
Install
Add the config to your client settings. Replace values in <angle brackets> with your own.
claude_desktop_config.json
{
"mcpServers": {
"grain": {
"command": "npx",
"args": [
"-y",
"grain-tools@0.10.32"
],
"env": {
"GRAIN_CONNECTIONS": "<GRAIN_CONNECTIONS>",
"GRAIN_MCP_SAFE_MODE": "true",
"GRAIN_MAX_ROWS": "10000"
}
}
}
}Details
- Name
- io.github.pattrnlabs/grain
- Version
- 0.10.32
- Updated
- Oct 14, 2026
- Source
- Official MCP Registry
- Repository
- https://github.com/pattrnlabs/grain
- Website
- https://grain.tools