شعار IWE

IWE

مؤسسةشائع
iwe-org

Markdown knowledge graph — LSP for your editor, CLI + MCP memory for your AI agents

الناشرiwe-org
المستودعiwe
اللغةRust
التفريعات
86
النجوم
1.7K
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الترخيصApache-2.0
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح IWE إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 1.7K، والنسخ المتفرعة: 86 في المستودع المرتبط.

IWE - Memory system for you and your AI agents

Turn your thinking into queryable context

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.

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.

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 give agents parent context and structural navigation over the same notes you edit by hand — retrieval by structure, not similarity guessing.
  • Memory for your coding agent. IWE Skills a set of extensions for Claude Code and other AI agents
  • A native Mac app. iWe for Mac opens the same folder as a keyboard-driven app with Claude Code built in — early version, DMG on the releases page.
  • Speaks OKF. An Open Knowledge Format bundle is markdown with YAML frontmatter — the format IWE already manages. iwe init --okf scaffolds a conformant bundle, iwe schema validate checks conformance mechanically, and iwe find --filter '{type: …}' queries OKF frontmatter directly.
  • 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.

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.

What the Engine Checks

Agent writes are checked, not trusted:

  • Declared scope. A mutation carries 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.
  • Schemas. Frontmatter and document structure are validated against per-type document schemas — required fields, enums, ISO dates, required sections. A schema-violating MCP write is rejected with the violation named; from the CLI, iwe schema validate runs the same checks on demand.
  • Graph hygiene. Mutations surface warnings for what they disturbed — dangling links, orphan pages — and iwe stats similarity flags near-duplicates.

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

bash
iwe find --fuzzy auth

iwe retrieve --key authentication --expand-includes 2

iwe tree --key oauth

Core commands:

CommandWhat it does
findSearch with fuzzy and full-text ranking, plus filters over frontmatter and graph edges
retrieveGet a document with its linked context in one call
treeShow the hierarchy from any starting point
updateGuarded edits: frontmatter changes and targeted block operations
schemaInfer 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

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

iWe for Mac (early version)

A native macOS app for the same folder of markdown. SwiftUI and AppKit over the same Rust engine the CLI uses — no Electron, no web view. It shows the folder as a graph you move through with the keyboard (vim keys, optional), renders Mermaid diagrams natively, runs the same query language as iwe find in its search and sidebar, and hosts Claude Code as its assistant: agent edits stream into the document block by block, one undo step per run.

This is an early version: expect rough edges, and keep your workspace in git so any surprise is reversible. Requires macOS 15 or later. Download the DMG from the releases page; the app keeps itself up to date from there. Feedback and bug reports go to the alpha discussion. Your editor keeps working on the same files — the app is one more way in, not a replacement.

Quick Start

  1. Install the CLI and LSP server:

    Using Homebrew (macOS/Linux):

    bash
    brew install iwe-org/iwe/iwe

    Or using npm (macOS/Linux/Windows):

    bash
    npm install -g @iwe-org/iwe

    Or using Cargo:

    bash
    cargo install iwe iwes iwec

    Or from conda-forge (community-maintained — thanks, salim-b):

    bash
    conda install -c conda-forge iwe
  2. Initialize your workspace:

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

    Set up your editor — VS Code · Neovim · Helix · Zed

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

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

    No install needed — npx fetches the server on demand:

    json
    {
      "mcpServers": {
        "iwe": {
          "command": "npx",
          "args": ["-y", "@iwe-org/mcp"],
          "cwd": "~/notes"
        }
      }
    }

    Give Claude Code memory — install the plugin, then run /iwe:init in the repository you want remembered:

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

    Or hand the setup to the agent — paste this into Claude Code or any agent with shell access:

    text
    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/

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

Workspace templates: marketing-workspace — campaign memory for a marketing agent · dev-workspace — project memory for a coding agent. Both ship as conformant OKF v0.2 bundles, validated in CI on every commit.

Agentic skills: iwe-org/skills — the Claude Code memory plugin and the skills for knowledge graph management, usable from any agent runtime. Contributors welcome.

Building on IWE: projects already embed IWE — as an agent-memory backend, as the graph layer of an LLM wiki engine, in research tooling. The practical integration surfaces today are the CLI and the MCP server; the liwe library is published but not yet API-stable, so pin your version if you build against it. A declared, stable integration surface is on the roadmap — if you're building on IWE, tell us what you depend on, so we know what not to break.

License

Apache License 2.0

التثبيت

TypingMind
{
  "mcpServers": {
    "iwe": {
      "command": "iwec",
      "args": []
    }
  }
}

استخدم MCP الخاص بـ IWE مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل IWE، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف IWE كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ IWE.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "iwe": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ IWE، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ IWE.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام IWE لمساعدتي في هذه المهمة؟
IWE
بالتأكيد. قرأته.
إليك ما وجدته باستخدام IWE.

الأسئلة الشائعة

ما استخدامات خادم MCP IWE؟

IWE هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP IWE مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام IWE مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP IWE مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل IWE، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP IWE بـ TypingMind؟

يعمل IWE عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP IWE في TypingMind؟

يتيح IWE إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP IWE؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان IWE يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