
weave
io.github.grunion-aiPublished by GitHub account grunion-aiv0.4.118Updated Nov 7, 2026
Connected tables, relations, workflows and markdown documents in one SQLite file, over MCP.
Overview
Self-hosted work database (Airtable-style tables, relations, docs) in one SQLite file that an assistant drives over MCP.
- What you can do
- Design and change schema: create spaces, tables, fields and relations, or build a whole workspace from one spec
- Read and write rows: query, fetch, create and update entities, link rows, set workflow states, import CSV
- Manage documents: write markdown docs on rows, list and restore document revisions
- Search and report: full-text search, saved views, per-column statistics
- Automate and audit: configure automations, read activity and undo changes
- When to use it
- Use it when you want an assistant to build and maintain structured work data — tables, linked records, kanban states and per-row notes — in a file you own, without a SaaS account or a database server.
- Requirements
- Runs as a local stdio process from a Node.js checkout (Node 22.16 or newer) or the published container image; needs a workspace .db file path passed on the command line. No account, API key or telemetry for a local install. A hosted instance needs an OpenID Connect provider and wv_ agent tokens.
Installation
In SourceWeft
- Open weave 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
[weave logo: two strands weaving into the mark]
weave
weave is an open-source, self-hosted work database and Airtable alternative. People use the web UI and AI agents use the built-in MCP server, REST API or CLI, on the same tables.
It replaces Airtable, Fibery, Notion databases and ClickUp with connected tables, relations, workflows, formulas, rollups, kanban boards, forms and markdown documents on every row. One SQLite file. Zero dependencies. No build step. MIT.
[License: MIT] [Node >= 22.16] [Runtime dependencies: 0] [Self-hosted] [MCP server included]
For agents · Quickstart · Comparison · Agents & MCP · Self-hosting · FAQ
For agents
weave stores structured work (tables, rows, relations, documents) in one SQLite file, and an agent drives it over MCP, REST or the CLI.
- Connect over MCP:
node bin/weave.js mcp --data <file.db>, the same asweave mcp --data <file>. In Claude Code:claude mcp add weave -- node /path/to/weave/bin/weave.js mcp --data /path/to/workspace.db - Or build from a file:
weave build <spec.json> --dry-run, then again without--dry-run. - Read AGENTS.md › Using weave first: the primer, every tool by job, plans with turn budgets, and common errors with their fixes.
What weave is
weave is a work database you run yourself. Spaces hold tables, tables hold rows (the API calls them entities), and rows link to each other through bidirectional relations, with lookups, rollups, formulas, workflow states, automations and any number of markdown documents on each row.
It replaces the SaaS your work already lives in: Airtable bases and grids, ClickUp tasks and boards, Fibery's connected databases with documents and automations, and Notion databases. It runs on your laptop or your own server, with no per-seat bill and no vendor holding the export button.
weave is built for people and AI agents as equals: everything the web UI can do, the REST API, the CLI and the built-in MCP server can do too, on the same engine and the same data file on your disk. A local install needs no account and sends no telemetry.
- One file per workspace: a workspace is one SQLite file next to your project, served by one Node process on a laptop or a small VPS behind your own TLS and login (see Self-hosting).
- weave cloud: the same code runs at https://weave.grunion.ai behind a
sign-in. A new account starts at
/start, which sets up a workspace, a template and an agent connection.weave backup --dest weave://<host>/<account>sends a self-hosted install's sealed nightly archive there (the cloud stores ciphertext only), andweave workspace migratemoves a workspace across. - Zero dependencies:
git cloneand run, since storage is Node's built-innode:sqlite, and the only third-party code is vendored and pinned. - Agent access: an MCP server any stdio client can mount (Claude Code,
Codex CLI, Cursor, Gemini CLI), a scriptable CLI, row references such as
Task#12everywhere, and markdown documents addressable as plain URLs (/e/Task#12/doc.md,.html,.pdf). - Undo:
weave undo,POST /api/undoand theweave_undoMCP tool reverse any change to a row: edits, creates, deletes, links and comments. - Versioned documents: every document field keeps its revisions (one
per editing session), browsable and restorable from the page,
weave doc-revisions/weave doc-restore, or theweave_doc_revisions/weave_doc_restoreMCP tools.
Quickstart
Requires Node ≥ 22.16 (Node 24 LTS recommended). There is nothing to build and nothing to install from npm.
Or start it in a container from the same checkout:
Or run the image each release publishes to the GitHub Container Registry. Your
workspaces, attachments and keystore stay in the weave-data volume at /data:
Open http://127.0.0.1:4400 and press ⌘K to search everything. A
self-documenting weave docs workspace is provisioned alongside your data at
/w/weave/: handbook, wiki, the public issue tracker and roadmap, and a
Quality space mirroring the test suite.
If weave replaces a SaaS seat for you, star the repo so other teams can find it.
Connect your agent
One config block, any stdio MCP client (Claude Code, Claude Desktop, Codex CLI, Cursor, Gemini CLI, Windsurf, OpenCode):
Or add it to Claude Code in one line:
A hosted instance with an OpenID Connect sign-in provider takes one line too. The first call opens the provider's sign-in in your browser:
For weave cloud at weave.grunion.ai, this repository is also a Claude Code
plugin marketplace. In Claude Code:
Each workspace on an instance has its own endpoint, /w/<workspace>/mcp. Link
your account to your provider sign-in first: run weave account link <account>,
which prints a one-time invite, and open that invite in a browser. Any role
connects, and tools/list names only the tools that role may call.
The server lists 17 tools by default: the 16 a workspace build uses,
weave_build among them, and weave_call, which runs the other 48.
weave mcp --tools all (or WEAVE_MCP_TOOLS=all) lists all 65. The 65 include
the same undo the UI has, and weave_vocabulary, which returns the allowed
values so an agent reads them instead of guessing. Full map:
Agents: MCP, REST, and CLI.
Screenshots
[weave table with one row opened in the dock beside it, the breadcrumb on one line above the table toolbar]Open any row and it docks beside its table, so the entity and the rows around it stay in view together.
How weave compares
Against the SaaS it replaces
Against the open-source alternatives
The open-source options in this space are all worth a look, and several are far more mature than weave. They differ mainly in what they optimize for:
Licenses and packaging as of August 2026; check each project for current terms. Pick weave if you want connected tables plus markdown documents plus an MCP server, with no container, no database server, and no dependency tree, and one of the others if you need permissions narrower than a workspace role or a mature plugin ecosystem (see what weave is not).
What's inside
Agents: MCP, REST, and CLI
Every interface drives the same engine and the same file. Nothing is UI-only.
MCP: point any MCP client at the stdio server. Claude Code, Claude Desktop, Codex CLI, Cursor, Gemini CLI, Windsurf and OpenCode all mount stdio servers, so one config block works in each of them:
It exposes the whole platform as 65 tools. tools/list names the core build
set (weave_ontology, weave_schema, weave_query, weave_get_entity, weave_create_entity,
weave_update_entity, weave_create_space, weave_create_table,
weave_add_field, weave_update_field, weave_add_relation,
weave_import_csv, weave_vocabulary, weave_workspace, weave_search,
weave_build for spaces, tables, fields, relations and rows in one call) and
weave_call, whose description lists every other tool (weave_set_doc,
weave_link, weave_set_state, weave_update_table, weave_apply_schema,
weave_views, weave_automations, weave_activity and the rest) in one line
each; weave_call {name: "help", args: {tool}} returns a tool's full schema.
Add --tools all to the mcp args, or set WEAVE_MCP_TOOLS=all, to list all
65 directly. An agent designs a schema,
fills it, and configures how it reads (icons, option colors, column widths and
order, hidden columns, saved views) without a human opening the UI.
Two things make that practical. weave_vocabulary returns every value a config
key will accept and what the choice looks like on screen, so an agent picking
a color or an icon is reading rather than guessing. And the meta-model means the
schema is data: the rows of System/Spaces, System/Tables and
System/Fields are the spaces, tables and fields, so an entity write on a
registry row runs the same validation as the schema verb: a field's whole shape
edits through its Definition, a table's column order through Field Order.
The registry lives once, at the weave root (the default workspace): a
Workspaces table holds one row per workspace the hub serves, every registry
row carries a Workspace relation, and a row edit routes to the workspace that
owns it.
REST and CLI cover the same ground:
Entity refs accept UUIDs, #12, Table#12, or Space/Table#12, in the UI, in
the API, in documents and in agent tool calls. See AGENTS.md for
the full agent-facing map of the repo, including the one place the qualified
form is not yet accepted.
Self-hosting
A hosted install is the local install plus a door. The container is the same on every target and the Handbook carries the guides (open Handbook → Guide on any instance, including the one you just started):
- Self-host weave: choose your door: the two authentication surfaces (an edge gate, an identity provider) and the rule: the surface is the operator's choice. The built-in passkey door, Door B, was removed after 0.4.52.
- Door A: an edge gate: Cloudflare Access, Tailscale, Caddy, oauth2-proxy, Authelia: one config block and one check each.
- Door C: sign in with a provider: one OpenID Connect provider (Clerk,
Auth0, Keycloak, Authentik, Google).
weave account link <name>mints a one-time invite link that opens an account to it; signing in creates none, and weave keeps one verified email per sign-in identity, nothing else.WEAVE_ORIGINnames the origin the provider sends people back to. Agents keepwv_tokens. - Deploy: Railway: project from GitHub, volume at
/data, variables, custom domain, one replica. - Deploy: Fly.io, Render, a VPS, Docker: one section each, same shape; the service unit lives here.
- Backup and restore:
weave backup(one sealed tar of every workspace, attachments and keystore),weave restore, the nightly switch, retention. - Environment reference: every variable, its default, and what breaks when it is wrong.
Quick start with Docker, using the Dockerfile and compose.yaml in the repo:
railway.json and fly.toml are the platform manifests for the same image.
Whatever the target, put a door in front and run weave workspace require-auth
before the port is reachable from anywhere but your own machine. The threat
model behind that rule is in SECURITY.md.
What weave is not
Stated plainly, so you can rule it out fast:
- No field- or row-level permissions for accounts. Each account holds one of three roles in a workspace: an observer reads and comments, an editor writes rows, an architect also changes structure, accounts and keys. An architect can mint a share link that opens one row, table, space or saved view to whoever holds it, but no rule narrows an account's own role to one space, row or field.
- Auth is off until you turn it on. Agents carry
wv_tokens and people sign in through one OpenID Connect provider, but only afterweave workspace require-auth. Until then, anyone who reaches the port can do everything an architect can. - Not a different product in the cloud. weave cloud at
https://weave.grunion.ai runs the code in this repository behind a sign-in.
weave backup,weave restoreandweave workspace migratecarry a workspace between your install and weave cloud. - No plugin API. weave has no third-party app store inside it. The Claude Code plugin in Connect your agent installs weave's MCP connection into Claude Code and adds nothing to weave.
- Not battle-tested at scale. It is a young project backed by a test suite, not by years of production mileage across thousands of installs.
If those are dealbreakers, Baserow, NocoDB, and Grist are the mature open-source options in this space.
FAQ
Is weave a good open-source Airtable alternative? Yes, if you liked Airtable for linked records, rollups, formulas, views and forms; you also get markdown documents on every record and an MCP server. No, if you rely on permissions narrower than a workspace role or on Airtable's marketplace apps.
Is there a self-hosted Fibery alternative? Yes. weave implements Fibery's model (connected databases across spaces, documents attached to rows, automations and a relation graph) in a single file you own. See docs/PARITY.md for the feature-by-feature matrix.
Can AI agents use it?
Yes, with the same reach as people. The MCP server exposes 65 tools: schema
design, CRUD, documents, relations, workflow states, search, automations and
CSV import and export. It lists 17 by default and runs the other 48 through
weave_call. Agents build the schema as well as the rows.
Do I need Docker, Postgres, or npm install?
No, no, and no. One git clone and a Node runtime. Storage is Node's built-in
node:sqlite; the only third-party code (mermaid, Tabler, Vditor, KaTeX and
the DejaVu Sans font) is vendored and pinned in the repo.
Where does my data actually live?
In <workspace>.db, a plain SQLite file, plus a files/ directory for
attachments. Open it with sqlite3, back it up with cp, commit it if you
like. node bin/weave.js export dumps the whole thing as readable JSON.
Can multiple people use one instance?
Yes. Give each person an account at a role (observer, editor or architect),
run weave workspace require-auth, and let them sign in through your OpenID
Connect provider. Every change lands in the audit log under the account that
made it. For someone without an account, an architect mints a share link to one
row, table, space, saved view or the whole workspace, at read, edit or manage
access, valid for thirty days unless renewed. Account roles still cover the
whole workspace: no rule narrows an account to one space, row or field.
Is there a hosted version?
Yes: weave cloud at https://weave.grunion.ai runs this repository's code behind
a sign-in, and a new account starts at /start, which sets up a workspace, a
template and an agent connection. Agents sign in through the browser when they
connect over MCP; in Claude Code, /plugin install weave --marketplace grunion-ai/weave
adds the connection. To move from your own install, back up to weave cloud with
weave backup --dest weave://<host>/<account> (the cloud stores ciphertext
only), then run weave workspace migrate --from weave://<host>/<account> with
the backup passphrase in WEAVE_BACKUP_PASSPHRASE.
How do I migrate off it?
node bin/weave.js export --data <file> writes the entire workspace as JSON,
csv dumps any table, and the .db is standard SQLite. There is no lock-in to
escape.
Development
The test suite is mirrored as entities in the docs workspace (Quality space),
and the roadmap and issue tracker live there too (/w/weave/), so weave tracks
its own development. See CONTRIBUTING.md before opening a PR;
README screenshots are regenerated with node scripts/screenshots.mjs.
Third-party (vendored, pinned)
- mermaid 11.4.1, MIT © Knut Sveidqvist & contributors
- @tabler/core 1.4.0, MIT © Paweł Kuna & The Tabler Authors
- Vditor 3.11.3 (pruned: only the assets weave loads), MIT © Vanessa219
- KaTeX 0.18.11 (js + css + woff2 fonts + mhchem), MIT © Khan Academy & contributors
- DejaVu Sans 2.37 (
DejaVuSans.ttf, PDF export Unicode fallback), Bitstream Vera license © Bitstream, Inc.; DejaVu changes public domain; Arev glyphs © Tavmjong Bah (full text inpublic/vendor/fonts/DejaVuSans-LICENSE.txt)
Security
Authentication is off until an architect runs weave workspace require-auth
on a workspace. Until then, anyone who reaches the port does everything an
architect can in it. A local install binds 127.0.0.1, so it stays private to
your machine. The container binds 0.0.0.0 for the platform's proxy, so before
anyone else can reach a hosted install, put a door in front of it (see
Self-hosting) and run require-auth. Every page and API route
then refuses a caller without a wv_ token or a signed-in session.
Roles stop at the workspace. An observer reads and comments, an editor writes rows, and an architect changes structure, accounts and keys.
A document of kind html renders on the application's origin, so script an
editor places in one runs for whoever opens it. We are reviewing that
limitation. Until it changes, grant editor access the way you grant write
access to a repository.
The threat model, the scope and private reporting are in SECURITY.md.
License
MIT. See LICENSE.
Source: README.md at commit cf5dd0b
Tools
0Version history
20- v0.4.118LatestNov 7, 2026
- v0.4.117Nov 5, 2026
- v0.4.116Nov 5, 2026
- v0.4.115Nov 5, 2026
- v0.4.114Nov 5, 2026
- v0.4.113Nov 3, 2026
- v0.4.112Nov 3, 2026
- v0.4.109Oct 26, 2026
- v0.4.108Oct 23, 2026
- v0.4.107Oct 17, 2026
- v0.4.106Oct 17, 2026
- v0.4.105Oct 17, 2026
- v0.4.103Oct 17, 2026
- v0.4.102Oct 16, 2026
- v0.4.101Oct 16, 2026
- v0.4.100Oct 16, 2026
- v0.4.99Oct 15, 2026
- v0.4.98Oct 15, 2026
- v0.4.97Oct 15, 2026
- v0.4.91Oct 13, 2026
Score
50% 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