ai-mldeveloper-tools

Cipher

campfirein

by campfirein

Cipher empowers agents with persistent memory using vector databases and embeddings for seamless context retention and t

Memory-powered agent framework that provides persistent memory capabilities across conversations and sessions using vector databases and embeddings, enabling context retention, reasoning pattern recognition, and shared workspace memory for team collaboration.

github stars

3.6K

0 commentsdiscussion

Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.

Works with 10+ IDEs via MCPReal-time team memory sharingVector database-powered search

best for

  • / Development teams using AI coding assistants
  • / Switching between multiple IDEs or editors
  • / Long-term coding projects requiring context retention
  • / Collaborative AI-assisted development

capabilities

  • / Store persistent memory across IDE sessions
  • / Generate AI coding memories from your codebase
  • / Share coding context with team members
  • / Switch between IDEs without losing context
  • / Recognize coding patterns and reasoning
  • / Query conversation history with vector search

what it does

A memory framework for AI coding agents that retains context across conversations and sessions. Lets you preserve coding knowledge and share it with your team in real-time.

about

Cipher is a community-built MCP server published by campfirein that provides AI assistants with tools and capabilities via the Model Context Protocol. Cipher empowers agents with persistent memory using vector databases and embeddings for seamless context retention and t It is categorized under ai ml, developer tools.

how to install

You can install Cipher in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

NOASSERTION

Cipher is released under the NOASSERTION license.

readme

Byterover Cipher

<div align="center"> <img src="./assets/cipher-logo.png" alt="Cipher Agent Logo" width="400" /> <p align="center"> <em>Memory-powered AI agent framework with MCP integration</em> </p> <p align="center"> <a href="LICENSE"><img src="https://img.shields.io/badge/License-Elastic%202.0-blue.svg" alt="License" /></a> <img src="https://img.shields.io/badge/Status-Beta-orange.svg" alt="Beta" /> <a href="https://docs.byterover.dev/cipher/overview"><img src="https://img.shields.io/badge/Docs-Documentation-green.svg" alt="Documentation" /></a> <a href="https://discord.com/invite/UMRrpNjh5W"><img src="https://img.shields.io/badge/Discord-Join%20Community-7289da" alt="Discord" /></a> </p> </div> <div align="center"> <a href="https://www.producthunt.com/products/byterover?embed=true&utm_source=badge-top-post-badge&utm_medium=badge&utm_source=badge-cipher&#0045;by&#0045;byterover" target="_blank"> <img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=1000588&theme=light&period=daily&t=1754744170741" alt="Cipher&#0032;by&#0032;Byterover - Open&#0045;source&#0044;&#0032;shared&#0032;memory&#0032;for&#0032;coding&#0032;agents | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /> </a> </div>

Overview

Byterover Cipher is an opensource memory layer specifically designed for coding agents. Compatible with Cursor, Codex, Claude Code, Windsurf, Cline, Claude Desktop, Gemini CLI, AWS's Kiro, VS Code, Roo Code, Trae, Amp Code and Warp through MCP, and coding agents, such as Kimi K2. (see more on examples)

Built by Byterover team

Key Features:

  • 🔌 MCP integration with any IDE you want.
  • 🧠 Auto-generate AI coding memories that scale with your codebase.
  • 🔄 Switch seamlessly between IDEs without losing memory and context.
  • 🤝 Easily share coding memories across your dev team in real time.
  • 🧬 Dual Memory Layer that captures System 1 (Programming Concepts & Business Logic & Past Interaction) and System 2 (reasoning steps of the model when generating code).
  • ⚙️ Install on your IDE with zero configuration needed.

Quick Start 🚀

NPM Package (Recommended for Most Users)

# Install globally
npm install -g @byterover/cipher

# Or install locally in your project
npm install @byterover/cipher

Docker

<details> <summary>Show Docker Setup</summary>
# Clone and setup
git clone https://github.com/campfirein/cipher.git
cd cipher

# Configure environment
cp .env.example .env
# Edit .env with your API keys

# Start with Docker
docker-compose up --build -d

# Test
curl http://localhost:3000/health

💡 Note: Docker builds automatically skip the UI build step to avoid ARM64 compatibility issues with lightningcss. The UI is not included in the Docker image by default.

To include the UI in the Docker build, use: docker build --build-arg BUILD_UI=true .

</details>

From Source

pnpm i && pnpm run build && npm link

CLI Usage 💻

<details> <summary>Show CLI commands</summary>
# Interactive mode
cipher

# One-shot command
cipher "Add this to memory as common causes of 'CORS error' in local dev with Vite + Express."

# API server mode
cipher --mode api

# MCP server mode
cipher --mode mcp

# Web UI mode
cipher --mode ui

⚠️ Note: When running MCP mode in terminal/shell, export all environment variables as Cipher won't read from .env file.

💡 Tip: CLI mode automatically continues or creates the "default" session. Use /session new <session-name> to start a fresh session.

</details>

Cipher Web UI

The Cipher Web UI provides an intuitive interface for interacting with memory-powered AI agents, featuring session management, tool integration, and real-time chat capabilities.

Configuration

Cipher supports multiple configuration options for different deployment scenarios. The main configuration file is located at memAgent/cipher.yml.

Basic Configuration ⚙️

<details> <summary>Show YAML example</summary>
# LLM Configuration
llm:
  provider: openai # openai, anthropic, openrouter, ollama, qwen
  model: gpt-4-turbo
  apiKey: $OPENAI_API_KEY

# System Prompt
systemPrompt: 'You are a helpful AI assistant with memory capabilities.'

# MCP Servers (optional)
mcpServers:
  filesystem:
    type: stdio
    command: npx
    args: ['-y', '@modelcontextprotocol/server-filesystem', '.']
</details>

📖 See Configuration Guide for complete details.

Environment Variables 🔐

Create a .env file in your project root with these essential variables:

<details> <summary>Show .env template</summary>
# ====================
# API Keys (At least one required)
# ====================
OPENAI_API_KEY=sk-your-openai-api-key
ANTHROPIC_API_KEY=sk-ant-your-anthropic-key
GEMINI_API_KEY=your-gemini-api-key
QWEN_API_KEY=your-qwen-api-key

# ====================
# Vector Store (Optional - defaults to in-memory)
# ====================
VECTOR_STORE_TYPE=qdrant  # qdrant, milvus, or in-memory
VECTOR_STORE_URL=https://your-cluster.qdrant.io
VECTOR_STORE_API_KEY=your-qdrant-api-key

# ====================
# Chat History (Optional - defaults to SQLite)
# ====================
CIPHER_PG_URL=postgresql://user:pass@localhost:5432/cipher_db

# ====================
# Workspace Memory (Optional)
# ====================
USE_WORKSPACE_MEMORY=true
WORKSPACE_VECTOR_STORE_COLLECTION=workspace_memory

# ====================
# AWS Bedrock (Optional)
# ====================
AWS_ACCESS_KEY_ID=your-aws-access-key
AWS_SECRET_ACCESS_KEY=your-aws-secret-key
AWS_DEFAULT_REGION=us-east-1

# ====================
# Advanced Options (Optional)
# ====================
# Logging and debugging
CIPHER_LOG_LEVEL=info  # error, warn, info, debug, silly
REDACT_SECRETS=true

# Vector store configuration
VECTOR_STORE_DIMENSION=1536
VECTOR_STORE_DISTANCE=Cosine  # Cosine, Euclidean, Dot, Manhattan
VECTOR_STORE_MAX_VECTORS=10000

# Memory search configuration
SEARCH_MEMORY_TYPE=knowledge  # knowledge, reflection, both (default: knowledge)
DISABLE_REFLECTION_MEMORY=true  # default: true

💡 Tip: Copy .env.example to .env and fill in your values:

cp .env.example .env
</details>

MCP Server Usage

Cipher can run as an MCP (Model Context Protocol) server, allowing integration with MCP-compatible clients like Codex, Claude Desktop, Cursor, Windsurf, and other AI coding assistants.

Installing via Smithery

To install cipher for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @campfirein/cipher --client claude

Quick Setup

To use Cipher as an MCP server in your MCP client configuration:

{
	"mcpServers": {
		"cipher": {
			"type": "stdio",
			"command": "cipher",
			"args": ["--mode", "mcp"],
			"env": {
				"MCP_SERVER_MODE": "aggregator",
				"OPENAI_API_KEY": "your_openai_api_key",
				"ANTHROPIC_API_KEY": "your_anthropic_api_key"
			}
		}
	}
}

📖 See MCP Integration Guide for complete MCP setup and advanced features.

👉 Built‑in tools overview — expand the dropdown below to scan everything at a glance. For full details, see docs/builtin-tools.md 📘.

<details> <summary>Built-in Tools (overview)</summary>
  • Memory
    • cipher_extract_and_operate_memory: Extracts knowledge and applies ADD/UPDATE/DELETE in one step
    • cipher_memory_search: Semantic search over stored knowledge
    • cipher_store_reasoning_memory: Store high-quality reasoning traces
  • Reasoning (Reflection)
    • cipher_extract_reasoning_steps (internal): Extract structured reasoning steps
    • cipher_evaluate_reasoning (internal): Evaluate reasoning quality and suggest improvements
    • cipher_search_reasoning_patterns: Search reflection memory for patterns
  • Workspace Memory (team)
    • cipher_workspace_search: Search team/project workspace memory
    • cipher_workspace_store: Background capture of team/project signals
  • Knowledge Graph
    • cipher_add_node, cipher_update_node, cipher_delete_node, cipher_add_edge
    • cipher_search_graph, cipher_enhanced_search, cipher_get_neighbors
    • cipher_extract_entities, cipher_query_graph, cipher_relationship_manager
  • System
    • cipher_bash: Execute bash commands (one-off or persistent)
</details>

Tutorial Video: Claude Code with Cipher MCP

Watch our comprehensive tutorial on how to integrate Cipher with Claude Code through MCP for enhanced coding assistance with persistent memory:

Cipher + Claude Code Tutorial

Click the image above to watch the tutorial on YouTube.

For detailed configuration instructions, see the CLI Coding Agents guide.

Documentation

📚 Complete Documentation

TopicDescription
ConfigurationComplete configuration guide including agent setup, embeddings, and vector stores
LLM ProvidersDetailed setup for OpenAI, Anthropic, AWS, Azure, Qwen, Ollama, LM Studio
Embedding ConfigurationEmbedding providers, fallback logic, and troubleshooting
Vector StoresQdrant, Milvus, In-Memory vector database configurations
[Chat History](./

FAQ

What is the Cipher MCP server?
Cipher is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for Cipher?
This profile displays 60 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.8 out of 5—verify behavior in your own environment before production use.

Use Cases

Extended AI Capabilities

Add new capabilities to Claude beyond text generation

Example

Access external data sources, execute code, interact with tools and services

Transform Claude from chatbot to action-taking agent

Context Enhancement

Provide Claude with access to relevant context and data

Example

Load project documentation, access knowledge bases, query databases

Get more accurate, context-aware responses

Workflow Automation

Automate multi-step workflows combining AI and external tools

Example

Research → Summarize → Create document → Send notification

Complete complex tasks end-to-end without manual steps

Implementation Guide

Prerequisites

  • Claude Desktop 0.7.0+ or Cursor IDE with MCP support
  • Basic understanding of MCP architecture and capabilities
  • Access credentials for integrated services (if required)
  • Willingness to experiment and iterate on configuration

Time Estimate

15-60 minutes depending on server complexity

Installation Steps

  1. 1.Install MCP server: npm install -g [package-name] or via GitHub
  2. 2.Add server configuration to ~/.claude/mcp.json
  3. 3.Provide required credentials and configuration
  4. 4.Restart Claude Desktop to load new server
  5. 5.Test basic functionality with simple prompts
  6. 6.Explore capabilities and experiment with use cases
  7. 7.Document successful patterns for reuse

Troubleshooting

  • MCP server not loading: Check config syntax, verify installation
  • Connection errors: Check network, firewall, credentials
  • Feature not working: Read server docs, check required parameters
  • Performance issues: Monitor resource usage, check for network latency
  • Conflicts with other servers: Check port assignments, namespace collisions

Best Practices

✓ Do

  • +Read server documentation thoroughly before setup
  • +Start with simple use cases to validate functionality
  • +Test in non-production environment first
  • +Monitor resource usage and performance
  • +Keep servers updated for bug fixes and new features
  • +Document configuration for team members
  • +Use environment variables for sensitive configuration

✗ Don't

  • Don't grant overly permissive access to MCP servers
  • Don't skip reading security considerations in docs
  • Don't expose sensitive data without proper controls
  • Don't run untrusted MCP servers without code review
  • Don't ignore error messages—investigate root cause

💡 Pro Tips

  • Combine multiple MCP servers for powerful workflows
  • Create custom MCP servers for your specific needs
  • Share successful configurations with team
  • Use MCP inspector for debugging
  • Join MCP community for tips and troubleshooting

Technical Details

Architecture

Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.

Protocols

  • Model Context Protocol (MCP)
  • JSON-RPC 2.0
  • stdio or HTTP transport

Compatibility

  • Claude Desktop
  • Cursor IDE
  • Custom MCP clients

When to Use This

✓ Use When

Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.

✗ Avoid When

Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.

Integration

  • Tool composition: Chain multiple MCP tools in workflows
  • Context augmentation: Provide AI with relevant external data
  • Action delegation: Let AI execute tasks on external systems
  • Bidirectional sync: Keep AI context and external systems in sync

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.

List & Promote Your MCP Server

Share your MCP server with the developer community

GET_STARTED →
MCP server reviews

Ratings

4.860 reviews
  • Anaya Shah· Dec 24, 2024

    Useful MCP listing: Cipher is the kind of server we cite when onboarding engineers to host + tool permissions.

  • James Thompson· Dec 12, 2024

    We wired Cipher into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Ganesh Mohane· Dec 8, 2024

    Cipher reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Camila Ndlovu· Dec 4, 2024

    We evaluated Cipher against two servers with overlapping tools; this profile had the clearer scope statement.

  • Rahul Santra· Nov 27, 2024

    I recommend Cipher for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Anaya Huang· Nov 27, 2024

    According to our notes, Cipher benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • James Wang· Nov 23, 2024

    We wired Cipher into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Mei Thompson· Nov 15, 2024

    Strong directory entry: Cipher surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Nikhil Sanchez· Nov 3, 2024

    We evaluated Cipher against two servers with overlapping tools; this profile had the clearer scope statement.

  • Nikhil Chen· Oct 22, 2024

    Cipher is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

showing 1-10 of 60

1 / 6