Your AI forgets. Pathrule remembers. The open-source knowledge layer for coding agents: path-scoped memories, rules and skills for Claude Code, Codex, Cursor, Copilot, Windsurf and any MCP client.
View on GitHub ↗Homepage ↗English · Español · Français · Deutsch · 日本語 · Italiano · Türkçe · Português (Brasil)
The open-source knowledge layer for coding agents. Pathrule keeps what your project has learned as memories, rules and skills scoped to paths in your code, and gives Claude Code, Codex, Cursor, GitHub Copilot and Windsurf only what the task in front of them needs, before they act.
PathruleBench, 2,000 items: 55% lower cost a chain · 2.7× fewer input tokens · 97% of memory probes passed · the numbers
Website · Docs · Quickstart · Benchmarks · Smarter over time · Changelog
Same request, same agent. On the right, Pathrule's hook hands over the three notes filed for apps/web/dashboard before the agent writes a line.
Works with Claude Code · Codex · Cursor · GitHub Copilot · Windsurf · any MCP client
Node.js 22.14.0 or newer, on macOS, Linux or Windows.
Restart your agent. From the next session on, it gets the notes for the path it is about to touch, and writes new ones as it works.
Other ways in Command Good for --- --- --- VS Code extension code --install-extension Pathrule.pathrule-vscode Knowledge beside the code. Marketplace and Open VSX. Claude Code / Codex plugin /plugin marketplace add pathrule/pathrule · codex plugin marketplace add pathrule/pathrule Installing from inside the agent. Setup shows a plan before it changes anything. Cursor plugin Cursor Marketplace → Pathrule The same hooks, MCP and skills inside Cursor. Gemini CLI / OpenCode plugin gemini extensions install https://github.com/pathrule/gemini-cli-extension · opencode plugin @pathrule/opencode --global The same set
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/pathrule--pathrule.html)
Coding agents are single-player: each session starts cold, in its own tool, blind to what the rest of the team already worked out. Motif makes your team's multiplayer — every Claude Code, Codex and Cu
Graphicle-AI/graphicleCode graph and memory for your coding agents, in one Rust program. For Claude Code, Codex, Cursor and any MCP client.
Koragraph/KoragraphMCPThe memory layer that gets better as you use it. What broke, why, what depended on what, even the "push this to Wednesday" kind of thing that never makes it into any doc. No one has to write it down.
00200200/usagetrimKeep the signal. Cut the noise. Local CLI + MCP — fold verbose tool output for Claude Code, Codex, Cursor & Desktop.
NiazMorshed2007/jev-reviewLocal-first MCP plugin for continuous software-quality review by AI coding agents, powered by Jev.
herry2059/project-os-for-codexOpen-source control plane for Codex projects: Git-backed context, visible agent progress, scoped MCP access, resumable work, and safe handoffs.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.