IWE (iwe.md)

Productivity and workflowMemory and knowledge

Markdown knowledge base as agent memory. Runs against the notes directory it is started in.

Your AI app calls the IWE (iwe.md) MCP server, which does the productivity and workflow and memory and knowledge work and sends the result back to the chat.

About IWE (iwe.md)

IWE (iwe.md) is a community MCP server from iwe-org, filed in our directory under productivity and workflow and memory and knowledge. Markdown knowledge base as agent memory. Runs against the notes directory it is started in.

IWE (iwe.md) runs on your own machine: your AI app starts it with the command npx -y @iwe-org/mcp@0.37.0 and talks to it over standard input and output.

IWE (iwe.md) is listed in the official MCP registry as io.github.iwe-org/iwe, version 0.37.0.

At a glance

Publisher
iwe-org (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @iwe-org/mcp
Written in
Rust
License
Apache-2.0
GitHub stars
1,859
Official MCP registry
io.github.iwe-org/iwe

How to set up IWE (iwe.md)

  1. Install Node.js on the machine that runs your AI app, because IWE (iwe.md) starts with npx and downloads its package on first run.
  2. Check the IWE (iwe.md) README for keys or settings; the registry lists none that IWE (iwe.md) requires.
  3. Add IWE (iwe.md) to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the IWE (iwe.md) tools to confirm the connection.
  5. Run one read-only task with IWE (iwe.md) first, and keep your app asking before each tool call until the results look right.

IWE (iwe.md) compared with similar servers

  • SoloMD by zhitongblog has fewer GitHub stars than IWE (iwe.md) (1.8k against 1.9k); both are community servers, and both run locally.
  • OpenAdaptAI Agent by OpenAdaptAI has more GitHub stars than IWE (iwe.md) (1.9k against 1.9k); both are community servers, and both run locally.
  • Mcpvault by bitbonsai has fewer GitHub stars than IWE (iwe.md) (1.7k against 1.9k); both are community servers, and both run locally.

Before you connect IWE (iwe.md)

  • Give IWE (iwe.md) its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each IWE (iwe.md) tool call until you trust what it does with them.
  • Treat text that IWE (iwe.md) fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for IWE (iwe.md) on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for IWE (iwe.md)

How marketing and sales teams put IWE (iwe.md) to work, by company size. Pick the size closest to yours and start IWE (iwe.md) on one use case.

Small business

  • A busy owner can use IWE (iwe.md) to turn a brain dump into tasks with due dates, and get a short list of what matters today.
  • Small marketing teams can ask IWE (iwe.md) what slipped last week and which campaign tasks have no owner yet.
  • A small business can give IWE (iwe.md) its offers, FAQs and tone of voice once, so every draft starts from the same facts.
  • IWE (iwe.md) runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can connect IWE (iwe.md) to build launch checklists from a template and post status updates without a weekly meeting.
  • Team leads can use IWE (iwe.md) to see where work piles up across projects and move it before deadlines slip.
  • Marketing teams can connect IWE (iwe.md) to positioning docs and past campaigns, so agents write on message without a long prompt each time.
  • Start IWE (iwe.md) on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise PMOs can use IWE (iwe.md) to roll up status across many teams into one view for leadership, with links back to each source task.
  • Large orgs can give IWE (iwe.md) scoped access per workspace, so an agent helps one department without reading another's plans.
  • Enterprises can use IWE (iwe.md) with permissions that follow the source documents, so an agent only recalls what the person asking may see.
  • IWE (iwe.md) is a community server, so have security review the code and pin a version before IWE (iwe.md) touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

IWE (iwe.md) README

From iwe-org/iwe on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

IWE: a Markdown knowledge graph for you and your AI agents

IWE turns a folder of Markdown files into a knowledge graph. You browse and refactor it from your editor through an LSP server, and your AI agent queries it through a CLI and an MCP server. Same files, same links. It is written in Rust and needs no database, no cloud and no account.

It 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.

Quick start · How it works · Editor · CLI · AI agents · Mac app · Templates · Comparison · iwe.md

English · 简体中文 · 한국어 · 日本語 · Deutsch

$ iwe find --lexical "rename" --limit 2
- [IWE Rename](cli-rename) -> [Inclusion Links](inclusion-links) <- [How to Use in Command Line](cli), [Files Renaming](feature-renaming)
- [Files Renaming](feature-renaming) -> [IWE Rename](cli-rename) <- [IWE](index)

$ iwe tree -k index
- [IWE](index)
  - [Architecture](architecture)
    - [Benchmark](benchmark)
    - [Data Model](data-model)
    - [Keys and Cross-References](keys)
  - [How to Use in Command Line](cli)
  ...

$ iwe retrieve -k feature-renaming
````markdown #feature-renaming
---
title: Files Renaming
includedBy:
- key: index
  title: IWE
  sectionPath:
  - Features
---

# Files Renaming
...

Output from this repository's own docs/ folder, shortened where marked .... A search hit comes back with what it links to (->) and what links to it (<-); a retrieved note comes back with where it sits in the graph.

Quick start

brew install iwe-org/iwe/iwe

Also on npm (npm install -g @iwe-org/iwe) and Cargo (cargo install iwe iwes iwec); see the installation guide.

Then, in a folder that already has Markdown files:

iwe init
iwe find
iwe tree

From here, set up your editor, connect your agent, or both.

If IWE is useful to you, a star helps other people find it.

How it works

IWE treats your notes as a connected structure built from two kinds of links:

  • Nesting. A link on its own line means "this topic includes that subtopic". Your notes form a tree you can browse and refactor. IWE calls these inclusion links.
  • Cross-references. Regular inline links connect notes across topics.
  • Multiple parents. The same note can live under several places at once. A "Meditation" note can belong to both "Health" and "Productivity" without duplicating the file.
  • Context from parents. When you retrieve a note, IWE can include context from the notes above it in the hierarchy.

IWE's own documentation: the 52 documents under its index and their 720 sections, exported with iwe export and laid out by Graphviz. Draw your own.

What you get:

  • Plain Markdown, full ownership. Your notes are .md files in a local directory. Read them, edit them, git push them.
  • Retrieval by structure, not similarity guessing. Fuzzy and full-text search find the entry point; the graph turns a hit into usable context: parents, children, cross-references.
  • Refactoring that keeps links intact. Rename, extract, inline and delete update every reference.
  • Checked writes. Frontmatter and document structure are validated against per-type document schemas, and an edit can declare how many documents and blocks it may touch, so a mismatch aborts before anything is written.
  • Fast. The graph for 20,000 notes builds in under a second on a laptop (benchmark).
  • No built-in AI. IWE works on its own as a tool for your notes. When you want AI help, it works alongside the agent you already use.

How it differs from marksman, markdown-oxide, Obsidian and zk, including where IWE is weaker: How IWE compares.

In your editor

IWE gives your editor IDE-like features for Markdown notes. It works with Neovim, Helix, VS Code, Zed, and any editor that supports the Language Server Protocol.

  • Navigate. Go to definition, find references (backlinks), search notes by title or content.
  • Rename. Rename a file and every link to it is updated.
  • Extract and inline. Pull a section into a new note, or embed a note back into its parent.
  • Auto-complete and hover. Link suggestions as you type, previews on hover.
  • Inlay hints. Parent references and link counts shown in place.
  • Format. Normalize documents, update link titles, convert between headers and lists.

Editor plugins: iwe.nvim · vscode-iwe · zed-iwe

CLI

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, with workflow examples in this repository.

AI agents

The same notes work with Claude Code, Claude Desktop, Codex, Gemini, Cursor, and any tool that supports the Model Context Protocol.

Claude Code, install the plugin, then run /iwe:init in any project you want remembered:

/plugin marketplace add iwe-org/skills
/plugin install iwe@iwe-org
/iwe:init

Any MCP agent, point it at the MCP server. iwec serves the directory it runs in, so set the working directory to your notes:

{
  "mcpServers": {
    "iwe": {
      "command": "iwec",
      "cwd": "~/notes"
    }
  }
}

Without installing anything, npx fetches the server on demand: use "command": "npx" with "args": ["-y", "@iwe-org/mcp"]. More in the agent connection guide.

Or let the agent set itself up, paste this into any agent that can run commands:

Set up IWE for my notes: install it (brew install iwe-org/iwe/iwe,
npm install -g @iwe-org/iwe, or cargo install iwe iwes iwec), run `iwe init`
in my notes directory, then add the `iwec` MCP server with its working
directory set to that folder.
Docs: https://iwe.md/docs/agentic/

iWe for Mac

iWe is a free native Mac app for the same folder of Markdown: a native SwiftUI editor, no Electron, built on the same Rust engine as the CLI. Open a folder of notes and you get a keyboard-driven space to write and browse, with your existing Claude Code or Codex agent editing the document in front of you. Your editor and other tools keep working on the same files.

Download the DMG from iwe.md → · free · macOS 15 or later · no account

  • Works with the agent you already have. Ask about your notes, or have the agent draft and reorganize them. Its edits appear in the document as it works.
  • One undo step per agent run. Try an idea, and roll it back if you don't like it.
  • Keyboard first. Optional Vim keys, search in a few keystrokes, jumps between related notes, Mermaid diagrams rendered in the document.

Your agent, writing in the page (2 min), Claude Code tightens a paragraph, writes a new section, then adds a chart of the open bugs that redraws as each bug changes stage.

https://github.com/user-attachments/assets/e57763df-46c9-4aea-92a2-ddd0d1010091

Vim keys for your notes (2 min), Move block by block, follow links, search, cut and paste bullets, undo and redo, all without leaving the keyboard.

https://github.com/user-attachments/assets/c3edd2cb-4b7c-4f68-9eda-58aa740c1b23

More screenshots, and both videos with captions, on iwe.md →

Workspace templates

A template is the starting content of a whole workspace: documents, schemas, the workspace config, and the instructions and skills your agent runs with. Each one is an ordinary repository of Markdown you can read before you use it.

  • Dev Workspace, a knowledge base for a software project, kept by your coding agent: product, specs, plans, bugs, releases and learnings as a graph.
  • Marketing Workspace, campaign memory for a marketing agent: 67 launch venues, a CRM, posts, replies and leads.
  • Seventeen Centuries, Marcus Aurelius, Machiavelli and Nietzsche as one graph: 843 passages and 331 concepts, 42 of them traced through all three books.

To use one, clone its repository and work in that folder with the CLI or your editor, or pick it in iWe for Mac under File ▸ New Workspace from Template…. More templates, and how to submit your own, are in the template registry.

Get involved

Projects already build on IWE, as an agent-memory backend and as the graph layer of other tools: see the running list, and add yours so we know what not to break. The CLI and the MCP server are the supported ways to integrate today.

Questions, rough edges and examples of how you use it are welcome in Discussions. You can also report a bug or help improve the documentation (github.com/iwe-org/iwe/blob/master/docs).

Community: Twitter/X · Reddit · Discussions

License

Apache License 2.0

Questions about IWE (iwe.md)

What is the IWE (iwe.md) MCP server?

Markdown knowledge base as agent memory. Runs against the notes directory it is started in. IWE (iwe.md) is maintained by iwe-org on GitHub at iwe-org/iwe, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the IWE (iwe.md) MCP server?

Add IWE (iwe.md) to your AI app's MCP config with the command npx -y @iwe-org/mcp@0.37.0. In Claude Code, run claude mcp add --transport stdio iwe -- npx -y @iwe-org/mcp@0.37.0. To run IWE (iwe.md) this way you need Node.js installed.

Does IWE (iwe.md) need an API key?

The registry lists no required keys for IWE (iwe.md). Check the IWE (iwe.md) README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is IWE (iwe.md) an official MCP server?

No. IWE (iwe.md) is a community server maintained by iwe-org. Community servers can be excellent; read the code and the open issues before you give IWE (iwe.md) access to company data.

What license is IWE (iwe.md) under?

IWE (iwe.md) is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of IWE (iwe.md); the service it connects to has its own terms.