AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompare
Home/
Code Assistant/
world-model-mcp
world-model-mcp logo

world-model-mcp

Active·★ 24·MIT·Updated 2026-09-15

World Model MCP is a temporal knowledge graph designed to provide long-term memory and context for AI coding agents. It prevents hallucinations, stops repeated mistakes, and reduces regressions by validating code changes against learned constraints and re-injecting relevant context.

#AI Agent Memory#Temporal Knowledge Graph#Code Validation#Hallucination Prevention#Contradiction Resolution#LLM Context Management
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

Guides
#Developer Tooling
#Code Quality
$ Install
$ pip install world-model-mcp && cd /path/to/your/project && python -m world_model_server.cli setup
↗ Visit site★ GitHub
01

Features

01Prevent Hallucinations: Validates API/function references against known entities before use.
02Stop Repeated Mistakes: Learns constraints from corrections and applies them in future sessions.
03Reduce Regressions: Tracks bug fixes and warns when changes touch critical regions.
04Survive Compaction: Re-injects top constraints and recent facts after the agent's context window resets.
05Resolve Contradictions: Picks a winner between conflicting facts using confidence, recency, or source count.
02

Compatibility

Python
Runtime
Verified via docs
Claude Code
Agent
Verified via docs
Cursor
Agent
Verified via docs
Codex CLI
Agent
Verified via docs
pi
Agent
Verified via docs
OpenClaw
Agent
Verified via docs
03

Quick start

1
$ pip install world-model-mcp
2
$ cd /path/to/your/project
3
$ python -m world_model_server.cli setup
04

Use cases

↳Enhance AI coding agents (like Claude Code, Cursor, Continue) with a persistent, harness-neutral memory layer to improve code quality.
↳Automate code validation and linting based on project-specific rules and learned patterns, reducing developer effort in code review.
↳Prevent the re-introduction of previously fixed bugs and enforce architectural constraints across development sessions.
↳Manage and track factual information about a codebase over time, enabling temporal queries and evidence-based reasoning.
↳Deploy self-hosted memory for agents in cloud environments (e.g., Claude Managed Agents) using HTTP transport.
05

Alternatives

⚡Top VS:
VSdocs-mcp★125→VScode-graph-mcp★85→VSrepotracer★38→

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
VS
selvedge
★25
→
docs-mcp logo
docs-mcp★ 125
Add real-time chat, voice, video, and moderation to your app: Cursor's agent reads CometChat documentation, fetches reference pages, and pulls curated implementation bundles for React, React Native, Flutter, iOS, Android, the JavaScript SDK, the no-code widget, moderation, multi-tenant chat, and presence.
VSCompare→
code-graph-mcp logo
code-graph-mcp★ 85
AST knowledge graph MCP server for Claude Code — semantic search, call graph traversal, HTTP route tracing, impact analysis. Auto-indexes 10 languages via Tree-sitter.
VSCompare→
repotracer logo
repotracer★ 38
Make your Codex subscription last up to 2.7x longer. Search with Luna, code with Sol. Native MCP server for OpenAI Codex.
VSCompare→
selvedge logo
selvedge★ 25
Long-term memory for AI-coded codebases. A git blame for AI agents — but for the why. MCP server that captures the agent's reasoning live, in context, as each change is made. Local SQLite, zero deps.
VSCompare→
projectmem logo
projectmem★ 868
Local-first AI coding memory for AI agents. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.
VSCompare→
Trail-Code logo
Trail-Code★ 10.7k
Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.
VSCompare→
kiln logo
kiln★ 291
Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.
VSCompare→
hounddog logo
hounddog★ 131
Privacy Code Scanner and Dataflow Context Engine for AI coding agents
VSCompare→
See all alternatives →
SaravananJaichandar /
world-model-mcp
↗

A production-ready MCP server that builds a world model for codebases, preventing hallucinations, repeated mistakes, and regressions in Claude Code.

24MIT
Last commit1mo ago
StatusActive
CategoryCode Assistant
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit