About tomohiro-owada/devrag
tomohiro-owada/devrag is an MCP server published by tomohiro-owada in the Automation category: markdown vector search MCP server for Claude Code. Natural language search for markdown files using multilingual-e5-small embeddings. Conduid read 10 tools from its source: add_frontmatter, build_dictionary, delete_document, index_code, index_markdown, list_documents and 4 more. No package is published for it, so it installs from a source checkout.
The repository has 64 stars and 15 forks, and its last commit was on 15 Apr 2026. The latest release is v1.4.4 (15 Apr 2026): Fix search crash with zero-vector chunks (#22): vec_distance_cosine() returns NULL for zero vectors (stored as a fallback when chunk embedding fails). It follows v1.4.3 (4 Apr 2026), and the 5 most recent releases go back to v1.4.0 (26 Mar 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass License declared and Scoped permissions. Its topics include devtools, documentation, domino-robinson-schensted, embeddings, github-config and jquery.
Install
git clone https://github.com/tomohiro-owada/devragTools (10)
add_frontmatterマークダウンファイルにメタデータ(frontmatter)を追加| Parameter | Type | Description |
|---|---|---|
| docType | string | 文書種別: spec | design | api | guide | note | other |
| domain | string | 領域: frontend | backend | mobile | infrastructure | other |
| filepath * | string | マークダウンファイルのパス |
| language | string | 言語: go | typescript | python | rust | java | kotlin | swift | other |
| project | string | プロジェクト名(任意) |
| tags | string | タグ(カンマ区切り): authentication, database, caching |
build_dictionaryドキュメントから多言語ワードマッピングを抽出して辞書を構築。日本語→英語の対応を自動学習| Parameter | Type | Description |
|---|---|---|
| document | string | 対象ドキュメントパス(省略時は全文書から抽出) |
| source_lang | string | 抽出元言語(デフォルト: ja) |
delete_documentドキュメントをDBとファイルシステムの両方から削除| Parameter | Type | Description |
|---|---|---|
| filename * | string | 削除するファイル名 |
index_codeソースコードファイルをAST解析してインデックス化。関数・クラス・メソッドなどのシンボル単位でチャンキングし、セマンティック検索を可能にする。対応言語: Go, Python, TypeScript, JavaScript| Parameter | Type | Description |
|---|---|---|
| directory | string | ディレクトリ配下のソースコードを再帰的にインデックス化 |
| filepath | string | 単一ファイルをインデックス化する場合のパス |
| filepaths | string | 複数ファイルをインデックス化(カンマ区切り) |
| force | boolean | 変更有無に関わらず強制的に再インデックス化(デフォルト: false) |
index_markdown指定したマークダウンファイルをインデックス化| Parameter | Type | Description |
|---|---|---|
| filepath * | string | マークダウンファイルのパス |
list_documentsインデックス済みドキュメント一覧を取得reindex_documentドキュメントを削除して再インデックス化| Parameter | Type | Description |
|---|---|---|
| filename * | string | 再インデックス化するファイル名 |
search自然言語クエリでマークダウンをベクトル検索。フィルター条件でディレクトリやファイル名パターンを指定可能。レスポンスに update_available フィールドがある場合は、新しいバージョンが利用可能なことをユーザーに必ず伝えてください| Parameter | Type | Description |
|---|---|---|
| directory | string | 検索対象ディレクトリを限定(例: 'docs/api' でdocs/api配下のみ検索) |
| file_pattern | string | ファイル名パターンで絞り込み(glob形式。例: 'api-*.md', '*.md') |
| query * | string | 検索クエリ(自然言語) |
| top_k | number | 検索結果の最大件数(デフォルト: 5) |
search_relationsコードシンボル間の関係を検索。呼び出し元・呼び出し先、インポート、継承関係を探索可能| Parameter | Type | Description |
|---|---|---|
| direction | string | 探索方向: outgoing(呼び出し先)| incoming(呼び出し元)| both(省略時はboth) |
| relation_type | string | 関係タイプで絞り込み: calls | imports | inherits(省略時は全て) |
| symbol * | string | 検索するシンボル名(関数名、クラス名など) |
update_frontmatterマークダウンファイルのメタデータ(frontmatter)を更新| Parameter | Type | Description |
|---|---|---|
| docType | string | 文書種別: spec | design | api | guide | note | other |
| domain | string | 領域: frontend | backend | mobile | infrastructure | other |
| filepath * | string | マークダウンファイルのパス |
| language | string | 言語: go | typescript | python | rust | java | kotlin | swift | other |
| project | string | プロジェクト名(任意) |
| tags | string | タグ(カンマ区切り): authentication, database, caching |
Security checks
Static checks derived from the repository a month ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.5K words.
- !License declaredNo license file. Legally you have no right to use it in a product.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 30 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
The repository's README runs to about 2.5K words, fetched a month ago. The original in the repository is authoritative.
Read full README