
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server for Grist that lets AI assistants read and edit Grist data, including documents, tables, records, schemas and relations.
Grist MCP Server is cataloged as an MCP server attributed to nic01asfr. A Model Context Protocol server for Grist that lets AI assistants read and edit Grist data, including documents, tables, records, schemas and relations. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Grist MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. create_schema can create tables, their columns, relations and initial data in one call, and create_reference_column adds a reference with an optional reverse relation.
It can filter a table without writing SQL and execute custom SELECT queries with joins, subqueries, parameters and a timeout.
Documents can be downloaded as SQLite, tables as Excel, and tables as CSV.
README.md · 36133dc4c024 · Fetched 2026-11-13 08:01:11 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
An MCP (Model Context Protocol) server for the Grist API. It lets AI assistants such as Claude read and edit your Grist data: browse documents, query tables with SQL, add and update records, and create tables, columns and whole schemas with relations between tables.
Works with any Grist instance: docs.getgrist.com, self-hosted Grist, or grist.numerique.gouv.fr.
You need Python 3.10+ and a Grist API key (Grist: Profile settings → API).
Add the server to your MCP client configuration. For Claude Desktop, edit claude_desktop_config.json:
{
"mcpServers": {
"grist": {
"command": "uvx",
"args": ["mcp-server-grist"],
"env": {
"GRIST_API_KEY": "your_grist_api_key",
"GRIST_API_URL": "https://docs.getgrist.com/api"
}
}
}
}
uvx downloads and runs the package, no installation needed. Restart your client: the Grist tools are now available to the assistant.
| Variable | Required | Description |
|---|---|---|
GRIST_API_KEY | yes | Your Grist API key |
GRIST_API_URL | no | API URL of your Grist instance, e.g. https://docs.getgrist.com/api (default) or https://grist.example.org/api |
GRIST_API_HOST | no | Older name for the same setting, used when GRIST_API_URL is not set |
LOG_LEVEL | no | DEBUG, INFO (default), WARNING, ERROR |
Variables can also be set in a .env file (see .env.template).
pip install mcp-server-grist
mcp-server-grist # stdio, for local MCP clients
In your MCP client, use "command": "mcp-server-grist" (or "command": "python", "args": ["-m", "mcp_server_grist"]) with the same env block as above.
mcp-server-grist --transport streamable-http --host 127.0.0.1 --port 8000 --path /mcp
| Option | Default | Description |
|---|---|---|
--transport | stdio | stdio, streamable-http, or sse (deprecated) |
--host | 127.0.0.1 | Interface for HTTP transports |
--port | 8000 | Port for HTTP transports |
--path | /mcp | Endpoint for streamable-http |
--mount-path | /sse | Endpoint for sse |
--debug | Verbose logging |
Security: the server does not authenticate HTTP clients. Anyone who can reach it acts with your Grist API key. Keep the default 127.0.0.1, and put a reverse proxy with HTTPS and authentication in front of it before exposing it to a network.
docker build -t mcp/grist-mcp-server .
# stdio
docker run -i --rm -e GRIST_API_KEY=your_key -e GRIST_API_URL=https://docs.getgrist.com/api \
mcp/grist-mcp-server
# HTTP (--host 0.0.0.0 is required inside a container)
docker run --rm -p 8000:8000 -e GRIST_API_KEY=your_key \
mcp/grist-mcp-server --transport streamable-http --host 0.0.0.0
Without GRIST_API_URL, the image uses https://grist.numerique.gouv.fr/api. In an MCP client, use "command": "docker" with "args": ["run", "-i", "--rm", "-e", "GRIST_API_KEY=...", "mcp/grist-mcp-server"].
docker compose up starts a stdio and an HTTP service, configured from .env.
The server exposes 54 tools. The tools reference lists the parameters of each one.
list_organizations: list organizationsdescribe_organization: details of an organizationlist_workspaces: list the workspaces of an organizationdescribe_workspace: details of a workspacelist_documents: list the documents of a workspacedescribe_document: details of a documentlist_tables: list the tables of a documentlist_columns: list the columns of a tablelist_records: list records, with sorting and limitget_table_schema: detailed schema of a tableadd_grist_records: add recordsadd_grist_records_safe: add records after checking the column namesupdate_grist_records: update recordsdelete_grist_records: delete recordsfilter_sql_query: filter a table without writing SQL (conditions, sorting, limit)execute_sql_query: run a custom SELECT query (joins, subqueries, parameters, timeout)modify_organization, delete_organization: manage an organizationcreate_workspace, modify_workspace, delete_workspace: manage workspacescreate_document, modify_document, delete_document: manage documentsmove_document: move a document to another workspaceforce_reload_document: reload a documentdelete_document_history: trim a document's historycreate_table, modify_table: create or rename a tablecreate_column, modify_column, delete_column: manage columns (types, formulas, choices, references)create_schema: create tables, their columns, the relations between them and initial data in one callvalidate_schema: check a schema without creating anythingcreate_reference_column: create a reference column showing the chosen column of the target table, optionally with a two-way (reverse) relationexport_schema: export a document's schema as JSON, YAML or a Mermaid diagramlist_organization_access, modify_organization_access: users of an organizationlist_workspace_access, modify_workspace_access: users of a workspacelist_document_access, modify_document_access: users of a documentdownload_document_sqlite: download a document as SQLitedownload_document_excel: download a table as Exceldownload_table_csv: download a table as CSVlist_attachments: list the attachments of a documentget_attachment_info: metadata of an attachmentdownload_attachment: download an attachmentupload_attachment: upload an attachmentlist_webhooks, create_webhook, modify_webhook, delete_webhook: manage webhooksclear_webhook_queue: empty the webhook queueYou normally just ask the assistant in plain language ("create a Projects table linked to Tasks"); it chooses the tools. The examples below show the corresponding tool calls and their arguments.
# Explore
await list_tables(doc_id="abc123")
await list_records(doc_id="abc123", table_id="Tasks", sort="-due_date", limit=10)
# Filter without SQL
await filter_sql_query(
doc_id="abc123",
table_id="Tasks",
columns=["title", "status"],
where_conditions={"status": "open"},
order_by="title",
limit=20
)
# Custom SQL (SELECT only)
await execute_sql_query(
doc_id="abc123",
sql_query="SELECT t.title, p.name FROM Tasks t JOIN Projects p ON t.project = p.id WHERE t.status = ?",
parameters=["open"]
)
# Add and update records
await add_grist_records(doc_id="abc123", table_id="Tasks",
records=[{"title": "Write docs", "status": "open"}])
await update_grist_records(doc_id="abc123", table_id="Tasks",
records=[{"id": 1, "status": "done"}])
# Formula column
await create_column(doc_id="abc123", table_id="Orders", column_id="total",
column_type="Numeric", label="Total", formula="$price * $quantity")
# Two related tables in one call
await create_schema(
doc_id="abc123",
schema={
"tables": {
"Projects": {"columns": {"name": {"type": "Text", "label": "Name"}}},
"Tasks": {"columns": {
"title": "Text",
"status": {"type": "Choice", "choices": ["open", "done"]},
"project": {"type": "Ref", "target": "Projects",
"visible": "name", "reverse": "tasks"}
}}
},
"data": {"Projects": [{"name": "Website"}]}
}
)
# Export a table to Excel
await download_document_excel(doc_id="abc123", table_id="Tasks", header="label")
# Share a document
await modify_document_access(doc_id="abc123", user_email="someone@example.com",
access_level="editors")
In a schema, a reference column is written {"type": "Ref", "target": "Table", "visible": "column"} (or "Ref:Table"). "visible" is the column displayed in the cell; "reverse" adds the matching column in the target table, kept in sync by Grist. Re-running the same schema creates nothing twice: existing tables are left untouched.
git clone https://github.com/nic01asFr/mcp-server-grist.git
cd mcp-server-grist
pip install -e ".[dev]"
pytest tests/
The tools reference is generated from the code: after changing a tool, run python scripts/generate_tools_reference.py. See CONTRIBUTING.md for the contribution and release process, and the CHANGELOG for version history.
Machine-readable descriptions, generated from the code: llms.txt, SKILL.md (instructions for an agent), fiche-capacites.json and commandes.json (capability sheet in the Widgets Grist format).
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Grist MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-grist)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.