ContextStream MCP Server

Gives AI coding agents searchable code, team decisions and project context that survive across sessions and tools.

Stars
★ 49
Last updated
1d ago
FARS reviewed
Sep 16, 2026
License
MIT
Primary language
Rust

At a glance

Works with
Portable with changesChatGPT · Codex · Claude Code · Claude.ai
You'll need
Node.js 20+ (npm launcher)Rust toolchain (building from source)ContextStream account / API keyShell / CLINetwork accessLocal filesystemMCP Server
Typical use
An engineer dropped into an unfamiliar repository asks Claude Code or Cursor to find the files relevant to the next change and to cite the saved decisions that should guide it.
Main limitation
Search and indexing depend on the ContextStream hosted backend, which is explicitly not in this repository and cannot be self-hosted; indexing sends eligible source contents to the vendor cloud.
Website
contextstream.io ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-27

What does this agent do, and when should you use it?

ContextStream MCP Server is an MIT-licensed Rust MCP server, client and editor-setup toolchain that connects your local checkout, docs and conversations to the ContextStream hosted platform, so MCP clients such as Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI and Zed can search code and recall saved decisions and lessons. The repository ships the Rust server, command-line client, editor hooks and release tooling; the indexing and search backend is hosted separately and is not part of this repository. It installs through a shell or PowerShell one-liner or an npx launcher that downloads a checksum-verified native binary, and it can also be consumed as a hosted Streamable HTTP + OAuth endpoint. Beyond retrieval it adds Live Capsule and Review Capsule links for sharing project context with any chat or MCP app, remote check/verify runs on a worker using a snapshot of your checkout, contract-consumer checks, and an opt-in Package Bouncer hook that blocks invented package names before an install command runs. A free tier of 10,000 monthly credits requires no credit card.

After setup the server reads your local checkout and indexes eligible source contents into the ContextStream hosted service, letting a connected agent run semantic and lexical code search that returns citable source paths, plus retrieval of saved team decisions, lessons and plans across sessions. Tool surface includes: file and code lookup; decision and lesson recall; capsule(action="live") which returns a /c/<token>/live link (small linked pages about file tree, files, symbols, decisions, lessons, plans, docs) and a /c/<token>/mcp link usable as a custom connector — no file contents or personal items by default, 7-day expiry, revocable; capsule(action="create", review=...) which builds a Review Capsule from Git changes with secret redaction; and capsule(action="live_read") for reading a pasted live link. For verification, session(action="remote_checks", enabled=true) or contextstream-mcp remote-checks on enables hosted check, which uploads a snapshot of your checkout to a worker and runs supported tests, lints, type checks and builds with a local fallback via contextstream-mcp run -- <command>; verify (alias ms_verify) selects checks from the project's dependency and test graph, widening for lockfiles, migrations, auth code, shared fixtures or config, and accepts scope="full". A successful remote check can additionally apply changed contract files to each reachable consumer's default branch and report compiler errors. Git events are captured through a managed pre-push hook, and workspace admins can gate pushes and PRs on a fresh passing receipt.

  1. An engineer dropped into an unfamiliar repository asks Claude Code or Cursor to find the files relevant to the next change and to cite the saved decisions that should guide it.
  2. A team that keeps losing the "why" behind changes has the agent save a decision and its reason, then retrieves it in a fresh session without re-explaining.
  3. A developer who wants only the affected tests run before committing uses verify to pick checks from the dependency/test graph, or chains npx prisma generate && npx tsc --noEmit in one remote check.
  4. Maintainers of a shared library or contract package let remote checks apply changed contract files to indexed consumers and surface compile breakage early.
  5. Someone discussing a project in ChatGPT or Claude web creates a Live Capsule link to paste into the chat, or adds the /c/<token>/mcp link once as a custom MCP connector.
  6. A team worried about hallucinated dependency names installs the Package Bouncer hook in Claude Code or Cursor so npm, pnpm, uv, pip and cargo installs are checked against the public registry first.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://contextstream.io/scripts/mcp.sh | bash
  • irm https://contextstream.io/scripts/mcp.ps1 | iex
  • npx -y @contextstream/mcp-server@latest setup
Environment variables
CONTEXTSTREAM_API_KEY
Config files
~/.claude/settings.json
Runtime
Node.js 20+
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

macOS and Linux one-liner (connects the MCP server to supported editors):

curl -fsSL https://contextstream.io/scripts/mcp.sh | bash

Windows PowerShell:

irm https://contextstream.io/scripts/mcp.ps1 | iex

npm launcher (Node.js 20+, downloads the native Rust binary and verifies its SHA-256):

