Markdown knowledge base as agent memory. Runs against the notes directory it is started in.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Turn your thinking into queryable context
IWE turns a directory of markdown files into a knowledge graph β a connected structure you browse from your editor and your AI queries from the command line. Same files, same links, two interfaces. No cloud, no database, no lock-in. Version everything with git.
IWE is for people who want database-style queries on their notes β "all drafts under this subtree", "every accepted decision in Q1" β without moving them into an actual database. Write in Markdown, structure with links, give AI agents the tools to navigate your knowledge. IWE itself has no built-in AI β it works alongside Claude, Codex, Gemini, and any tool that speaks the Model Context Protocol.
.md files in a local directory. Read them, edit them, git push them. Nothing proprietary.iwe init --okf scaffolds a conformant bundle, iwe schema validate checks conformance mechanically, and iwe find --filter '{type: β¦}' queries OKF frontmatter directly.The hook is an iwe subcommand, so the plugin ships no runtime scripts β the only requirement is the IWE CLI (0.21.0 or newer) on your PATH.
Then, in the repository you want remembered:
Let the memory skills run the CLI β they run iwe and nothing else:
Without a MEMORY.md β or without the CLI installed β the session-start hook exits silently, so the plugin stays inert in every other repository. iwe init also offers to write the policy for you when it finds a .claude/ directory.
The plugin carries the graph skill too, giving the agent bounded, graph-aware routes for finding, retrieving, creating, and refactoring notes. All four skills reach Codex, Cursor, and OpenCode through the skills CLI, where they install as ordinary project skills (/init, /distill, /reflect, /graph):
Nothing reaches memory unselected: /iwe:distill proposes, you select, and only then is anything written.
More information: plugin repository
IWE treats your notes as a connected structure. You organize them with two types of links:
This structure makes retrieval powerful β whether you're browsing in your editor or an agent is querying via CLI, ask for a topic and get its full context in a single call.
IWE gives AI agents structured access to your notes through two interfaces: a CLI for scripting and shell-based workflows, and an MCP server for native connection with AI tools. Both expose the same operations β search, retrieve, create, refactor β so you can choose whichever fits your setup.
IWE pairs search with structure: built-in fuzzy and full-text search finds the entry point, and the graph turns a hit into usable context β parent context, children, cross-references, link-safe refactoring. It also composes cleanly with any external tooling you already use (ripgrep, full-text, vector): whatever finds the note, IWE supplies the context around it.
Agent writes are checked, not trusted:
expect guards stating how many documents and blocks it may touch. The whole update validates before anything is written; a mismatch aborts with the offending blocks named. Over MCP the guards are mandatory β an edit that won't declare its blast radius is refused.iwe schema validate runs the same checks on demand.iwe stats similarity flags near-duplicates.IWE includes a server (iwec) that lets AI tools like Claude Desktop, Cursor, and Windsurf work directly with your notes using the Model Context Protocol. The server watches your files for changes, so edits you make in your editor are reflected immediately.
The CLI lets you (and AI agents) work with your notes from the terminal or in scripts.
Example: preparing context for an AI conversation
Core commands:
| Command | What it does |
|---|---|
find | Search with fuzzy and full-text ranking, plus filters over frontmatter and graph edges |
retrieve | Get a document with its linked context in one call |
tree | Show the hierarchy from any starting point |
update | Guarded edits: frontmatter changes and targeted block operations |
schema | Infer the store's schemas, or validate documents against them |
The full set β new, extract, inline, rename, delete, squash, stats, normalize, export and more β is in the CLI Reference.
More information: Working with AI Β· CLI Reference Β· MCP Server
IWE gives your editor IDE-like features for markdown notes. It works with VS Code, Neovim, Zed, Helix, and any editor that supports the Language Server Protocol (LSP).
More information: Editor Features
Install the CLI and LSP server:
Using Homebrew (macOS/Linux):
Or using npm (macOS/Linux/Windows):
Or using Cargo:
Or from conda-forge (community-maintained β thanks, salim-b):
Initialize your workspace:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/iwe)<a href="https://allmcps.com/mcp/iwe"><img src="https://allmcps.com/api/badge/iwe?style=directory" alt="IWE on AllMCPs" /></a>