World Model Mcp Claude Code Starter
БесплатноНе проверенCloneable Python starter showing world-model-mcp memory layer working in Claude Code. 5 seeded constraints, 1 bug-fix reflection, FastAPI demo app.
Описание
Cloneable Python starter showing world-model-mcp memory layer working in Claude Code. 5 seeded constraints, 1 bug-fix reflection, FastAPI demo app.
README
A cloneable, immediately-usable reference showing how to wire world-model-mcp into a real Python project running under Claude Code.
Fork this, install, and see the memory layer catch a constraint violation on your first edit.
What you get in 60 seconds
- 5 learned constraints already in the graph, enforced at PreToolUse
- 1 bug-fix reflection already indexed, injected at PostCompact
- Working FastAPI + SQLAlchemy demo app
.mcp.json+.claude/settings.jsoncorrectly wired for Claude Code- Hooks capture every file edit, tool call, and session boundary
Quickstart
git clone https://github.com/SaravananJaichandar/world-model-mcp-claude-code-starter
cd world-model-mcp-claude-code-starter
pip install -r requirements.txt
world-model setup --no-prompt
python scripts/seed_starter_facts.py
Open the folder in Claude Code (the .mcp.json auto-registers the memory server). Try any of the workflows in docs/WHAT_TO_TRY.md.
What to try
The seeded facts make the memory layer visible on the first edit:
- Ask Claude Code to add a
print()statement inapp/main.py. Thelogger-not-printconstraint fires at PreToolUse. - Ask Claude Code to touch
app/auth.py. The timing-attackbug_fixreflection injects into context before the edit. - Ask Claude Code to add a new POST route. The
use-status-201-on-createconstraint validates the return status. - Ask Claude Code to add a
try: ... except:(bare except) somewhere. Theno-bare-exceptconstraint fires. - Ask Claude Code to write an async DB call without
await. Thealways-await-async-dbconstraint fires.
Full walkthrough in docs/WHAT_TO_TRY.md.
Repo layout
world-model-mcp-claude-code-starter/
├── .mcp.json # Claude Code MCP server registration
├── .claude/
│ ├── settings.json # PreToolUse / PostToolUse / PostCompact / SessionStart hooks
│ └── world-model/ # created by `world-model setup`; SQLite fact graph lives here
├── app/ # FastAPI + SQLAlchemy demo app
│ ├── main.py
│ ├── auth.py
│ ├── db.py
│ └── routes/{users,health}.py
├── tests/test_auth.py
├── scripts/seed_starter_facts.py
├── requirements.txt # pins world-model-mcp==0.12.13
└── docs/
├── SETUP.md # detailed install path
└── WHAT_TO_TRY.md # 5 concrete workflows
What NOT to expect
- Not a benchmark suite. For the contradiction-resolution and Coach-Player benchmarks see benchmarks/ in the main repo.
- Not a production reference. Auth is illustrative, not battle-tested. Do not deploy this app.
- Not the install path itself. This is a "here is what it looks like when configured correctly" showcase for developers evaluating whether the memory layer fits their workflow.
Getting help
- Main repo issues: https://github.com/SaravananJaichandar/world-model-mcp/issues
- Case study on how the memory layer catches its own bugs: v011-dogfooding/CASE_STUDY.md
- Run
world-model doctor --project-dir .if hooks are silently failing on your machine
License
MIT. Same as the main project.
from github.com/SaravananJaichandar/world-model-mcp-claude-code-starter
Установка World Model Mcp Claude Code Starter
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/SaravananJaichandar/world-model-mcp-claude-code-starterFAQ
World Model Mcp Claude Code Starter MCP бесплатный?
Да, World Model Mcp Claude Code Starter MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для World Model Mcp Claude Code Starter?
Нет, World Model Mcp Claude Code Starter работает без API-ключей и переменных окружения.
World Model Mcp Claude Code Starter — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить World Model Mcp Claude Code Starter в Claude Desktop, Claude Code или Cursor?
Открой World Model Mcp Claude Code Starter на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare World Model Mcp Claude Code Starter with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
