5 min read
Datasette-mcp 0.4 adds MCP server to Datasette instances, according to Simon Willison's announcement
Simon Willison's plugin update adds a /-/mcp endpoint to Datasette instances and fixes compatibility with Datasette 1.0a44.

- Reading
- 5 min
- Tables
- 1
- Code
- 1
Datasette-mcp 0.4 adds MCP server to Datasette instances, according to Simon Willison's announcement
Simon Willison's plugin update adds a /-/mcp endpoint to Datasette instances and fixes compatibility with Datasette 1.0a44.
Editor's note: the article states that Claude Desktop spins up a local process via stdio for each configured MCP server. This description does not appear in official Anthropic documentation among the sources consulted; it's observed/widely reported behavior about a third-party product, not directly confirmed, and should be read as general context about the MCP ecosystem, not as a verified fact.
Simon Willison released version 0.4 of the datasette-mcp plugin, which sets up an MCP server on any Datasette instance. The official announcement doesn't detail what the server exposes beyond that; as read in this piece, the feature should allow an agent to read the schema and run queries without needing a custom-built endpoint, but that's an inference about what MCP typically enables, not a description from the maker.
What version 0.4 brings
Datasette gained a new way to talk to AI agents on November 27, 2026, when Simon Willison, the project's creator, published version 0.4 of the datasette-mcp plugin. According to the announcement on Willison's blog, the update adds a built-in MCP server at the /-/mcp path of any Datasette instance, and fixes compatibility with Datasette 1.0a44.
It may not sound like much in writing, but the practical effect is direct: installing this plugin turns a Datasette instance already in production into a server that speaks Model Context Protocol (MCP), the open standard for connecting language models to tools and external data sources without each integration requiring a custom-built connector.
Datasette already exposed data, now it speaks the agents' language
Datasette is the open source project Willison maintains for publishing and exploring SQLite databases on the web, with a JSON API and the long-standing ability to run ad hoc SQL directly in the URL (?sql=...), always under the project's own permission system. Datasette-mcp doesn't replace that API: it's an MCP layer on top of it.
The plugin exists to expose this MCP server; in our reading, the expectation is that this will let an agent discover tables, read the schema, and run queries without anyone needing to write a custom HTTP wrapper for it, although the official announcement doesn't go into that level of detail.
This solves a common problem for anyone trying to plug an LLM into an existing database: either you write an intermediary API just for the agent, or you give it direct database credentials. In theory, Datasette's MCP server avoids both paths, since Datasette itself already talks to the database and already has permissions configured; the plugin apparently just exposes that in a format MCP clients know how to consume, but this specific mechanism isn't described in the official announcement.
The technical detail that changes the reach: MCP via HTTP
Editor's note: the code in this section was not run in a real environment. Validate it before using it in production.
Most MCP servers in use today run as a local process, started via stdio by the client itself: Claude Desktop, for example, spins up a process on the user's machine for each configured server. Datasette is an ASGI application published on the web, so mounting MCP at /-/mcp suggests a different access model.
In this model, the endpoint is available via the instance's public (or internal) URL, without requiring any installation on the client side beyond pointing to that address. In practice, connecting an agent to a hosted Datasette instance would look something like this:
claude mcp add --transport http meu-datasette https://dados.minhaempresa.com/-/mcpThis command, inspired by the familiar syntax of MCP clients for adding servers via HTTP transport, illustrates the gain: instead of each team cloning a script and keeping a local process running, you just point the MCP client to the URL, and the agent then sees the tables of that Datasette instance within whatever the permissions allow.
What this replaces, and what stays the same
It's worth separating what datasette-mcp solves from what it doesn't:
| Approach | Setup effort | Access control | Where it runs |
|---|---|---|---|
| Custom REST API | High (writing and maintaining endpoints) | Depends on the code written | Own server |
| Direct database access | Low, but risky | Raw database credentials | Wherever the agent is |
| datasette-mcp | Low (installing the plugin) | Presumably inherited from Datasette's permissions (not detailed in the official announcement) | On the Datasette instance itself |
What doesn't change is the need to configure permissions carefully. It's reasonable to assume the MCP server doesn't create a new security model, but instead reuses what Datasette already applies for SQL execution and for table and database visibility, since the announcement doesn't describe any changes to the existing permission system. Anyone who already locks down access via metadata.json or authentication plugins keeps that same control applying to what the agent can see through MCP.
When it's not worth using
Datasette-mcp assumes you're already running Datasette for your data, or are willing to adopt the project just for this. For anyone who only has a production Postgres database and has never used Datasette, installing the tool solely to gain an MCP endpoint reverses the order of priorities: it's more worthwhile to look for an MCP server that already talks directly to Postgres.
Caution is also warranted with databases holding sensitive data and open ad hoc SQL permissions: exposing /-/mcp without reviewing who can run arbitrary queries turns the agent into a read channel as broad as whatever access it inherits. The compatibility fix for Datasette 1.0a44 is another reminder that the core project is still in alpha: teams that depend on stability should test plugin and core upgrades together before going to production, rather than assuming the datasette + datasette-mcp combination is already frozen.
Translated from the Brazilian Portuguese original · Read the original
Datasette-charts 0.3a0 adds annotations and paves the way for AI agent-generated charts
Version 0.3a0 of the datasette-charts plugin, released by Simon Willison on November 25, 2026, makes it possible to mark charts with lines, shaded areas, and labels. Combined with Datasette Agent, the feature lets a language model build and explain visualizations from a plain-text request.





