Markdown Notes as a Graph, Not a Folder Tree
It turns a folder of markdown files into a knowledge graph you browse in your editor and your AI queries via MCP.
What it does
IWE reads a local directory of .md files and treats the links between them as a graph structure rather than a folder hierarchy. It exposes this structure through a real LSP server for editors like VS Code, Neovim, Zed, and Helix, and through an MCP server and CLI for AI agents. The result is the same notes readable in any text editor, but navigable as a connected web with search, refactor, and rename operations that update links automatically.
The interesting bit
The project distinguishes between “inclusion links” on their own line—defining a parent-child tree—and regular inline cross-references, allowing a single note to belong to multiple topics without duplication. When an AI agent retrieves a note, IWE can include context from its ancestors in the hierarchy, so the agent gets the surrounding topic, not just the file.
Key highlights
- Runs fully offline on local files; no cloud, no database, no proprietary format
- Real LSP integration with autocomplete, go-to-definition, backlinks, and inlay hints
- MCP server (
iwec) exposes notes to compatible AI tools like Claude Desktop and Cursor - CLI supports fuzzy search, tree browsing, squashing subtrees, and automated refactoring
- Built in Rust; the README claims it processes 20,000 files in under a second
Verdict
Worth a look if you maintain a large personal knowledge base in Markdown and want your editor and AI tools to share a single, structured view of it. Skip it if you’re happy with flat folders or already locked into a proprietary note-taking app.
Frequently asked
- What is iwe-org/iwe?
- It turns a folder of markdown files into a knowledge graph you browse in your editor and your AI queries via MCP.
- Is iwe open source?
- Yes — iwe-org/iwe is open source, released under the Apache-2.0 license.
- What language is iwe written in?
- iwe-org/iwe is primarily written in Rust.
- How popular is iwe?
- iwe-org/iwe has 1.3k stars on GitHub and is currently cooling off.
- Where can I find iwe?
- iwe-org/iwe is on GitHub at https://github.com/iwe-org/iwe.