# weave [Health: Active]

**Category:** 🗄️ Databases  
**Repository:** https://github.com/grunion-ai/weave  
**GitHub Stars:** 29  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/weave

## Description
Connected tables, relations, workflows and markdown documents in one SQLite file, over MCP.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/grunion-ai/weave), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
node bin/weave.js mcp --data <file.db>
```

2. Add to Claude Code:

```sh
claude mcp add weave -- node /path/to/weave/bin/weave.js mcp --data /path/to/workspace.db
```

3. Install:

```sh
git clone https://github.com/grunion-ai/weave
```

4. Run:

```sh
cd weave
```

5. Start the server:

```sh
docker compose up -d
```

6. Start the server:

```sh
docker run -d --name weave -p 127.0.0.1:4400:4400 -v weave-data:/data ghcr.io/grunion-ai/weave:latest
```

## Documentation

## What weave MCP server does

weave MCP server gives AI agents access to a work database stored in SQLite. A workspace contains spaces, tables, records, relations, typed fields, workflow states, formulas, lookups, rollups, automations, and markdown documents. Documents belong to records, so an agent can work with structured properties and explanatory content within the same model.

The workspace is designed for shared use by people and agents. A browser interface, REST API, CLI, and MCP server operate on the same data and engine. Each workspace is kept in one SQLite file, which can sit beside a project on a laptop or run on a server.

## How it works

Run the MCP entry point with Node and pass the workspace database path:

```bash
node bin/weave.js mcp --data /path/to/workspace.db
```

An MCP client starts that process as a stdio server. Hosted instances can instead expose an HTTP MCP endpoint, including workspace-specific paths such as `/w/<workspace>/mcp`. Hosted access can use an OpenID Connect sign-in provider; the first request opens the provider sign-in flow in a browser.

The server exposes 17 tools by default, including the tools used by a workspace build and `weave_build`. The `weave_call` tool can invoke the broader tool set. Passing `--tools all`, or setting `WEAVE_MCP_TOOLS=all`, makes all 66 tools available. Tool visibility can also depend on the connected user's role.

## Setup and configuration

weave requires Node.js 22.16 or newer. The repository can be cloned and run without an npm installation or build step. A basic local setup starts the web service with a selected SQLite file:

```bash
node bin/weave.js serve --port 4400 --data ./my-workspace.db
```

The MCP configuration points the client at the same checkout and database:

```json
{
  "mcpServers": {
    "weave": {
      "command": "node",
      "args": ["/path/to/weave/bin/weave.js", "mcp", "--data", "/path/to/my-workspace.db"]
    }
  }
}
```

Claude Code can register the server with `claude mcp add`. For a hosted instance, use the HTTP transport and the instance's `/mcp` endpoint. The project also provides a container workflow; containerized data, attachments, and keystore files are stored in the `weave-data` volume at `/data`.

## Tools and capabilities

- Build a workspace from a specification, with optional dry-run validation.
- Query and update records, tables, relations, documents, and other workspace data.
- Create and manage connected records using bidirectional relations, lookups, rollups, and formulas.
- Undo row changes, including edits, creation, deletion, links, and comments, through `weave_undo`.
- Inspect document revisions and restore earlier versions with `weave_doc_revisions` and `weave_doc_restore`.
- Retrieve the available workspace vocabulary with `weave_vocabulary` when all tools are enabled.

Records can be referenced in the broader weave system with identifiers such as `Task#12`. Documents are also addressable through markdown, HTML, and PDF URLs.

## Limitations and notes

A local installation stores data locally and does not require an account. It also sends no telemetry. Remote access requires the relevant hosted setup, including sign-in configuration where an OpenID Connect provider is used.

The default MCP tool list is intentionally smaller than the complete set. Workflows that depend on tools outside the default 17 need `--tools all` or the matching `WEAVE_MCP_TOOLS` setting. Access to listed tools can additionally be restricted by workspace role.

The server is distributed under the MIT license and uses Node's built-in SQLite support with no runtime dependencies. A workspace is represented by a single SQLite file, so choosing the database path is part of connecting an agent to the intended workspace.

_Full upstream README: https://allmcps.com/mcp/weave/readme_

