Pathrule maintains a path-indexed knowledge graph of team memories, rules, and skills that injects context into Claude Code, Cursor, Codex, and Windsurf before the first tool call. It exposes a typed MCP surface over stdio with read, write, suggest, and log operations, backed by a local cache that keeps hook latency in single-digit milliseconds. The routing layer walks from your current working directory up the workspace tree, so narrower path rules beat broader ones. Context gets pushed via PreToolUse and UserPromptSubmit hooks, not mid-conversation retrieval. Ships as a desktop app, web interface, and CLI runtime that share one cloud workspace, so the whole team sees the same rules without config drift across tools.
claude mcp add --transport http io.pathrule-pathrule-remote-mcp https://mcp.pathrule.io/mcp