# Quipu

> Quipu is an open-source MCP server for knowledge and memory. Local knowledge graph memory for agents that rejects facts breaking your rules. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, Linux, macOS
- **Website:** https://scbrown.github.io/quipu/
- **Repository:** https://github.com/scbrown/quipu
- **MCP Registry name:** io.github.scbrown/quipu
- **Categories:** knowledge and memory, databases
- **Listing updated:** 2026-11-15

## About

Quipu stores facts as a graph that you can query with SPARQL. What sets it apart is governance: incoming knowledge is checked against your own vocabulary and SHACL shapes, so malformed facts are refused instead of piling up in agent memory.

It is bitemporal too. Adding a second fact leaves the first version queryable, and you can ask what was true at a past transaction. Facts record where they came from, and verified sharing lets you export a governed bundle and import it elsewhere, staged without altering the root store. Fresh stores use keyword search; semantic search needs an embedding model installed separately.

Use it from the command line, REST, MCP or a Rust application. For Claude Code the README gives claude mcp add quipu -- quipu mcp --db /path/to/knowledge.db. It is Apache-2.0 and part of a wider stack of related tools.

## Features

- **Rule-checked writes:** Validates incoming facts against shapes and vocabulary.
- **SPARQL queries:** Reads the graph with standard queries.
- **Time travel:** Query earlier transactions to see past state.
- **Provenance:** Records where each fact came from.
- **Verified sharing:** Exports and imports checksummed knowledge bundles.
- **Local-first:** Runs from a local database file.

## Good for

- Give agents shared memory that refuses invalid facts
- Audit what was known at an earlier point
- Share a governed knowledge bundle between teams
- Keep project decisions together in one graph

## Install

### Claude Code (Terminal)

```sh
claude mcp add quipu -- docker run -i --rm ghcr.io/scbrown/quipu:0.15.0
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "quipu": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/scbrown/quipu:0.15.0"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "quipu": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/scbrown/quipu:0.15.0"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "quipu": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/scbrown/quipu:0.15.0"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "quipu": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/scbrown/quipu:0.15.0"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "quipu": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/scbrown/quipu:0.15.0"
      ]
    }
  }
}
```

## FAQ

### What licence is Quipu under?

Apache-2.0.

### Does search need a model?

Keyword search works out of the box; semantic mode needs an embedding model.

### How do I connect it to Claude Code?

claude mcp add quipu -- quipu mcp --db /path/to/knowledge.db.

### Which systems does the installer support?

Linux and macOS on x86_64 and arm64, with Python 3.9+ and curl.

### Is Quipu free?

Yes. Quipu is open source, so you can use and self-host it for free.

### How do I add Quipu to Claude Code?

Run this command in your terminal: claude mcp add quipu -- docker run -i --rm ghcr.io/scbrown/quipu:0.15.0

### What are the best alternatives to Quipu?

The closest alternatives to Quipu are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Midplane.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [MedXpert 图书馆连接器（通用版）](https://ai-powered.com/mcp/medxpert): MedXpert 图书馆连接器（通用版） is an open-source MCP server for knowledge and memory.
- [Context Nest](https://ai-powered.com/mcp/context-nest): Context Nest is a freemium MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/quipu-2
