Welcome to ContextStream
ContextStream gives your AI tools persistent memory, semantic search, and knowledge graphs. Build context-aware applications that remember everything.
Concepts & FAQ
Visual guide to workspaces, projects, memory & common questions for developers and teams
Quickstart
Get up and running in 5 minutes
API Reference
Complete REST API documentation
MCP Integration
Connect to Claude, Cursor, Windsurf
Memory Events
Store and retrieve memories
What is ContextStream?
ContextStream is a memory and context platform for AI tools. It provides:
- 1Persistent Memory
Store conversations, decisions, and context that persists across sessions
- 2Semantic Search
Search by meaning, not just keywords. Find relevant context instantly.
- 3Knowledge Graphs
Connect decisions, code, and documentation in a queryable graph
- 4MCP Protocol
Native integration with Claude, Cursor, Windsurf, and other AI tools
- 5Token-Saving Tools
Save ~80% on AI tokens with smart context retrieval instead of chat history
How It Works
# 1. Create a workspace
curl -X POST https://api.contextstream.io/api/v1/workspaces \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "my-project"}'
# 2. Store a memory
curl -X POST https://api.contextstream.io/api/v1/memory/events \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"workspace_id": "ws_xxx",
"title": "Decided to use PostgreSQL",
"content": "After evaluating options, chose PostgreSQL for..."
}'
# 3. Search memories semantically
curl -X POST https://api.contextstream.io/api/v1/search/semantic \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"query": "database decisions", "search_type": "semantic"}'