インデックス化されたコードベースに対して、AIコーディングアシスタントによるセマンティックコード検索、シンボルグラフのナビゲーション、および永続的なメモリクエリの実行を可能にします。
別名 Context-Engine-AI/Context-Engine
- スター
- 401
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- —
- 最終コミット
- 2026年10月31日
- ライセンス
- MIT
Context Engine MCPとは
Context EngineはMCPサーバーです。 インデックス化されたコードベースに対して、AIコーディングアシスタントによるセマンティックコード検索、シンボルグラフのナビゲーション、および永続的なメモリクエリの実行を可能にします。.
プロジェクトのREADMEから生成された概要
Context Engine MCP server について
Context Engineの主な機能は、AIコーディングアシスタントに高度なコードベースのインテリジェンスを提供することです。これにより、開発者はセマンティック検索の実行、シンボルグラフのナビゲーション、および異なるコーディングセッション間での永続的なメモリの維持が可能になります。ワークスペースをインデックス化することで、AIエージェントは、特定のシンボルの呼び出し元(callers)、呼び出し先(callees)、またはインポーター(importers)の特定など、ファイル間の複雑な関係を理解できるようになります。
これらの機能は、Claude Desktop、Cursor、Windsurf、Codexを含むさまざまな環境に統合できます。ターミナルベースのワークフローでは、context-engine-mcp-bridge を使用してバックグラウンドデーモン経由で接続できます。セットアップには、ローカルのコードベースとインデックス作成サービス間の接続を認証するためのアカウントとAPIキーが必要です。システムは30以上のツールを提供しており、振る舞いによってコードを検索する repo_search や、複数のリポジトリにまたがるフローを追跡する cross_repo_search などの専用コマンドが含まれています。
できること
- 1セマンティックなコード探索完全な文字列ではなく、抽象的な概念やエラーテキストに基づいて、特定の実装コードを見つけるようアシスタントに依頼します。
- 2シンボルの関係性のナビゲーション特定の関数やクラスがプロジェクト全体でどのように使用されているか、詳細なマップをリクエストします。
- 3複数ファイルにまたがるロジックの分析リポジトリ内の複数の異なるファイルに分散している複雑なロジックについて、AIに解説させます。
- 4長期的なコンテキストの維持特定の知識や設計上の決定事項を保存・取得することで、AIが将来のセッションでもそれらを記憶できるようにします。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
自動チェック
実行日 2026年11月13日詳細レポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能合格
- オープンソースライセンス (OSI)合格
- 過去1年以内にコミットまたはリリースあり合格
- パッケージ名が有名なパッケージに酷似していない未チェック
- リモートエンドポイントがHTTPSを使用未チェック
- 破壊的なツールがラベル付けされている未チェック
- モデルへの隠れた指示がない合格
- パッケージと依存関係に重大なアドバイザリがない未チェック
README
GitHubで見るInstall Skills
Context Engine ships AI agent skills that teach your coding assistant how to use 30+ MCP tools for semantic search, symbol graph navigation, memory, and more.
Guidance: Recommend pasting this into your project's CLAUDE.md or AGENTS.md to reach subagents:
# Context Engine
When the `context-engine` MCP server is connected, this workspace is indexed: for any question about the codebase, call `repo_search` FIRST, before ls/find/Grep/Read, and again whenever you move to a new area; for how/why questions that span several files use `context_answer`. Results are verified source with exact line ranges: treat them as already read. Use Grep only to confirm an exact literal in a file you already know, or to count. For questions asking for every/all sites, run one repo_search per distinct pattern (queries=[...]) and follow the refs. If the tools are listed as deferred, load them with ToolSearch first.
| Need | Tool |
|---|---|
| Find code by behavior, concept, error text or identifier | `repo_search` (`queries=[...]` for several at once; `under`, `language`, `path_glob` to narrow) |
| Explain how/why across several files, with citations | `context_answer` |
| Definition, callers, callees, importers, references of a symbol | `symbol_graph` (several names: `A\|B\|C`) |
| Multi-hop impact before a change | `graph_query` |
| Code that may live in another indexed repo | `cross_repo_search` |
Before editing, fetch every involved symbol in one call; before a rename or signature change, get every site with `symbol_graph` `query_type=references`. Search again only after learning something new.
Claude Code / Claude Desktop
Recommended: Install natively from the public GitHub repo:
# Add the marketplace (one-time)
/plugin marketplace add Context-Engine-AI/Context-Engine
# Install the skill
/plugin install context-engine
This pulls the skill directly from GitHub and auto-loads MCP tool guidance into your session.
Alternatively, copy the rules file manually:
cp -r skills/context-engine/ your-project/.claude/
Cursor
Context Engine rules are included in .cursorrules at the root of your workspace. Cursor picks this up automatically when the file is present.
# Copy to your project root
cp .cursorrules your-project/.cursorrules
Codex (OpenAI)
Recommended: Install natively using the built-in skill installer — just ask Codex:
"Install the context-engine skill from https://github.com/Context-Engine-AI/Context-Engine"
Codex will pull .codex/skills/context-engine/ (including SKILL.md) into ~/.codex/skills/ automatically.
Or install manually:
cp -r .codex/skills/context-engine/ ~/.codex/skills/context-engine/
Windsurf
cp -r .codex/skills/ your-project/.codex/skills/
Augment Code
cp -r .augment/ your-project/.augment/
Gemini
cp GEMINI.md your-project/GEMINI.md
Any Other Assistant
The core skill file works with any AI assistant that supports custom instructions:
cp skills/context-engine/SKILL.md your-project/
Then tell your assistant: "Read SKILL.md for instructions on using Context Engine MCP tools."
CLI Setup (No VS Code)
If you use Claude Code, Codex, or another terminal-based MCP client, install the MCP bridge to connect your codebase to Context Engine without VS Code:
npm install -g @context-engine-bridge/context-engine-mcp-bridge
Quick start
# Authenticate, index your codebase, and start watching for changes
ctxce connect <your-api-key> --workspace /path/to/repo
# Run as a background daemon (recommended)
ctxce connect <your-api-key> --workspace /path/to/repo --daemon
Daemon management
ctxce status # Check if the daemon is running
ctxce stop # Stop the background daemon
Connect flags
| Flag | Alias | Description |
|---|---|---|
--workspace <path> |
-w |
Workspace root (default: cwd) |
--daemon |
-d, --bg |
Run as background daemon |
--interval <sec> |
File watch interval in seconds (default: 30) | |
--no-watch |
--once |
Index once, don't watch for changes |
--skip-index |
--auth-only |
Authenticate only, skip initial index |
Wire up the MCP server
Once connected, point your MCP client at the bridge:
# stdio mode (for Claude Code, Codex, etc.)
ctxce mcp-serve --workspace /path/to/repo
# HTTP mode (for clients that speak HTTP)
ctxce mcp-http-serve --workspace /path/to/repo --port 30810
The daemon and MCP server share auth via ~/.ctxce/auth.json. Logs are at ~/.context-engine/daemon.log.
For full bridge documentation, see Context-Engine-MCP-Bridge.
What Do the Skills Do?
The skills teach your AI assistant to:
- Use
searchas the default tool — auto-routes queries to the best backend (semantic search, Q&A, symbol graph, tests, config) - Navigate code with
symbol_graph— find callers, callees, definitions, importers, subclasses - Run batch queries —
batch_search,batch_symbol_graph,batch_graph_queryfor 75%+ token savings - Store and recall knowledge —
memory_storeandmemory_findfor persistent context across sessions - Trace cross-repo flows —
cross_repo_searchwith boundary tracing for multi-repo codebases - Find structural patterns —
pattern_searchfor retry loops, error handling, singletons across languages - Search git history —
search_commits_forandchange_history_for_path
See skills/context-engine/SKILL.md for the complete tool reference.
Getting Started
- Sign up at context-engine.ai
- Connect your codebase — choose one:
- VS Code — install the Context Engine Uploader extension
- CLI —
npm i -g @context-engine-bridge/context-engine-mcp-bridge && ctxce connect <api-key> --daemon
- Install the skill for your AI assistant (see Install Skills above)
- Start searching — your assistant now has access to all 30+ MCP tools
License
© 2025 Context Engine Inc. and John Donalson.
Context Engine MCPのよくある質問
Context Engine MCPツールを使用して、AIアシスタントは何ができますか?
セマンティックコード検索の実行、引用を用いたファイル間でのコードの仕組みの解説、シンボルグラフのナビゲーション、およびセッションをまたいだメモリの保存と呼び出しが可能です。
ターミナルからコードベースをContext Engineに接続するにはどうすればよいですか?
npmを使用してMCP bridgeをグローバルにインストールし、APIキーとワークスペースのパスを指定して ctxce connect を実行します。オプションとしてバックグラウンドデーモンとして実行することも可能です。
コードベースに関する質問に対して、アシスタントは最初にどのツールを呼び出すべきですか?
ls、find、Grep、または Read を使用する前に、まず repo_search を呼び出す必要があります。また、複数のファイルにまたがる「どのように」や「なぜ」といった質問には context_answer を使用します。
セッションをまたいで知識を保存できますか?
はい、スキルとして memory_store と memory_find が提供されており、セッションをまたいだ永続的なコンテキストの保持が可能です。
gitの履歴検索はサポートしていますか?
はい、search_commits_for や change_history_for_path などのツールを使用してgitの履歴を検索できます。