Chaos Cypher logo

Chaos Cypher

Builds, searches, traverses, and edits local knowledge graphs from documents through 46 MCP tools.

Install Chaos Cypher

Run the project’s own setup commands, in order.

Setup steps from the project

Chaos Cypher installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    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. 2. Install
    pipx install chaoscypher-cli
    
  3. 3. Configure
    chaoscypher setup                 # wizard: pick an LLM provider
    
  4. 4. Install
    git clone https://github.com/chaoscypherinc/chaoscypher.git
    
  5. 5. Run
    cd chaoscypher
    
  6. 6. Start the server
    make docker-up      # builds + starts the all-in-one container
    

Overview

Chaos Cypher MCP server connects MCP clients to a local-first GraphRAG knowledge engine built from documents and other sources. Its 46 tools cover graph search, traversal, and graph building, while the underlying application supports keyword, semantic, hybrid, and graph-enhanced retrieval. Data, embeddings, and exports stay on the local machine by default, although configured hosted LLMs receive text for extraction or chat. Reach for it when an agent needs inspectable, source-traceable knowledge rather than a vector-only index.

Use cases

  • Search a local document corpus through an MCP client
  • Traverse entity relationships and inspect source provenance
  • Build and refine a knowledge graph from mixed media
  • Ask agents to retrieve GraphRAG context with citations
  • Export a knowledge base as a portable Lexicon package

Key features

  • 46 MCP tools for search, traversal, and graph building
  • GraphRAG retrieval combining graph and vector search
  • Source-linked entities and relationships
  • Local embedding generation and self-hosted storage
  • Support for more than 30 source formats
  • Import and export of .ccx knowledge packages

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 63d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
Last commit9d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Chaos Cypher works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Chaos Cypher

Chaos Cypher is an MCP server that connects MCP clients to a local knowledge graph built from documents and other sources. Its 46 tools support graph search, traversal, and graph building, letting agents inspect, query, and extend indexed knowledge while data remains on your machine apart from configured LLM calls.

Install and run Chaos Cypher with the published Docker container and a persistent data volume, or install its standalone CLI from PyPI with pipx or pip. Docker with Compose is the recommended end-user path; the CLI includes a setup wizard for selecting an LLM provider.

Yes, Chaos Cypher is designed to connect with Claude Desktop and Cursor through MCP. The README also identifies ChatGPT and other MCP clients as supported connection targets, while the graph and its source data remain managed by the Chaos Cypher deployment.

Yes, use Ollama for an on-device setup. Embeddings are generated locally, and documents, graphs, and exports stay on disk; selecting OpenAI, Anthropic, or Gemini sends text used for extraction or chat to that provider.

Chaos Cypher supports keyword, semantic, hybrid, and GraphRAG search. GraphRAG combines graph traversal with vector retrieval, using Personalized PageRank and Reciprocal Rank Fusion to connect relevant entities and source content.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChaos Cypher AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/chaos-cypher?style=directory)](https://allmcps.com/mcp/chaos-cypher)
HTML Embed
<a href="https://allmcps.com/mcp/chaos-cypher"><img src="https://allmcps.com/api/badge/chaos-cypher?style=directory" alt="Chaos Cypher on AllMCPs" /></a>