Angular文档语义搜索工具

通过MCP协议实现Angular文档的语义搜索服务,支持多版本文档检索和指标统计。

  • by Retch
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 Retch/remote-mcp-angular-documentation

使用说明

角度文档MCP

通过MCP协议对Angular文档进行语义搜索。

设置

# 1. Add docs to llms-full/{MAJOR}.txt

# 2. Start services
docker compose up -d

# 3. Import docs
docker compose exec angular-docs-ingestion uv run ingestion.py --version {MAJOR}

用法

  • MCP工具: search_docs(query, angular_major_version?) -搜索文档(版本可选,默认为配置的默认值)
  • 端点: GET /metrics -统计数据

配置

所有配置都在 config/settings.py。添加版本并将其映射到文档文件。