Skip to content
Verified official

Grain MCP

v0.10.4

io.github.pattrnlabs/grain

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

transport:stdio runtime:npm

Target client

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add grain -e GRAIN_CONNECTIONS=<GRAIN_CONNECTIONS> -e GRAIN_MCP_SAFE_MODE=<GRAIN_MCP_SAFE_MODE> -e GRAIN_MAX_ROWS=<GRAIN_MAX_ROWS> -- npx -y grain-tools

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.