vibescience-mcp
A scientific experiment log MCP server for AI agents that stores predictions, causal claims, and verdicts, enabling queryable causal maps and calibration of intuition over diagnostics.
README
vibescience-mcp
A scientific experiment log (MCP server) for an AI coding/research agent working on ML projects.
It is not a lab notebook and not Weights & Biases. It stores reasoning and causal claims, not training curves, and defines "confirmed" as agreement between a prediction committed before the test and the effect observed after, on a fixed diagnostic basis. That makes your log a queryable causal map ("which interventions move which diagnostics, in which direction, how often") plus a calibration signal on your own intuition.
Markdown files are the source of truth → open vault/ in Obsidian for graph view, backlinks and tag panels for free. The SQLite index is disposable and rebuilt from markdown at any time.
Why it's different
| lab notebook | W&B / MLflow | vibescience | |
|---|---|---|---|
| stores | free-text notes | loss curves, metrics | predictions, verdicts, causal claims |
| "confirmed" means | you say so | — | predicted direction == observed direction (computed) |
| negative results | buried | buried | first-class, ranked to the top of recall |
| cross-experiment view | none | per-run dashboards | aggregated causal map + calibration |
Install
cd vibescience-mcp
python -m venv .venv && . .venv/bin/activate
pip install -e . # add ".[embeddings]" for optional semantic recall, ".[dev]" for tests
Configure in Claude Code / Cursor / Desktop
The server speaks stdio. Point your MCP client at it and set the vault path:
{
"mcpServers": {
"vibescience": {
"command": "/root/vibescience-mcp/.venv/bin/python",
"args": ["-m", "vibescience_mcp.server"],
"env": {
"VIBESCIENCE_VAULT": "/root/vibescience-vault",
"VIBESCIENCE_EMBEDDINGS": "off"
}
}
}
}
Or via the Claude Code CLI:
claude mcp add vibescience -e VIBESCIENCE_VAULT=/root/vibescience-vault \
-- /root/vibescience-mcp/.venv/bin/python -m vibescience_mcp.server
The scientific loop (enforced by tool descriptions)
recall— always first (pre-mortem gate). Refuted/inconclusive matches rank to the top, each with a one-line failure reason and the diagnostic delta that killed it. Never re-walk a dead end.create_problem— frame the open question / failure mode.register_diagnostic/register_intervention— diagnostics are a fixed, comparable basis, not free text. Adding one is deliberate.propose_hypothesis— requires ≥1predicted_effecton a registered diagnostic before testing. The first is the primary prediction the verdict keys off. No prediction → rejected.start_experiment— auto-capturesbranch@shortshafrom git HEAD if you omitgit_ref. References an external W&B/MLflow run; never stores curves.record_diagnostics— before/after per diagnostic; deltas/directions derived.close_experiment— computesobserved_effects,prediction_match(per-diagnostic + overall) and theverdict(supports/refutes/inconclusive), propagates status to the hypothesis, and suggests (never performs) a commit on a positive match.
Then query your own work:
causal_map(problem_id | tag)— aggregatedintervention → Δdiagnosticsubgraph. Optional Obsidian.canvasoutput.calibration(diagnostic_id | tag | intervention_id)— fraction of predictions that matched observation. Where is your intuition wrong?reindex()— rebuild the SQLite index from markdown (idempotent).
A vibescience://guide resource ships the same workflow to any agent.
Storage layout
vault/
problems/ hypotheses/ experiments/
diagnostics/ interventions/ papers/
_canvas/ # generated Obsidian canvases
.index.sqlite # disposable — rebuilt from markdown by reindex()
Each entity is one markdown file: YAML frontmatter for structured fields, body for prose + [[wikilinks]]. Fully Obsidian-compatible.
Env vars
| var | default | meaning |
|---|---|---|
VIBESCIENCE_VAULT |
~/vibescience-vault |
vault path (source of truth) |
VIBESCIENCE_EMBEDDINGS |
off |
on enables local FastEmbed semantic recall (Phase 2 scaffold) |
Bundled workflow skill
skills/vibescience-mcp-workflow/SKILL.md ships the battle-tested procedure for
running the full loop: pair deep research (perplexity_research) + the
arxiv MCP with a real, verdict-computed experiment cycle, then dogfood it
into the vault. It encodes the hard-won pitfalls (research timeouts, making an
experiment able to refute, semi-synthetic precision protocols on unlabeled
prod data, the opt-in-vs-blanket deployment guardrail). Load it into any
Hermes/Claude session with skill_view(name='vibescience-mcp-workflow'), or read
it directly — it is plain markdown.
Tests
pip install -e ".[dev]"
pytest -q # 24 tests: verdict math, prediction gate, full loop,
# negative-result ranking, causal_map, calibration,
# index rebuild, Obsidian compat, MCP stdio smoke test
Phasing
- Phase 1 (this): schema + lifecycle +
recall+causal_map+calibrationover markdown, SQLite index, Obsidian compatibility. - Phase 2 (scaffolded, not built): hold papers in context — fetch arXiv full text, chunk, embed, and let
recallpull relevant passages in. ThePaperschema is ready.
Non-goals: custom graph visualization (Obsidian does it), web UI, autonomous experiment execution, raw metric-curve storage (reference W&B/MLflow), auto-committing to git.
License
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 模型以安全和受控的方式获取实时的网络信息。