
Grist Mcp Server
io.github.gwhthompsonPublished by GitHub account gwhthompsonv2.0.33Updated Oct 24, 2026
11 tools for managing Grist documents with AI
Overview
A local MCP server that lets an assistant browse, query and modify Grist documents, records, schemas and pages through 11 tools.
- What you can do
- List and find workspaces and documents, and create new documents or copy existing ones. Inspect table structure and run SQL queries with joins and aggregations. Fetch records with filters and perform record CRUD, including upsert. Manage schema (tables, columns, summaries) and page layouts. Create and manage webhooks for real-time event notifications. Look up tool documentation and JSON schemas through a built-in help tool.
- When to use it
- Useful when you keep structured data in Grist and want an assistant to explore it, answer questions with SQL, import or update records, or set up tables and pages without switching to the Grist interface.
- Requirements
- Runs as a local process via npx or Node.js from source; a Grist API key in GRIST_API_KEY is required, and GRIST_BASE_URL sets the instance (defaults to the hosted Grist service). Network access to the Grist instance is needed. An optional Cloudflare Workers deployment uses header-based authentication instead.
Installation
In SourceWeft
- Open Grist Mcp Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Grist MCP Server
[CI] [codecov] [npm] [License] [MCP]
MCP server for Grist. 11 tools for documents, records, SQL, and pages.
Quick Start
Claude Code (recommended)
Claude Desktop (MCPB bundle)
- Download
grist-mcp-server.mcpbfrom Releases - In Claude Desktop: Settings → Developer → MCP Servers → Install from MCPB
- Configure your Grist API key and base URL
- Restart Claude Desktop
Manual configuration (.mcp.json)
Add to your .mcp.json file:
Install from source
Add to your MCP config:
Cloudflare Workers (HTTP transport)
Deploy as a remote MCP server using Cloudflare Workers for HTTP-based access.
Local development:
Deploy to Cloudflare:
Configuration:
The Workers deployment uses header-based authentication:
X-Grist-API-Key: Your Grist API key (required)X-Grist-Base-URL: Grist instance URL (optional, defaults tohttps://docs.getgrist.com)
Endpoint: https://your-worker.workers.dev/mcp
Example request:
Notes:
- Stateless design: Each request creates a fresh server instance
- CORS enabled for all origins (safe because auth uses headers, not cookies)
- Configure environment variables via
wrangler secret put GRIST_API_KEY
Tools
Examples
Create a database
Import data
Query data
Troubleshooting
Server won't start: Check GRIST_API_KEY is set in config.
Authentication fails: Verify API key at https://docs.getgrist.com/settings/keys.
Empty document list: Check GRIST_BASE_URL matches your Grist instance.
Connection errors (self-hosted): Verify URL includes https:// and server is reachable.
Testing
Documentation
Tool descriptions are concise. Use grist_help for details:
grist_help({tools: ["grist_manage_records"], only: ["examples"]})grist_help({tools: ["grist_query_sql"], only: ["errors"]})
See CHANGELOG.md for version history.
Links
Source: README.md at commit d75706c
Tools
0Version history
1- v2.0.33LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.