
omar-haris/smart-coding-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
omar-haris/smart-coding-mcpは、[[T0]からインポートされたMCPサーバー候補です。
概要
omar-haris/smart-coding-mcpは、[[T0]からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
AIアシスタント向けにインテリジェントな意味コード検索を提供する拡張可能なモデルコンテキストプロトコル(MCP)サーバー。柔軟な埋め込み次元(64-768d)を用いるマトリョーシカ表現学習(MRL)を用いたローカルAIモデルで構築。
これが何をするのか
AIコーディングアシスタントは、関連するコードを素早く見つけられることでより効果的に機能します。従来のキーワード検索は不十分です。例えば「認証はどこで行うのか?」と尋ねても、コードが「ログイン」や「セッション」を使っていると、キーワード検索は見落としてしまうのです。
このMCPサーバーは、AI埋め込みでコードベースをインデックスすることでそれを解決します。AIアシスタントは正確なキーワードではなく意味で検索でき、用語が異なっても関連するコードを見つけ出します。
利用可能なツール
🔍 a_semantic_search - 意味でコードを見つける
コードベースの探索のための主要なツールです。AI埋め込みを使って、単にキーワードをマッチングするのではなく、あなたが探しているものを理解します。
仕組み: 自然言語クエリをベクトルに変換し、コサイン類似度+完全一致ブースティングを使って意味の似たコードチャンクを見つけます。
最適:
- 未知のコードベースの探索:
"How does authentication work?" - 関連コードの検索:
"Where do we validate user input?"
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Smart Coding MCP
An extensible Model Context Protocol (MCP) server that provides intelligent semantic code search for AI assistants. Built with local AI models using Matryoshka Representation Learning (MRL) for flexible embedding dimensions (64-768d).
What This Does
AI coding assistants work better when they can find relevant code quickly. Traditional keyword search falls short - if you ask “where do we handle authentication?” but your code uses “login” and “session”, keyword search misses it.
This MCP server solves that by indexing your codebase with AI embeddings. Your AI assistant can search by meaning instead of exact keywords, finding relevant code even when the terminology differs.
Available Tools
🔍 a_semantic_search - Find Code by Meaning
The primary tool for codebase exploration. Uses AI embeddings to understand what you’re looking for, not just match keywords.
How it works: Converts your natural language query into a vector, then finds code chunks with similar meaning using cosine similarity + exact match boosting.
Best for:
- Exploring unfamiliar codebases:
"How does authentication work?" - Finding related code:
"Where do we validate user input?" - Conceptual searches:
"error handling patterns" - Works even with typos:
"embeding modle initializashun"still finds embedding code
Example queries:
"Where do we handle cache persistence?"
"How is the database connection managed?"
"Find all API endpoint definitions"
📦 d_check_last_version - Package Version Lookup
Fetches the latest version of any package from its official registry. Supports 20+ ecosystems.
How it works: Queries official package registries (npm, PyPI, Crates.io, etc.) in real-time. No guessing, no stale training data.
Supported ecosystems: npm, PyPI, Crates.io, Maven, Go, RubyGems, NuGet, Packagist, Hex, pub.dev, Homebrew, Conda, and more.
Best for:
- Before adding dependencies:
"express"→4.18.2 - Checking for updates:
"pip:requests"→2.31.0 - Multi-ecosystem projects:
"npm:react","go:github.com/gin-gonic/gin"
Example usage:
"What's the latest version of lodash?"
"Check if there's a newer version of axios"
🔄 b_index_codebase - Manual Reindexing
Triggers a full reindex of your codebase. Normally not needed since indexing is automatic and incremental.
How it works: Scans all files, generates new embeddings, and updates the SQLite cache. Uses progressive indexing so you can search while it runs.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"smart-coding-mcp": {
"command": "smart-coding-mcp",
"args": ["--workspace", "/absolute/path/to/your/project"]
}
}
}