What this kind of tool is for
- Query, inspect, or seed a database without writing a one-off script.
- Let your agent look up schema details before it writes migration code.
- Move a small dataset between tools without leaving the terminal.
How to compare servers like this
- Engine match:
- Confirm it speaks your exact database and version, not just the family.
- Access scope:
- Read-only connections are the safe default — start there before granting writes.
- Safety rails:
- Check whether destructive statements need an explicit confirmation before they run.
- Maintenance signal:
- Database drivers change; a recently updated tool is less likely to break mid-query.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the Grain MCP server?
Run SQL queries and inspect database schemas through safe, visible MCP tools.
How to install Grain
Copy-paste configuration for popular MCP clients.
GRAIN_CONNECTIONSsecretJSON array of Grain connection profiles for headless use.
GRAIN_MCP_SAFE_MODESet to false to allow mutating SQL. Defaults to true.
GRAIN_MAX_ROWSMaximum rows returned by query tools. Defaults to 10000.
{
"mcpServers": {
"grain": {
"command": "npx",
"args": [
"-y",
"grain-tools",
"-y",
"--stdio"
],
"env": {
"GRAIN_CONNECTIONS": "<YOUR_GRAIN_CONNECTIONS>",
"GRAIN_MCP_SAFE_MODE": "<YOUR_GRAIN_MCP_SAFE_MODE>",
"GRAIN_MAX_ROWS": "<YOUR_GRAIN_MAX_ROWS>"
}
}
}
}Related MCP servers
Proprietary B2B creator-velocity data: ranked board, live breakouts, and audience-growth curves.
View repository →Query your live AccountsOS books: balances, transactions, VAT, deadlines, invoices.

UK Property Data
UK property data in one package: Land Registry comps, EPC, Rightmove, yields, stamp duty, and Companies House.
Vendedores da Amazon Brasil com CNPJ conferido na Receita Federal: razão social, porte e sócios

io.github.patwalls/feedhook-mcp
Turn a YouTube channel into a webhook: a signed HTTP POST seconds after every new video.

io.github.patwalls/pulse-mcp
Free, agent-first social-post metrics — a post URL in, views/likes/comments out.
