Skip to main content
Glama
weatherills

MCP-PersonalSearch

by weatherills

MCP-パーソナルサーチ

操作者の通常の対話セッション中に利用できるデータと同じデータへ、モデルがアクセスできるように設計されたMCPサーバーです。

現在実装されているのは、プロジェクト PRD の フェーズ1 です。つまり、GitLab でホストされている docs-as-code リポジトリ向けのローカルドキュメントパイプライン(raw ストア → Markdown 抽出 → チャンキング → FTS5 インデックス → CLI)です。MCP サーバー自体(Streamable HTTP、search_docs/get_section など)はフェーズ2で、まだ構築されていません。

セットアップ

python -m venv .venv
.venv/Scripts/activate   # or `source .venv/bin/activate` on Linux/macOS
pip install -e ".[dev]"

config.example.tomlconfig.toml にコピーし、[[sources]] に自分のリポジトリ(複数可)を指定してください:

[[sources]]
id = "eng-docs"
type = "gitlab_repo"
repo_url = "https://gitlab.example.com/team/docs.git"
branch = "main"
globs = ["docs/**/*.md", "README.md"]

Related MCP server: Gemini Docs MCP Server

使い方

docsrag ingest --source eng-docs        # clone/fetch + index; safe to re-run, skips unchanged files
docsrag search "your question here"     # lexical (BM25) search over the indexed corpus
docsrag reindex                         # rebuild sections/chunks/FTS from the raw store, fully offline
docsrag status                          # per-source document counts and last run
docsrag eval --set eval/questions.json  # recall@k / MRR against a labelled question set (PRD §7.2)

corpus.db(インデックス化されたドキュメント)と instance.db(クエリログ、ジョブ履歴)は、デフォルトでは data/ 配下に書き込まれ、gitignore されています — コーパスを共有・エクスポート・同期してはならない理由は PRD §12 を参照してください。

eval/questions.json も同じ理由で gitignore されています。実際の質問は、実際に取り込んだコンテンツに基づいており、内部コンテンツを埋め込む可能性があります。eval/questions.example.jsoneval/questions.json にコピーし、自分のコーパスから取得した {"query": ..., "section_id": ...} ペアを入力してください(section_id の値は docsrag search の出力から取得されます)。

テスト

pytest
A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…

  • Token-efficient search for coding agents over public and private documentation.

  • Page-cited retrieval for embedded docs, datasheets, MISRA, CMSIS, and RTOS references.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/weatherills/MCP-PersonalSearch'

If you have feedback or need assistance with the MCP directory API, please join our Discord server