
forloopcodes/contextplus
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
大規模エンジニアリングのためのセマンティックインテリジェンス。Context+は、99%の精度を求める開発者向けに設計されたMCPサーバーです。
概要
大規模工学のためのセマンティック・インテリジェンス。 Context+は、99%の精度を求める開発者向けに設計されたMCPサーバーです。RAG、Tree-sitter AST、スペクトルクラスタリング、Obsidianスタイルのリンクを組み合わせることで、Context+は膨大なコードベースを検索可能な階層的な特徴グラフに変換します。 https://github.com/user-attachments/assets/a97a451f-c9b4-468d-b036-15b65fc13e79 PMLL-Memory-MCP(NPX PMLL-Memory-MCP)は、@drQedwardsが開発した別のMCPサーバーで、Context+の長期記憶グラフを適応させ、短期KVコンテキストメモリ、Q約束重複除去、解法エンジンを追加しています。詳細はdrQedwards/PPMを参照してください。 インストールは不要です。IDE MCPの設定にContext+を追加してください。 Claude Code、カーソル、WindsurfにはmcpServersをご利用ください: VS Code(.vscode/mcp.json)では、サーバーと入力を使用します: - 「command」: 「npx」- 「args」: ["-y", "contextplus"]
概要(AI 翻訳)
大規模工学のためのセマンティック・インテリジェンス。
Context+は、99%の精度を求める開発者向けに設計されたMCPサーバーです。RAG、Tree-sitter AST、スペクトルクラスタリング、Obsidianスタイルのリンクを組み合わせることで、Context+は膨大なコードベースを検索可能な階層的な特徴グラフに変換します。
https://github.com/user-attachments/assets/a97a451f-c9b4-468d-b036-15b65fc13e79
道具
発見
| 道具 | 説明 |
|---|---|
get_context_tree |
ファイルのヘッダーとシンボル範囲(関数/クラス/メソッドの行番号)を持つプロジェクトの構造ASTツリー。動的剪定縮小は自動的に出力されます。 |
get_file_skeleton |
関数シグネチャ、クラスメソッド、型定義を行範囲で表示し、全胴を読み取らない。APIの表面を示します。 |
semantic_code_search |
意味で検索し、正確なテキストではありません。ファイルヘッダー/シンボルに埋め込みを使い、一致したシンボル定義行を返します。 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Context+
Semantic Intelligence for Large-Scale Engineering.
Context+ is an MCP server designed for developers who demand 99% accuracy. By combining RAG, Tree-sitter AST, Spectral Clustering, and Obsidian-style linking, Context+ turns a massive codebase into a searchable, hierarchical feature graph.
https://github.com/user-attachments/assets/a97a451f-c9b4-468d-b036-15b65fc13e79
Tools
Discovery
| Tool | Description |
|---|---|
get_context_tree |
Structural AST tree of a project with file headers and symbol ranges (line numbers for functions/classes/methods). Dynamic pruning shrinks output automatically. |
get_file_skeleton |
Function signatures, class methods, and type definitions with line ranges, without reading full bodies. Shows the API surface. |
semantic_code_search |
Search by meaning, not exact text. Uses embeddings over file headers/symbols and returns matched symbol definition lines. |
semantic_identifier_search |
Identifier-level semantic retrieval for functions/classes/variables with ranked call sites and line numbers. |
semantic_navigate |
Browse codebase by meaning using spectral clustering. Groups semantically related files into labeled clusters. |
Analysis
| Tool | Description |
|---|---|
get_blast_radius |
Trace every file and line where a symbol is imported or used. Prevents orphaned references. |
run_static_analysis |
Run native linters and compilers to find unused variables, dead code, and type errors. Supports TypeScript, Python, Rust, Go. |
Code Ops
| Tool | Description |
|---|---|
propose_commit |
The only way to write code. Validates against strict rules before saving. Creates a shadow restore point before writing. |
インストール
npx -y contextplus設定
{
"mcpServers": {
"contextplus": {
"command": "bunx",
"args": ["contextplus"],
"env": {
"OLLAMA_EMBED_MODEL": "nomic-embed-text",
"OLLAMA_CHAT_MODEL": "gemma2:27b",
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY"
}
}
}
}