mcp-server
The context platform for AI agents. Code search, team decisions, and shared project context with traceable sources and scoped access, carried across sessions and tools.
Install / Use
claude mcp add contextstream -- npx -y github:contextstream/mcp-serverIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of mcp-server
mcp-server scores 86/100 on our quality scale, 2338th of 4,616 Development & Engineering skills we index.
Its MCP Server is 10 KB long, well organised into 13 sections with 10 code examples: a thorough specification that gives an agent plenty to work with.
It has 44 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so mcp-server is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (3 minor notes below). An AI review of the same text found nothing harmful.
- noteInstalls by piping a downloaded script into a shellline 39
curl -fsSL https://contextstream.io/scripts/mcp.sh | bash - noteInstalls by piping a downloaded script into a shellline 45
irm https://contextstream.io/scripts/mcp.ps1 | iex - noteInstalls by piping a downloaded script into a shellline 159
bash -o pipefail -c 'curl -fsSL https://contextstream.io/scripts/mcp.sh | bash'
AI review by kimi-k2.7-code on 2026-10-28. Automated pattern scan on 2026-10-28. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
mcp-server compared with similar skills
All 4 of these similar skills score higher than mcp-server; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| mcp-server (this skill)by contextstream | 86 | 44 | today | MCP Server |
| Agent-Reachby Panniantong | 100 | 105.0k | 2d ago | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 103.8k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.1k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 66.9k | today | CLAUDE.md |
Frequently asked questions
- How do I install mcp-server?
- Run
claude mcp add contextstream -- npx -y github:contextstream/mcp-server. The install tabs above show the steps for each supported agent. - Which AI agents does mcp-server work with?
- It is written for Claude Code, Claude Desktop, Cursor, Windsurf and Gemini CLI, as a MCP Server file. Other agents that read the same format can often use it too.
- Is mcp-server safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (3 minor notes below). An AI review of the same text found nothing harmful. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is mcp-server still maintained?
- The repository was last updated today, so mcp-server is actively maintained.
Skill content
View source on GitHubYour agent knows code. Give it the decisions behind yours.
Connect your code, docs, and conversations so your agents can find the right files, recall saved decisions, and build on past work across sessions and tools.
<a href="https://contextstream.io/benchmarks"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/contextstream/mcp-server/main/assets/benchmarks-dark.png"> <img src="https://raw.githubusercontent.com/contextstream/mcp-server/main/assets/benchmarks-light.png" width="100%" alt="ContextStream benchmarks: LongMemEval-S 96.8% (484 of 500), LoCoMo 95.7%, code search 98.77% best answer in the top 10, agent tasks 96% (23 of 24, up from 58% without it)"> </picture> </a>The numbers, their sources, and what they do not claim are under Benchmarks.
<a id="install-in-30-seconds"></a>
Start free with MCP
10,000 monthly credits. No credit card required.
Works with Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Qwen Code, Kimi Code, Muse Code, ZCode, Zed, and more MCP clients, on Claude, GPT, Gemini, Kimi, GLM, Qwen, and other models. Create your account or sign in during MCP onboarding. No separate website signup needed.
macOS and Linux
curl -fsSL https://contextstream.io/scripts/mcp.sh | bash
Windows PowerShell
irm https://contextstream.io/scripts/mcp.ps1 | iex
Paste the command into your terminal and follow onboarding to connect your project and supported editor. Restart your editor after setup.
What gets installed and indexed? · Supported clients · Setup guide · Prefer to start on the web?
Make the next session useful
Ask your connected agent:
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.
Then ask it to save a real decision and its reason. Start a new session and retrieve that decision without explaining it again. Indexing supplies code context; it cannot recover every undocumented decision.
Benchmarks
Each benchmark runs through the production API, is registered before its results are read, and is published with its method, confidence interval, and losses.
| Benchmark | ContextStream | Compared with | |---|---|---| | LongMemEval-S, all 500 questions | 96.8% (484/500); 96.0% on the half held out from tuning | Above Mastra (94.87%) and supermemory (85.4%) on the same official GPT-4o judge. Level with agentmemory's self-reported 96.2%, which is inside our 95% interval | | LoCoMo, all 1,540 questions | 95.7% (1474/1540); 95.8% held out; 97.8% on the audited answer key | Above every system in the EverMemOS paper's same-judge table: EverMemOS 93.05%, Zep 85.22%, MemOS 80.76%, MemU 66.67%, Mem0 64.20% | | Code search, 177 judged developer queries | 98.77% best answer in the top 10; 100% a useful file in the top 10 | Embedding-only search 72.84% and ripgrep 42.59% on the same queries and judgments | | Agent tasks, 8 tasks × 3 trials | 23/24 passed (96%); 9/9 on tasks that need team knowledge | 14/24 (58%) and 0/9 with the repository alone |
61 ms median server-side search time (127 ms p95) in the October 27 production run. End to end it was 223 ms, because the client ran in a different region from the one serving the workspace. Your latency depends on your distance from that region.
Competitor figures are as each vendor or the EverMemOS paper published them; we did not re-run them, and readers and judges differ across rows. The code-search baselines come from the August 1 run on the same queries. The agent-task result uses one repository and one agent model, so treat it as directional. Results, methodology, and limitations.
ContextStudio
For people ContextStream Create offers one-prompt making to, the server adds one tool,
studio: ask for a film, a product explainer filmed from your connected product, an
image, sound or music in plain words, and ContextStudio's producer plans the pieces from
what your team knows (brand kit, docs, decisions, connected products). There are no models
to pick.
- Plan, then price.
planreturns the pieces and one price ("up to N credits, likely about M") and spends nothing. Pass what your agent knows that the workspace may not (the diff it just made, release notes, the doc it has open) ascontext; the producer reads it next to the team's own context. - Your go-ahead.
makespends at most the plan's price, and only after you agree: a client that can ask you (MCP elicitation, or a statelessinput_requiredresult) asks you itself; otherwise the agent passes the price you accepted. - Following it.
statusreports each piece while it waits (withnotifications/progresswhere the call asks for them); a product film takes 13 to 21 minutes.resultshows images inline and links video and sound (signed links valid about 15 minutes), with each piece's placard. Alsorevise,stop,library,brandandproducts. - Connector. The hosted path
/studioserves only this tool, for Claude.ai or ChatGPT connectors, with OAuth tokens bound to that resource (read:studio,write:studio).
Data controls
Scoped access. Traceable sources. Configurable capture. Indexing sends eligible source contents to ContextStream for hosted search. Transcript saving and local Git metadata capture are on by default and can be turned off. Review data handling and controls before connecting sensitive projects.
<details> <summary><strong>Other installation options and troubleshooting</strong></summary>npm (Node.js 20+)
npx -y @contextstream/mcp-server@latest setup
The npm launcher downloads the native Rust binary for your platform and verifies its SHA-256 checksum. Pin an exact package version for production automation.
Hosted MCP without a local process
For clients supporting Streamable HTTP and OAuth, the hosted endpoint is:
https://mcp.contextstream.io/mcp?default_context_mode=fast
Supported clients lists one-line add commands for Claude Code, Codex, Gemini CLI, Qwen Code, Copilot CLI, and Droid, and one-click install for VS Code. Use the MCP documentation for other clients and stdio alternatives. A hosted connection alone does not sync your local checkout.
Preview or diagnose setup
contextstream-mcp setup --dry-run
contextstream-mcp doctor --scope=all --only-configured
Scripted and CI setup
For automation, wrap the install in pipefail so it fails when the download
fails, instead of reporting success after installing nothing:
bash -o pipefail -c 'curl -fsSL https://contextstream.io/scripts/mcp.sh | bash'
setup --yes reads the key from CONTEXTSTREAM_API_KEY or saved credentials,
and needs --workspace-id when the account has more than one workspace:
export CONTEXTSTREAM_API_KEY=... # or: printf %s "$KEY" | contextstream-mcp configure --api-key-stdin
contextstream-mcp setup --yes --editors=claude --workspace-id=<UUID> --project-path=.
Package Bouncer (opt-in)
A hook for Claude Code and Cursor that checks the packages an install command names
against their public registry before the command runs. It covers npm, pnpm, yarn, bun,
npx, pip, uv, uvx, pipx, poetry and cargo, including claude mcp add ... -- npx ....
- It denies a package the registry does not have, naming the popular package it looks like. An agent may have invented the name, and anyone can register it.
- It asks before a barely downloaded lookalike of a popular package.
- It allows everything else, including whenever a lookup fails or takes too long.
It skips projects and commands that use a private registry (.npmrc, pip.conf, uv or
poetry sources, --registry, --index-url). CONTEXTSTREAM_PACKAGE_BOUNCER=off
turns it off.
Claude Code: add this entry to PreToolUse in ~/.claude/settings.json, next to the
hooks setup installed. update-hooks leaves it alone.
{ "matcher": "Bash", "hooks": [{ "type": "command", "command": "contextstream-mcp hook package-bouncer", "timeout": 8 }] }
Cursor (~/.cursor/hooks.json):
{ "version": 1, "hooks": { "beforeShellExecution": [{ "command": "contextstream-mcp hook package-bouncer" }] } }
</details>
Open source and contributing
This repository contains the MIT-licensed Rust MCP server, client, editor setup, and release tooling. The hosted backend is separate and is not included here. See the architecture, release integrity, and latest release.
cargo build --locked -p mcp-server --bin contextstream-mcp
cargo test --locked --workspace
Use the pinned Rust toolchain. For contribution checks and commit sign-off, read CONTRIBUTING.md. Report vulnerabilities using SECURITY.md. See LICENSE, NOTICE, and GOVERNANCE.md for licensing, trademarks, and project governance.
Let humans be human.
Docs · Pricing · Integrations · Benchmarks
Optional deep project learning
Deep project learning starts off for new accounts. Plain contextstream-mcp setup --yes
preserves your current choice. To review consent, run
contextstream-mcp configure --account-learning on and confirm on the signed-in
privacy page. To withdraw, run contextstream-mcp configure --account-learning off.
Agents cannot consent for you. Doctor and init show status only. See
data handling and controls.
Related Skills
Agent-Reach
105.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
103.8kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
headroom
78.1kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
66.9kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
