Contextq MCP
概要
作者による説明(英語の原文)
Persistent memory, hybrid search and a goal graph for AI agents, over stdio or remote HTTP.
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンでもクラウドでも
- トランスポート: stdio, Streamable HTTP
- カテゴリ: 検索・AIの記憶
- 入力が必要なもの:CONTEXT_API_KEY, CONTEXT_API_URL, Authorization
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 5/5 合格 · 質問内容は提供元のサーバー(app.contextq.dev)を通ります
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげます · 約 5 分
Contextq MCP のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで
Claude の Connectors ページを開く
CustomizeConnectors
「+ Add」→「Add custom connector」を押し、この 2 つを入力
ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します
Name · 名前Contextq MCPRemote MCP server URL · アドレスhttps://app.contextq.dev/mcpRequest headers に、この名前と値を追加
ヘッダー名Authorization値Bearer <ここにキーを貼り付け>キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Authentication は Claude が検出したままにして Add を押します
チャットで有効にする
+ConnectorsContextq MCP
試してみる
Contextq MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Contextq MCP を使っていると言うか、回答に Contextq MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Contextq MCP につなげません
Contextq MCP は接続時に自分のキーが必要ですが、OpenAI のヘルプページは OAuth ログインしか説明しておらず、確認できたキー入力方法がありません
代わりにできること
A · Contextq MCP につなげるアプリを使う
- Contextq MCP のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで
- Contextq MCP のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)
- Contextq MCP のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)
- Contextq MCP のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)
B · 検索・AIの記憶 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- AIHOT✓ ChatGPT
- Sui Knowledge Base (kapa.ai)✓ ChatGPT
- Exa✓ ChatGPT
Claude Code につなげます · 約 5 分
Contextq MCP のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --transport http contextq https://app.contextq.dev/mcp --header 'Authorization: your-value'Enter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude Code で /mcp と入力
Contextq MCP が一覧にあり、接続済みと表示されれば OK です
試してみる
Contextq MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Contextq MCP を使っていると言うか、回答に Contextq MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげます · 約 5 分
Contextq MCP のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)
キーを入力
Contextq MCP の設定で Authorization が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Cursor の AI チャットを Agent モードで開く
試してみる
Contextq MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Contextq MCP を使っていると言うか、回答に Contextq MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげます · 約 5 分
Contextq MCP のキーが必要です(提供元のサイトで登録、費用がかかる場合あり)
キーを入力
Contextq MCP の設定で Authorization が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
VS Code の AI チャットを Agent モードで開く
試してみる
Contextq MCP を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Contextq MCP を使っていると言うか、回答に Contextq MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
Web 経由でつなぐアプリ用のアドレス
https://app.contextq.dev/mcpJSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
Web 経由
Claude Code
claude mcp add --transport http contextq https://app.contextq.dev/mcp --header 'Authorization: your-value'Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"contextq": {
"url": "https://app.contextq.dev/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"contextq": {
"type": "http",
"url": "https://app.contextq.dev/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}パソコンにインストール
Claude Code
claude mcp add contextq --env CONTEXT_API_KEY=your-value --env CONTEXT_API_URL=your-value -- npx -y @contextq/mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"contextq": {
"command": "npx",
"args": [
"-y",
"@contextq/mcp"
],
"env": {
"CONTEXT_API_KEY": "your-value",
"CONTEXT_API_URL": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"contextq": {
"command": "npx",
"args": [
"-y",
"@contextq/mcp"
],
"env": {
"CONTEXT_API_KEY": "your-value",
"CONTEXT_API_URL": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"contextq": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@contextq/mcp"
],
"env": {
"CONTEXT_API_KEY": "your-value",
"CONTEXT_API_URL": "your-value"
}
}
}
}自分で入力する値
CONTEXT_API_KEY秘密 必須 envContextQ API key (sk_live_...), created in the ContextQ dashboardCONTEXT_API_URL必須 envContextQ API base URL, https://app.contextq.dev for the hosted serviceAuthorization秘密 HTTP headerOptional: Bearer followed by a ContextQ API key (sk_live_...). Omit to sign in with OAuth.
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
インターネット経由でつなげるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
このサーバーは、ツール一覧を表示する前にサインインを求めます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月11日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント contextq で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:41 日前
- ✓ 合格
ライセンスがある
MITを使用
- ✓ 合格
エンドポイントが応答する
879ミリ秒で応答(HTTP 401)
- ✓ 合格
OAuthでサインイン
OAuthでのサインインに対応しているため、AIアプリがログイン画面へ案内してくれます
- … 未チェック
ツールの説明に隠れた指示がない
まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの5921件のうち0%よりスターが多い
- このカテゴリのほかの5921件のうち49%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5921件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Contextq MCPは安全ですか?
当てはまる基本チェック5項目のうち5項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:CONTEXT_API_KEY, CONTEXT_API_URL, Authorization
パソコンで動きますか、それともクラウドですか?
どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は41 日前、最新バージョン(2.1.1)がレジストリに届いたのは41 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP に対応したアプリでも使えます(例:ChatGPT Business 以上)。
代わりに使えるものは?
同じカテゴリには:Ruflo, Context7, Metabase
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
@contextq/mcp
MCP server for ContextQ -- exposes the ContextQ knowledge-management API (89 tools: save, search, ingest, goal graphs, agent sessions, relays, and more) as Model Context Protocol tools. A curated ~24-tool default set loads at connection to keep the token cost of tools/list low; the rest load on demand or via CONTEXT_MCP_TOOL_PROFILE=full -- see below.
npx -y @contextq/mcp
Client configuration
Two environment variables are required in every client:
| Variable | Description |
|---|---|
CONTEXT_API_URL | Base URL of your ContextQ server (e.g. https://ctx.example.com) |
CONTEXT_API_KEY | API key sent as Authorization: Bearer on every request |
Optional:
| Variable | Description |
|---|---|
CONTEXT_MCP_TOOL_PROFILE | default (default if unset) loads a curated ~24-tool set at connection, well under most hosts' comfortable tool-list budget; full loads all ~89 tools from the start. On default, the rest stay reachable via the ctx_tool_groups (list) / ctx_load_tool_group (load) tools without reconnecting -- see docs/mcp-tools.md "Discoverability under ToolSearch deferral" |
Setup paths: Claude Code and Claude Desktop have automated setup via the contextq init CLI command. Cursor, Windsurf, and Cline require manual config file editing — see docs/mcp-setup.md for the full reference.
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": { "contextq": { "command": "npx", "args": ["-y", "@contextq/mcp"], "env": { "CONTEXT_API_KEY": "sk_live_YOUR_API_KEY", "CONTEXT_API_URL": "https://ctx.example.com" } } } }
Claude Code
claude mcp add contextq \
-e CONTEXT_API_KEY=sk_live_YOUR_API_KEY \ -e CONTEXT_API_URL=https://ctx.example.com \ -- npx -y @contextq/mcp
Cursor
Add to your Cursor MCP config (.cursor/mcp.json or Settings > MCP):
{
"mcpServers": { "contextq": { "command": "npx", "args": ["-y", "@contextq/mcp"], "env": { "CONTEXT_API_KEY": "sk_live_YOUR_API_KEY", "CONTEXT_API_URL": "https://ctx.example.com" } } } }
Windsurf
STATUS (2026-06-02): Windsurf was rebranded as Devin Desktop and Cascade was end-of-lifed (2026-07-01). If you have an existing Windsurf install, the configuration below still applies, but new installations should use Devin Desktop instead. Devin Desktop uses the same MCP config format under .devin/mcp.json.
Add to your Windsurf MCP config (.windsurf/mcp.json):
{
"mcpServers": { "contextq": { "command": "npx", "args": ["-y", "@contextq/mcp"], "env": { "CONTEXT_API_KEY": "sk_live_YOUR_API_KEY", "CONTEXT_API_URL": "https://ctx.example.com" } } } }
What data is sent and tenant isolation
- Only the requests your agent makes are sent. The MCP server is a stateless proxy -- it forwards each tool call to the ContextQ API via
CONTEXT_API_URLand returns the response. No telemetry, no background sync, no usage tracking beyond what your ContextQ server logs. - Tenant-scoped API keys. Every ContextQ API key is bound to a single tenant. All
/api/*endpoints enforce tenant isolation -- an API key can only access the tenant it was issued for. Cross-tenant data leaks are impossible at the API layer. - Per-request auth. Your
CONTEXT_API_KEYis sent as anAuthorization: Bearerheader on every call. It never appears in tool names, argument schemas, or responses returned to the LLM.
Client timeout configuration
A handful of ContextQ tools run LLM calls, kNN scans, or bulk DB operations server-side and can legitimately take longer than a typical MCP client's default request timeout. If your client aborts before the server responds, you will see a timeout error that looks like a broken tool — it usually isn't. Configure a longer per-server timeout for this MCP server rather than assuming the tool is hung.
Slow-class tools (recommend a longer timeout, e.g. 120000-180000 ms depending on workspace size):
| Tool | Why it's slow |
|---|---|
ctx_dream | Clusters a workspace's contexts via vector similarity, then runs one LLM synthesis call per cluster. |
ctx_evolve | Runs LLM judging over up to 20 nearest-neighbor contexts to decide links/archival. |
ctx_ingest | Fetches/parses a source and runs LLM claim extraction + kNN diffing. Large or URL-sourced ingests already return { jobId, statusUrl } and expect polling via ctx_ingest_status — but small inline ingests still run synchronously and can take several seconds. |
ctx_regenerate_mocs | Re-clusters all of a tenant's contexts and runs one LLM synthesis call per cluster (admin scope). |
ctx_memory_review_run | Samples older contexts and asks the LLM to verdict each one (superadmin scope). |
ctx_bulk_update | Applies a lifecycle/archive patch to up to 200 context ids in one call — bounded, but still slower than a single-row update. |
ctx_audit_cleanup_run | Deletes up to 5000 activity_logs rows in one pass (superadmin scope). |
ctx_snapshot_create / ctx_fork_world / ctx_diff_world | Clone or diff a workspace's full memory state (contexts, links, goal graph) — cost scales with workspace size. |
Everything else (ctx_search, ctx_get, ctx_save, ctx_list, agent_*, goal_*, relay_*, etc.) is ordinary CRUD/search and should complete well within a default client timeout.
These numbers are starting points, not guarantees — actual latency depends on your ContextQ server's hardware, workspace size, and configured LLM/embedding provider. Measure against your own deployment before tuning tighter.
.mcp.json per-server request_timeout_ms
Most MCP clients that support .mcp.json (including Claude Code) accept a per-server request_timeout_ms to override the client's default request timeout for every tool call on that server:
{
"mcpServers": { "contextq": { "command": "npx", "args": ["-y", "@contextq/mcp"], "env": { "CONTEXT_API_KEY": "sk_live_YOUR_API_KEY", "CONTEXT_API_URL": "https://ctx.example.com" }, "request_timeout_ms": 120000 } } }
request_timeout_ms applies per server, not per tool — if you regularly call slow-class tools, size it for the slowest one you expect to hit, not the average. Claude Code 2.1.206 fixed a bug where this field was silently ignored (a 60s default was applied regardless); confirm your Claude Code version is at least 2.1.206 if the setting doesn't seem to take effect.
Claude Code idle timeout
Independently of request_timeout_ms, Claude Code (2.1.187+) also enforces CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT — an idle-abort timeout (default around 5 minutes) that fires if an MCP tool call produces no activity for that long. Set it in your shell environment (not .mcp.json) when calling slow-class tools against a large workspace:
export CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT=300000 # milliseconds; raise if ctx_dream/ctx_ingest still time out
Treat both settings as recommendations, not guarantees, of how long any given call will take.
API version compatibility
The 99-tool surface exposed by this MCP server is a direct projection of the ContextQ API (24 loaded by default, the rest via CONTEXT_MCP_TOOL_PROFILE=full or on-demand -- see "Client configuration" above). The tool count and signatures drift with the server. Pin compatible versions:
| MCP package | ContextQ server API |
|---|---|
@contextq/mcp@2.x | ContextQ v2.x (99 tools) |
When upgrading your ContextQ server, check the changelog and bump the MCP package to the matching major version. A version mismatch may surface unknown tools or break call signatures.
License
MIT