# Chaos Cypher [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/chaoscypherinc/chaoscypher  
**GitHub Stars:** 5  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/chaos-cypher

## Description
Local-first knowledge graphs from your documents: build, search (GraphRAG) and edit on your machine.

## 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/chaoscypherinc/chaoscypher), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
docker run -d --name chaoscypher \
  -p 80:80 \
  -p 443:443 \
  -v chaoscypher-data:/data \
  --add-host=host.docker.internal:host-gateway \
  ghcr.io/chaoscypherinc/chaoscypher:latest
```

2. Install:

```sh
pipx install chaoscypher-cli
```

3. Configure:

```sh
chaoscypher setup                 # wizard: pick an LLM provider
```

4. Install:

```sh
git clone https://github.com/chaoscypherinc/chaoscypher.git
```

5. Run:

```sh
cd chaoscypher
```

6. Start the server:

```sh
make docker-up      # builds + starts the all-in-one container
```

## Documentation

## What Chaos Cypher does

Agents can search indexed knowledge, traverse relationships, and build or edit graph content using the server’s 46 tools.

The platform accepts more than 30 source formats, including PDF, DOCX, Markdown, HTML, EPUB, audio, video, images, and ZIP archives. It combines graph traversal with vector retrieval for GraphRAG search and also supports keyword, semantic, and hybrid search modes. The wider application provides chat with citations, graph exploration, quality analysis, and portable Lexicon knowledge packages with a `.ccx` extension.

## How it works

Sources pass through loading, cleaning, chunking, extraction, and indexing stages. Chaos Cypher extracts entities and relationships, generates embeddings locally, and stores the resulting knowledge graph and source data on disk. GraphRAG retrieval combines graph traversal with vector search using Personalized PageRank and Reciprocal Rank Fusion.

The MCP layer lets a compatible client query or change the graph instead of interacting only with the visual application. Agents can follow relationships, inspect entities and their provenance, search across the corpus, and contribute to graph building. The platform can use Ollama, OpenAI, Anthropic, or Gemini for configured operations; Ollama supports an entirely on-device setup.

## Setup and configuration

The recommended deployment uses Docker with Compose. The published all-in-one container stores its data in a Docker volume and exposes the application locally. A Compose deployment can also make a host-based Ollama instance reachable from the container through `host.docker.internal`.

A standalone CLI is available from PyPI and can be installed with `pipx` or `pip`. Its setup wizard selects an LLM provider, after which sources can be added from the terminal. Developers can alternatively clone the repository and build the all-in-one image locally with the project’s Make target.

Configure the LLM provider before relying on extraction or chat. Embeddings run locally on CPU, while the text sent to a hosted provider depends on the operations and provider selected. Knowledge graphs, documents, and exports remain in the storage controlled by the deployment.

## Tools and capabilities

- Search the knowledge graph with keyword, semantic, hybrid, and GraphRAG methods.
- Traverse entity and relationship connections.
- Build and edit graph content through MCP.
- Inspect source provenance for extracted entities and relationships.
- Work with imported documents, media, pasted text, web pages, and archives.
- Export or import portable `.ccx` Lexicon knowledge packages.

## Limitations and notes

Extraction and chat depend on an LLM provider being configured. Choosing OpenAI, Anthropic, or Gemini sends the text used for those operations to the selected hosted service; Ollama is the documented option for keeping those calls on-device. The server is intended for knowledge bases managed by a local Chaos Cypher deployment, so the deployment must be running and its graph populated before MCP searches can return useful results.

_Full upstream README: https://allmcps.com/mcp/chaos-cypher/readme_

