MCP-PersonalSearch
MCP-PersonalSearch
MCP-сервер, спроектированный для предоставления модели доступа к тем же данным, которыми оператор имеет в своем распоряжении во время обычных интерактивных сессий.
В настоящий момент реализован Этап 1 PRD проекта — локальный конвейер документации (хранилище исходных данных → извлечение Markdown → нарезка на чанки → индекс FTS5 → CLI) для репозиториев docs-as-code, размещённых на GitLab. Сам MCP-сервер (Streamable HTTP, search_docs/get_section и т.д.) — это Этап 2, он еще не построен.
Setup
python -m venv .venv
.venv/Scripts/activate # or `source .venv/bin/activate` on Linux/macOS
pip install -e ".[dev]"Скопируйте config.example.oml в config.oml и укажите [[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
Usage
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/ и игнорируются Git. Причину, по которой корпус никогда нельзя распространять, экспортироваться или синхронизroвть, см. в PRD §12.
Geval/questions.json/ также входит в gitignore. Реальные вопросы основаны на том, что вы действитéльно ипроеслировали, и can contain internal content. Скопируйте eval/questions.example.jsonвeval/questions.jsonи запоните его парами{"query": ..., "section_id": ...} из вашего корпуса (знаачения section_id бер состои из вывода docsrag search).
Tests
pytestThis server cannot be deployed
Maintenance
Related MCP Connectors
Search and query nTop's knowledge base and engineering guides from AI applications.
Retrieve information from the Medusa documentation to assist you with your Medusa development.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Read-only search and Markdown pages from the OpenPlanr docs, for coding agents.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to enhance their responses with relevant documentation through a semantic vector search, offering tools for managing and processing documentation efficiently.10 npm65MIT
- FlicenseNot gradedqualityFmaintenanceProvides curated documentation access via the Gemini API, enabling users to query and interact with technical docs effectively by overcoming context and search limitations.14-
- AlicenseAqualityDmaintenanceProvides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.710 npm1MIT
- FlicenseAqualityNot gradedmaintenanceExposes an internal engineering knowledge base to AI assistants, allowing users to search and retrieve standards, runbooks, and architecture decisions. It supports RAG-enhanced search, document scraping, and specialized prompts for incident investigation and code reviews.5-