Agent♥︎Age
Catalog

io.github.SaravananJaichandar/world-model-mcp

Official

by SaravananJaichandar · Python

Temporal knowledge graph for codebases with constraint enforcement at the edit boundary.

World Model MCP is a temporal knowledge graph server that enforces constraints at edit boundaries for codebases. It validates code changes against learned constraints, re-injects relevant context after compaction, and tracks contradictions with confidence-weighted resolution to support robust code reasoning.

🛠️ Key Features

  • Temporal knowledge graph for codebases
  • Constraint enforcement at edit boundary
  • Context re-injection after compaction
  • Contradiction tracking with confidence weighting
  • Provenance and context-graph tooling

🚀 Use Cases

  • Maintain codebase integrity during rapid edits
  • Enforce coding constraints in AI-assisted workflows
  • Rehydrate context after prompt compaction for agents
  • Validate changes against learned constraints in real time

⚡ Developer Benefits

  • Grounded context for code-generation agents
  • Reduced hallucinations and invalid API usage
  • Easy integration with MCP-server workflows
  • Clear provenance for code changes and decisions

⚠️ Limitations

  • Requires accurate learned constraints to avoid false positives
  • May incur overhead for large graphs during edits
  • Depends on proper context re-injection timing to stay in sync

Topics

ai-codingclaude-codeknowledge-graphmcp-servercontext-graphsclinecodexcontinuecopilotcursortemporal-graphadversarial-verificationmcpprovenancewindsurfaudit-logbuzzgoosenostrpost-quantum
io.github.SaravananJaichandar/world-model-mcp - agentage MCP Catalog