npx -y @contextstream/mcp-server@latest setup

Hosted endpoint for Streamable HTTP + OAuth clients, no local process needed:

https://mcp.contextstream.io/mcp?default_context_mode=fast

Scripted or CI installs should wrap the download in pipefail so failures are not reported as success:

bash -o pipefail -c 'curl -fsSL https://contextstream.io/scripts/mcp.sh | bash'
export CONTEXTSTREAM_API_KEY=...
contextstream-mcp setup --yes --editors=claude --workspace-id=<UUID> --project-path=.

Building the Rust server in this repository from source (pinned toolchain):

cargo build --locked -p mcp-server --bin contextstream-mcp
cargo test --locked --workspace

Preview and diagnose the setup before relying on it:

contextstream-mcp setup --dry-run
contextstream-mcp doctor

How do you use this agent?

Restart your editor after install, then complete onboarding to create or sign in to an account (10,000 free credits per month, no credit card) and connect a workspace and project. Drive it from the connected agent in natural language:

Use ContextStream to find the files relevant to my next change. Cite the sources and retrieve any saved project decisions that should guide the work.

Enable remote checks and route commands through the worker (falling back to your machine if the worker declines):

contextstream-mcp remote-checks on
contextstream-mcp run -- npx prisma generate && npx tsc --noEmit

For sharing, ask the agent to run capsule(action="live") and paste the /c/<token>/live link into ChatGPT or Claude, or add the /c/<token>/mcp link once as a custom connector. Behaviour is tunable through environment variables read by the local MCP process and editor hooks:

CONTEXTSTREAM_SPECULATIVE_CHECKS=off
CONTEXTSTREAM_CHECKOUT_SNAPSHOT_REPOS="github.com/my-org/"

Optional Package Bouncer hook for Claude Code (~/.claude/settings.json):

{ "matcher": "Bash", "hooks": [{ "type": "command", "command": "contextstream-mcp hook package-bouncer", "timeout": 8 }] }

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Benchmarks are published with method, confidence intervals and losses: LongMemEval-S 484/500 (96.8%), LoCoMo 1474/1540 (95.7%), and 98.77% best-answer-in-top-10 across 177 judged developer queries, with the single-repository agent-task result flagged as directional.
  • Broad client and model coverage: Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Zed and other MCP clients, on Claude, GPT, Gemini, Kimi, GLM and Qwen models.
  • Remote verification is targeted rather than all-or-nothing: verify derives scope from the dependency and test graph, supported && chains share one checkout upload, and contract consumers can be checked after a successful run.
  • Data controls are concrete and default-restrictive where it matters: Live Capsule links ship without file contents or personal items, expire in 7 days and are revocable; speculative checks are off until opted in and separately capped.
  • The client, editor setup and release tooling are MIT-licensed, with both a local MCP process and a hosted endpoint path, plus 10,000 free monthly credits and no credit card.
Limitations
  • Search and indexing depend on the ContextStream hosted backend, which is explicitly not in this repository and cannot be self-hosted; indexing sends eligible source contents to the vendor cloud.
  • Defaults lean toward capture: transcript saving and local Git metadata capture are on by default, so sensitive projects need the data-handling doc read and switches turned off first.
  • Building from source needs the pinned Rust toolchain and the npm path needs Node.js 20+; a hosted-only connection does not sync your local checkout.
  • Several capabilities depend on credits and worker availability: speculative checks are off by default, a busy or unready worker pushes checks back to the normal path, and overages consume credits.
  • Benchmark rival numbers are vendor- or paper-reported and not re-run, code-search baselines come from a different run, and the agent-task figure uses one repository and one model.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
ContextStream MCP Server This agent 52 · Major gaps — ★ 49 1d ago Rust ChatGPT · Codex · Claude Code · Claude.ai
aisync 70 · Some gaps CLIFree ★ 50 2d ago Python Codex · Claude Code
GitMCP: Live Documentation MCP Server for Any GitHub Project 53 · Major gaps Hosted serviceFree ★ 8.5k 6mo ago TypeScript ChatGPT · Claude Code · Claude.ai
mex Project Memory 84 · Good CLIFree ★ 1.8k 10d ago TypeScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
52/ 100 5-point scale 2.6 / 5
Trust 13/29
Reliability 8/14
Adaptability 10/18
Convention 10/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

