Context
Saves pages you highlight with Alt+S and lets AI clients search and reopen them
Context is an MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
- Platforms
- Web, CLI, VS Code
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 1.0.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add context --env CONTEXT_TOKEN='<CONTEXT_TOKEN>' --env CONTEXT_URL='<CONTEXT_URL>' -- npx -y contextback-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"context": {
"command": "npx",
"args": [
"-y",
"contextback-mcp"
],
"env": {
"CONTEXT_TOKEN": "<CONTEXT_TOKEN>",
"CONTEXT_URL": "<CONTEXT_URL>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"context": {
"command": "npx",
"args": [
"-y",
"contextback-mcp"
],
"env": {
"CONTEXT_TOKEN": "<CONTEXT_TOKEN>",
"CONTEXT_URL": "<CONTEXT_URL>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"context": {
"command": "npx",
"args": [
"-y",
"contextback-mcp"
],
"env": {
"CONTEXT_TOKEN": "<CONTEXT_TOKEN>",
"CONTEXT_URL": "<CONTEXT_URL>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"context": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"contextback-mcp"
],
"env": {
"CONTEXT_TOKEN": "<CONTEXT_TOKEN>",
"CONTEXT_URL": "<CONTEXT_URL>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add context --env CONTEXT_TOKEN='<CONTEXT_TOKEN>' --env CONTEXT_URL='<CONTEXT_URL>' -- npx -y contextback-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.context]
command = "npx"
args = ["-y", "contextback-mcp"]
env = { CONTEXT_TOKEN = "<CONTEXT_TOKEN>", CONTEXT_URL = "<CONTEXT_URL>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"context": {
"command": "npx",
"args": [
"-y",
"contextback-mcp"
],
"env": {
"CONTEXT_TOKEN": "<CONTEXT_TOKEN>",
"CONTEXT_URL": "<CONTEXT_URL>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "context": { "command": "npx", "args": [ "-y", "contextback-mcp" ], "env": { "CONTEXT_TOKEN": "<CONTEXT_TOKEN>", "CONTEXT_URL": "<CONTEXT_URL>" } } } }Or run: gemini mcp add -s user -e CONTEXT_TOKEN='<CONTEXT_TOKEN>' -e CONTEXT_URL='<CONTEXT_URL>' context npx -- -y contextback-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "context": { "command": "npx", "args": [ "-y", "contextback-mcp" ], "env": { "CONTEXT_TOKEN": "<CONTEXT_TOKEN>", "CONTEXT_URL": "<CONTEXT_URL>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "context": { "command": "npx", "args": [ "-y", "contextback-mcp" ], "env": { "CONTEXT_TOKEN": "<CONTEXT_TOKEN>", "CONTEXT_URL": "<CONTEXT_URL>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "context": { "command": "npx", "args": [ "-y", "contextback-mcp" ], "env": { "CONTEXT_TOKEN": "<CONTEXT_TOKEN>", "CONTEXT_URL": "<CONTEXT_URL>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "context": { "command": "npx", "args": [ "-y", "contextback-mcp" ], "env": { "CONTEXT_TOKEN": "<CONTEXT_TOKEN>", "CONTEXT_URL": "<CONTEXT_URL>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "context": { "command": "npx", "args": [ "-y", "contextback-mcp" ], "env": { "CONTEXT_TOKEN": "<CONTEXT_TOKEN>", "CONTEXT_URL": "<CONTEXT_URL>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "context": { "command": "npx", "args": [ "-y", "contextback-mcp" ], "env": { "CONTEXT_TOKEN": "<CONTEXT_TOKEN>", "CONTEXT_URL": "<CONTEXT_URL>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "context": { "command": "npx", "args": [ "-y", "contextback-mcp" ], "env": { "CONTEXT_TOKEN": "<CONTEXT_TOKEN>", "CONTEXT_URL": "<CONTEXT_URL>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
CONTEXT_TOKENYour Context token, from https://contextback.com/connect after signup.RequiredCONTEXT_URLThe Context site.Required
About Context
Context keeps the pages and passages you mark while browsing so you can find them again later. Captured material can be brought back when you return to a task, whether you are in the browser, a terminal, VS Code or Cursor.
Through this MCP server, an AI client can search your saved pages, open one in full, and file a document you just used back into your collection. Setup uses an npm package run over stdio, with a personal token from your Context account and the site address as configuration.
It suits developers and researchers who collect reference material while working and want an assistant to use that archive directly instead of relying on memory or re-searching the web.
What it does
- Highlight to save
- Mark any passage on a web page with Alt+S to keep it for later.
- Search saved pages
- Let an AI client search across everything you have saved.
- Read full documents
- Open a saved page in full from within the assistant.
- File used documents
- Store the document you just referenced back into your collection.
- Works across editors
- Access your saved material from the browser, terminal, VS Code and Cursor.
Good for
- Recalling a reference you highlighted last week while coding
- Giving an AI assistant access to your personal research archive
- Filing documentation an assistant consulted so it is easy to revisit
- Resuming a task in the terminal or editor with your earlier notes at hand
Context FAQ
How do I connect Context?
Sign up at Context, copy your token from the connect page, and set it as CONTEXT_TOKEN in the MCP server configuration.
Which environment variables are needed?
CONTEXT_TOKEN is required and secret. CONTEXT_URL defaults to https://contextback.com and is also required in the configuration.
How is the server installed?
It is distributed as the npm package contextback-mcp and runs over stdio.
How do I add Context to Claude Code?
Run this command in your terminal: claude mcp add context --env CONTEXT_TOKEN='<CONTEXT_TOKEN>' --env CONTEXT_URL='<CONTEXT_URL>' -- npx -y contextback-mcp
What are the best alternatives to Context?
The closest alternatives to Context are Sombra, Markwise, not24get, Context Mem and Stashr.
Where this comes from
- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
