Referenced in decision history examples, showing how ContextStream tracks database technology selection rationale and architectural trade-offs.
Used as an example database preference in the memory system, demonstrating how ContextStream can remember and recall database technology choices and architectural decisions.
Featured prominently in memory examples, demonstrating how ContextStream remembers language preferences, strict mode settings, and coding standards across sessions.
ContextStream MCP Server
š§ Your AI's Permanent Brain ā Across Every Tool, Every Conversation
Tired of re-explaining your codebase to AI every single time?
ContextStream gives your AI persistent memory that follows you everywhere. Decisions remembered. Context preserved. No more repeating yourself.
Website: contextstream.io | Docs: contextstream.io/docs/mcp
⨠Why ContextStream?
The Problem
Close a chat with Cursor ā Open a new one ā AI forgot everything
Switch from Claude to Windsurf ā Start explaining from scratch
New team member joins ā Days of onboarding conversations
"Why did we build it this way?" ā No one remembers
The Solution
ContextStream is a universal memory layer for AI coding tools. It works with Cursor, Claude Code, Windsurf, VS Code, and any MCP-compatible client.
It remembers. Across sessions. Across tools. Forever.
š 2-Minute Setup
1. Get your API key (30 seconds)
Sign up at contextstream.io ā Settings ā API Keys ā Create one.
2. Add to your MCP config (60 seconds)
Cursor / Claude Code / Windsurf / VS Code:
Codex CLI: Add to ~/.codex/config.toml:
3. Try it out (30 seconds)
Start a chat and say:
"Initialize session and remember that I prefer TypeScript with strict mode"
Then start a brand new conversation and ask:
"What are my preferences?"
⨠It remembers.
š„ Beyond Memory ā That's Just the Beginning
ContextStream isn't just memory storage. It understands your code.
Impact Analysis
See all dependencies and side effects before refactoring.
Decision History
Recall past decisions with full context and reasoning.
Semantic Code Search
Search by meaning, not just keywords. Find code by intent.
Knowledge Graph
Visualize connections between code, decisions, and docs.
š 60+ MCP Tools at Your Fingertips
š Code Search & Context
Tool | Description |
| Find code by meaning, not just keywords |
| Combines semantic + keyword for best results |
| Regex-based code search |
| Automatically gather relevant code, docs, and memory |
š§ Memory & Knowledge
Tool | Description |
| Quick natural language memory ("Remember I prefer TypeScript") |
| Quick recall ("What were the auth decisions?") |
| Store decisions, insights, and context |
| Find relevant past context |
| Get decision summaries |
š Code Intelligence
Tool | Description |
| Understand what depends on what |
| Trace execution flows |
| Understand change impact |
| Find problematic cycles |
| Identify dead code |
š¤ AI Integration
Tool | Description |
| Build LLM-ready context from your codebase |
| Deep analysis with memory integration |
| AI-powered development planning |
| Break down work into actionable tasks |
š Session Management
Tool | Description |
| Initialize conversation with auto-context |
| Get relevant context for any message |
| Store context to memory |
| Compress chat history to memory |
⨠Auto-Context (v0.3.0+)
Context loads automatically on the first tool call. No manual setup required.
Works with all MCP clients ā no client-side changes required.
š”ļø Privacy & Security
Encrypted at rest ā All data encrypted with AES-256
No training on your data ā We never use your code to train AI
You control access ā Workspace permissions & API keys
Self-host option ā Enterprise can self-host for full control
š Why Not Built-in Memory?
Built-in memory | ContextStream |
ā Vendor lock-in ā switch tools, lose everything | ā Universal ā Cursor, Claude, Windsurf, any MCP tool |
ā Expires or resets over time | ā Persistent forever ā never lose context (paid plans) |
ā No semantic search | ā Semantic search ā find anything across all history |
ā Personal only ā teammates start from zero | ā Team memory ā shared context, instant onboarding |
ā No API access | ā 60+ MCP tools ā full API and automation |
ā Memory isolated from code | ā Knowledge graph ā decisions linked to code |
ā Clunky to use | ā Natural language ā "remember X", "what did we decide about Y?" |
š Full Tool Reference
Tool | Description |
| Get current user profile |
Tool | Description |
| List accessible workspaces |
| Get workspace details |
| Create a new workspace |
| Get workspace summary |
| Get usage analytics |
| List workspace content |
Tool | Description |
| List projects (by workspace) |
| Get project details |
| Create a new project |
| Get project summary |
| Get code statistics |
| List indexed files |
| Trigger re-indexing |
| Check indexing status |
Tool | Description |
| Semantic vector search |
| Combined semantic + keyword |
| Traditional keyword search |
| Regex pattern search |
| Get search suggestions |
Tool | Description |
| Store a memory event |
| Retrieve an event |
| Update an event |
| Remove an event |
| List events in workspace |
| Bulk import events |
| Extract key insights |
| Create knowledge node |
| Get knowledge node |
| Update knowledge node |
| Remove knowledge node |
| Replace with new version |
| List knowledge nodes |
| Search memory |
| Get decision summaries |
| Get chronological timeline |
| Get condensed summary |
Tool | Description |
| Find related knowledge nodes |
| Find path between nodes |
| Decision history in graph |
| Query code dependencies |
| Trace call paths |
| Analyze change impact |
| Find circular deps |
| Find dead code |
| Find conflicting info |
Tool | Description |
| Build LLM context |
| Deep context with memory |
| Generate embeddings |
| Generate dev plan |
| Generate tasks |
Tool | Description |
| Initialize conversation |
| Get user preferences |
| Store context to memory |
| Search with context enrichment |
| Quick natural language memory |
| Quick natural language recall |
| Get relevant context for message |
| Compress chat history to memory |
| Get compact workspace summary |
| Get changes since timestamp |
š Pre-built Prompts
Prompt | Description |
| Get a codebase overview |
| Document an ADR |
| Build code review context |
| Debug investigation helper |
| Navigate knowledge graph |
| Generate onboarding guide |
| Find refactoring opportunities |
| Build comprehensive LLM context |
āļø Environment Variables
Variable | Required | Description |
| Yes | API base URL (
) |
| Yes | Your API key from contextstream.io |
š Links
Website: contextstream.io
Documentation: contextstream.io/docs
MCP Setup Guide: contextstream.io/docs/mcp
GitHub: contextstream/mcp-server
š¤ Contributing
We welcome contributions! Here's how you can help:
Report bugs ā Open an issue at GitHub Issues
Request features ā Share your ideas in the issues
Submit PRs ā Fork the repo and submit pull requests
Development
š License
MIT