The README states plainly that indexing sends eligible source contents to ContextStream for hosted search, and that transcript saving and local Git metadata capture are on by default and can be turned off, linking to docs/data-handling.md; data_flow_transparency scores 2. However, that document's body is not in the evidence, so the exact fields collected and retention policy cannot be verified, and sensitive_data_handling scores 1. Least privilege rests only on the phrase 'scoped access' with no concrete implementation or default configuration shown, so least_privilege is 1. Installation runs remote scripts via curl | sh and irm | iex with no interactive confirmation or permission manifest in evidence, so user_confirmation and external_effects are each 1. Rollback is limited to a claim that capture can be disabled; no uninstall, data-deletion, or state-recovery path is documented, so rollback is 1. Dependency security is comparatively well evidenced by cargo audit, cargo deny, Gitleaks, CodeQL, locked versions, and checksums, scoring 2. Source attribution scores 2 for the cite-your-sources instruction, the traceable-sources claim, and npm provenance.

Reliability8 / 14 · 2.9/5

Cargo.toml pins a single workspace version 1.0.7, builds with --locked, fixes Rust 1.95, and CI runs cargo check on Linux, macOS, and Windows with consistent internal crate versions, so self_consistency is 2. Dependency availability relies on ordinary crates.io dependencies plus a checksum-verified npm launcher, but the hosted backend and install-script domain are outside the repository and cannot be statically verified, so dependency_availability is 2. Failure messages are only implied by the doctor and --dry-run command names; no concrete error text, exit codes, or diagnostic output examples appear, so failure_messages is 1.

Adaptability10 / 18 · 2.8/5

The README targets Claude Code, Cursor, Codex, and other MCP clients, with macOS/Linux/Windows install paths plus npm and hosted HTTP options, so audience_and_scenarios and environment_fit are each 2. Capability boundaries are stated reasonably: indexing supplies code context but cannot recover undocumented decisions, and a hosted connection alone does not sync the local checkout, scoring 2. Trigger precision rests on a single example prompt with no guidance on when to invoke or avoid the tool, so trigger_precision is 1.

Convention10 / 18 · 2.8/5

The README is well structured with install, data controls, and a collapsed section for other options, and it references architecture, release, CONTRIBUTING, SECURITY, GOVERNANCE, and NOTICE, so information_architecture is 2. Install notes cover multiple platforms and npm checksum verification, scoring 2. Package name, mcpName, and workspace version are consistent, so naming_stability is 2. Examples are one prompt with no FAQ, so examples_and_faq is 1. Known limitations are limited to the undocumented-decision caveat and the benchmark not being a latency guarantee, scoring 1. LICENSE is full MIT text consistent with Cargo.toml and package.json, so license is 3. A version number exists but there is no CHANGELOG, so versioning_changelog is 1. Maintenance responsibility is unclear because the publisher is unverified and the bodies of GOVERNANCE.md and SECURITY.md are absent from the evidence, so maintenance_responsibility is 1.

Effectiveness7 / 13 · 2.7/5

Output usability scores 2 for copy-ready prompts and a retrieve/save-decision workflow. Marginal value scores 2: cross-session persistent memory and semantic search add real value for multi-session agents, though the hosted backend is closed and local capability is limited. Cost benefit scores 1 because free-credit and pricing details live only behind external links, with no in-repo cost model or quota description.

Verifiability4 / 8 · 2.5/5

claim_traceability is 1: the 95 ms benchmark, traceable sources, and scoped access all point to external sites with no in-repo methodology or data. cross_source_corroboration is 1: README, Cargo.toml, package.json, and CI agree on version and license, but security and data-control claims lack in-repo documentation. fact_inference_separation is 2: the README explicitly distinguishes the measured benchmark median from a latency guarantee and separates indexing capability from decision recovery, keeping fact and inference reasonably distinct.

Risks and how to mitigate them
  • Installation executes remote scripts via curl | sh and irm | iex with no interactive confirmation or permission manifest in the static evidence; download and review the script before running it.
  • Indexing sends eligible source contents to a hosted service, and transcript saving plus local Git metadata capture are on by default; docs/data-handling.md is not in the evidence, so verify collection scope and retention before connecting sensitive projects.
  • Key claims such as the 95 ms benchmark, traceable sources, and scoped access point to external sites with no in-repo methodology or data and cannot be statically verified.
  • Publisher identity is unverified and the bodies of GOVERNANCE.md and SECURITY.md are absent, leaving maintenance responsibility and the update path unclear.
  • The hosted backend is closed and not in this repository; the boundary between local and hosted capability must be confirmed against an actual deployment.
Evidence confidence: Low Reviewed Sep 16, 2026 Reviewed revision cdf0b38658a5
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/mcp-server.svg)](https://followagents.com/en/agents/mcp-server)
<a href="https://followagents.com/en/agents/mcp-server"><img src="https://followagents.com/badge/mcp-server.svg" alt="FARS review"></a>
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts