IWE

IWE

iwec gives AI agents structured access to your Markdown notes as a knowledge graph instead of a pile of files. Agents search, retrieve, traverse, and refactor your notes by structure and links — not blind text similarity — working from the same plain .md files you edit by hand. No database, no cloud, no lock-in.

Category
访问服务器

README

IWE — Turn your thinking into queryable context

A markdown knowledge graph for you and your AI agent.

Crates.io Downloads License Build Documentation Discussions Twitter Reddit

Knowledge Graph

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.

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.

What You Get

  • Plain markdown, full ownership. Your notes are .md files in a local directory. Read them, edit them, git push them. Nothing proprietary.
  • A graph, not a folder tree. Link notes together and the same note can belong to multiple topics without copying the file. (How linking works)
  • IDE features for your editor. Real LSP integration with VS Code, Neovim, Zed, and Helix — search, refactor, rename, autocomplete.
  • Structured access for AI agents. CLI tools and an MCP server let agents search, retrieve, and refactor the same notes you edit by hand.
  • Fast. Built in Rust, processes 20,000 files in under a second.

How It Works

IWE treats your notes as a connected structure. You organize them with two types 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, creating a web of relationships.
  • 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.

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.

Working with AI

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.

Integration Server (MCP)

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.

Command-Line Tools

The CLI lets you (and AI agents) work with your notes from the terminal or in scripts.

Example: preparing context for an AI conversation

iwe find auth

iwe retrieve --key authentication --depth 2

iwe tree --key oauth

Available commands:

Command What it does
find Search notes with fuzzy matching
retrieve Get a note with its children and parent context
tree Show the hierarchy from any starting point
squash Flatten a subtree into one document
new Create a note (accepts content from stdin)
extract Pull a section into its own note
inline Merge a linked note back into its parent
rename Rename a note; all links update automatically
delete Remove a note and clean up references

More information: Working with AI · CLI Reference · MCP Server

Editor Integration

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

  • Search — find notes by title or content
  • Navigate — go to definition, find references (backlinks)
  • Preview — hover over links to see content
  • Auto-complete — link suggestions as you type
  • Inlay hints — show parent references and link counts
  • Extract — pull sections into new notes
  • Inline — embed note content back into parent
  • Rename — rename files with automatic link updates
  • Format — normalize documents, update link titles
  • Transform — pipe text through external commands
  • Templates — create notes from templates (daily notes, etc.)
  • Outline conversion — switch between headers and lists

More information: Editor Features

Quick Start

  1. Install the CLI and LSP server:

    Using Homebrew (macOS/Linux):

    brew tap iwe-org/iwe
    brew install iwe
    

    Or using Cargo:

    cargo install iwe iwes iwec
    
  2. Initialize your workspace:

    cd ~/notes
    iwe init
    
  3. Pick your path:

    Set up your editorVS Code · Neovim · Helix · Zed

    Connect your AI agent — point it at the MCP server:

    {
      "mcpServers": {
        "iwe": {
          "command": "iwec",
          "args": ["--project", "~/notes"]
        }
      }
    }
    

Documentation

Get Involved

IWE is open source and community-driven. Join the discussions, report issues, or contribute to the documentation.

Community: Twitter/X · Reddit · Discussions

Editor plugins: VS Code · Neovim · Zed

Agentic skills: iwe-org/skills — agentic AI skills for knowledge graph management. Contributors welcome.

License

Apache License 2.0

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选