claimbase
Provides a compiled knowledge substrate, extracting atomic claims from an append-only capture log and querying a bitemporal claim graph over MCP. Read-only by default, with opt-in writes for trusted sources.
README
claimbase
Notes are a build artifact, not a source of truth.
A compiled knowledge substrate. The source of truth is an append-only capture log; a background compiler extracts atomic claims, tracks supersession, and emits a bitemporal claim graph that agents query over MCP. Nobody gardens.
The design is in DESIGN.md. What follows is what is actually built, and what the measurements say — including where they say it does not work.
Status: Phase 0, and honest about it
Compiled over the guru, guru-web and rellm repos — 3,287 events, 11,667 claims, 14,360 edges, from six adapters.
Against two baselines on nine gold questions:
| ripgrep | chunk-RAG | claims | |
|---|---|---|---|
| nDCG@10 | 0.229 | 0.500 | 0.679 |
| mislead-rate | 0.500 | 0.333 | 0.000 |
mislead-rate is the fraction of questions where a superseded record outranks
every correct one. It is the number this project exists to move; nDCG mostly measures
whether the thing was findable at all.
These rest on nine questions and ranking weights adjusted against them. That is fitting to noise as much as to signal. The two claims that survive scrutiny are categorical rather than marginal: the mislead-rate does not depend on weight magnitudes, and some answers are unreachable by search at any quality — see below.
An answer-level bench (same model, same turn budget, recall versus ripgrep + file
reads, blind judging) ran three times: claimbase 3/4/3 correct, ripgrep 1/1/1. The
gap is robust; differences between successive ranking versions are not measurable at
that sample size, which is why tuning stopped.
What it does that search cannot
Knows what stopped being true. A practice ends, eight documents go on describing it, and similarity gives the crowd the win. Ranking accounts for provenance, currency and whether a claim superseded others, so one correct claim can outrank eight stale ones — it wins with a lower cosine than the documents it beats.
Answers what was never written down. The sharpest failure in a real corpus is
not contradiction, it is silence: a practice abandoned with no record of the
abandonment. No compiler recovers that. assert captures it, and the answer becomes
reachable — in testing, ripgrep replied "the evidence does not contain any
information regarding..." to a question claimbase answered correctly.
Reads tables. A benchmark report is numbers, which carry almost no semantic signal; both baselines score 0.000 on metric questions. Compiled to claims, they become retrievable.
Design notes worth the detour
- The adapter seam — six adapters were written and
core/was never touched. An abstraction with one implementation is not one. - Trust tiers — adapters declare who authored a claim; core enforces what that
permits. Agent-written prose cannot become a
fact. Claims that outrun their trust are demoted rather than dropped, keeping the evidence and withholding the authority. - capability vs practice — a tool that still works but is no longer used has not been falsified. Conflating the two cost the same test score three times through three different rules before the label at the source was found to be wrong.
- findings.md — the running log, including every measurement that came out badly and several instruments that turned out to measure nothing.
Running it
docker compose up -d # postgres + pgvector on 5433
docker compose exec -T db psql -U claimbase -d claimbase -f /migrations/001_init.sql
python -m claimbase import # compile a corpus
python -m claimbase embed # vectors (needs ollama)
python -m claimbase supersede && python -m claimbase resolve
python -m claimbase recall "is auto-promote still the promotion path?"
Extraction needs a local model server; everything else needs Postgres and Ollama.
Corpora are declared in corpora/*.toml — named, and never derived from
the working directory.
For agent access see MCP.md. Read-only by default; writes are opt-in, because a false claim written to the graph misleads every later session.
Licence
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。