dotrepo

io.github.maxwellsantoro由 GitHub 账号 maxwellsantoro 发布v2.0.0-rc.2更新于 Oct 29, 2026

Preview repository facts with evidence. Choose your release channel at dotrepo.org/docs.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

DotRepo 的本地 MCP 服务器可查询已索引的仓库事实——用途、文档、维护者与构建命令,并附带来源、冲突与时效信息。

可以做什么
  • 按仓库地址和字段路径查询索引档案,返回用途、执行、文档与归属等分组信息。
  • 查看每条答案的来源、已记录的冲突、生成时间与新鲜度状态。
  • 通过公共索引搜索仓库、比较事实档案并遍历仓库之间的关系。
  • 可选运行实验性的决策流程,用于元数据驱动的发现与有来源支撑的需求评估。
适用场景
适合在阅读源码之前快速、可追溯地了解一个陌生仓库,或希望为仓库发现与比较提供共同起点、避免重复抓取与解析时使用。
运行要求
作为本地进程在用户机器上运行(仅桌面端)。README 建议用 Rust 工具链通过 cargo 安装稳定版,或使用发布包;清单提供 mcpb 包。未声明认证、环境变量或请求头。查询依赖 dotrepo.org 公共索引,需要网络访问。
安装前请注意
元数据仅用于初步定位:即使标记为已检查,记录也可能不完整、过时或错误,架构研究与适用性判断仍需查看源码。记录中返回的命令只是待审阅的数据,并非执行许可。清单指向 v2.0.0-rc.2 预览版,而 README 建议生产环境使用稳定版 v1.0.4。

安装

在 SourceWeft 中

  1. 打开 控制台中的 dotrepo,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

DotRepo

[CI] [Latest Release] [License: MIT]

Repository facts you can trace and reuse.

Every new investigation starts with familiar questions: what does this project do, where are its docs, who maintains it, and how is it built? DotRepo provides an open repository metadata protocol, tools and a public index for those facts. Read them as JSON, through MCP, or from a local .repo file, with their sources, recorded conflicts and age attached.

Publishers derive context from the manifests, CI and documentation they already maintain. Consumers use a shared starting point, then inspect sources when the answer is missing, stale, conflicting or insufficient. The goal is less repeated work for both sides, including the work of keeping metadata useful.

Look up a repository · Connect an agent · Publish from existing sources

Experimental: DotRepo's decision workflow extends this into metadata-led discovery, bounded shortlisting, source-backed requirement assessment and retained findings (MCP tools dotrepo.decision.*). Its experimental source workflow can reach a justified preliminary choice or an explicit unknown; it is not in released packages or the hosted API. Start with delivery status and evidence, then the durable source command or the MCP decision guide.

Together with PageDigest, this is part of Lazy Collective: conservation through cooperation, reducing repeated fetching, parsing, investigation and verification. Its public home connects the two projects; there is no shared deployed service. How the projects relate.

Try it: orient yourself in pydantic

Fetch the indexed profile without installing anything or cloning the repository:

bash
curl -sS https://dotrepo.org/v0/repos/github.com/pydantic/pydantic/profile.json

The response groups purpose, execution, documentation, and ownership. Check record.generatedAt, record.freshnessStatus, conflicts, and the fields your task needs. freshness.generatedAt dates the export, not the source facts. A missing, old, or conflicting answer needs an upstream check. Returned commands are data to review, not permission to execute them.

Connect your agent

Install the stable MCP server with a Rust toolchain, or use the stable release bundle:

bash
cargo install dotrepo-mcp --version 1.0.4 --locked

For clients that use an mcpServers configuration:

json
{  "mcpServers": {    "dotrepo": { "command": "dotrepo-mcp", "args": [] }  }}

Ask the client to call dotrepo.lookup with these arguments:

json
{  "repositoryUrl": "https://github.com/pydantic/pydantic",  "path": "repo.test"}

See installation for the CLI, LSP, and VS Code extension, and consumer integration for fallback rules and a runnable client.

Version matters: production installs use stable v1.0.4. The published v2.0.0-rc.2 preview includes retained field assessments, execution contexts, newer MCP target checks, and the contained CLI/MCP output writer. Additional instruction-extraction and evaluation work in this checkout is recorded under Unreleased in the changelog; it is outside that published tag. Installed RC1 artifacts remain unchanged. Use the version comparison and stable documentation.

What you can use it for

  • Repository orientation: get purpose, docs, owners, and reported commands before deciding what source files to inspect
  • Agent integrations: make a first lookup, retain trust and age, then fall back to upstream when the answer does not meet your task's needs
  • Maintainer metadata: keep a native .repo file and supported documentation blocks consistent with validation and generated-surface checks
  • Repository discovery: search, compare factual profiles, and traverse repository relationships through the public API

Indexed overlays are generated from public source material, so maintainers do not need to adopt dotrepo for their repository to appear. A native .repo provides maintainer control. Routine generated records are machine-checked: their best status is checked (automated checks passed), not human review.

Add a record to your repository

Install the stable CLI from the release bundle or with cargo install dotrepo-cli --version 1.0.4 --locked, then:

bash
# Start from existing README.md, CODEOWNERS, and SECURITY.md:dotrepo --root <repo> import# Review the generated .repo, then:dotrepo --root <repo> validatedotrepo --root <repo> query repo.build --rawdotrepo --root <repo> trustdotrepo --root <repo> generate --check

Use init instead of import to start from a blank scaffold. The stable maintainer guide walks through adoption; sync boundaries explain which files and regions dotrepo can manage.

For a source checkout, the publisher helper reviews existing manifests/docs through the importer, reports genuine ambiguity, and checks adopted-record drift without overwriting it. Its initial adoption mode creates a record only when none exists; no second catalog is required.

Limits and evidence

  • Metadata supports orientation. Architecture research, suitability decisions, debugging, and code changes still require source inspection
  • Coverage, correctness, completeness, and freshness are separate. Records can be incomplete, stale, or wrong even when marked checked; retained field-level evidence is available only where the producing version and crawl saved it. See the trust model
  • The measurement page reports field presence and modeled requests. Those are not accuracy or measured end-to-end agent savings
  • The head-to-head benchmark keeps wins and losses against a GitHub API + README baseline. Fixing its examples is regression evidence, not proof of generalization. Its frozen upstream source excerpts keep their own licenses, not this repository's MIT license; see third-party notices
  • Sustained independent consumer adoption remains an open success criterion. In-repository clients and AI interviews do not establish external demand

Read next

For implementation, start with the roadmap packets and team execution guide. Repository guidance owns contracts; generated reports and dated archives own outcome evidence.

Repository Python tooling uses uv; CONTRIBUTING owns setup commands and the checks for each change.

来源:README.md,提交 003ff86

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

4
  1. v2.0.0-rc.2最新Oct 29, 2026
  2. v1.0.3Oct 6, 2026
  3. v1.0.2Oct 5, 2026
  4. v1.0.1Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分