# LeafLoom [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/DJ-Huang/LeafLoom  
**GitHub Stars:** 6  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/leafloom

## Description
Local-first knowledge base & personal wiki for Markdown and HTML. Keep files and search on your computer. Connect ChatGPT, MCP, Skills and AI Chat, with source-linked search and a knowledge graph. Open source. 本地知识库 · 个人 Wiki · 知识管理

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What LeafLoom MCP server does

LeafLoom connects MCP-compatible AI clients to a local-first knowledge workspace containing Markdown notes, HTML pages, project documents, and saved research. It gives an agent a way to search the selected local knowledge scope, inspect source-linked results, and work with notes from an AI conversation.

The workspace keeps files and search indexes on the computer. LeafLoom does not index folders by default; folders must be selected for search in the desktop application. This makes the server suitable for personal wikis, research libraries, project documentation, and other knowledge collections that should remain under local control.

## How it works

The desktop application runs a local HTTP MCP service at `http://127.0.0.1:18080/mcp` by default. An MCP client such as Codex, Cursor, or Claude Code connects to that endpoint and uses LeafLoom's knowledge operations. Retrieval is limited to the folders connected in LeafLoom, while local RAG supports searching within the selected scope.

Read and search access can be used without enabling writes. Creating, editing, organizing, and recovering notes requires full access to be enabled, and writing starts disabled. LeafLoom can also expose requested tool results to ChatGPT through its separate Tunnel connection, but the local MCP endpoint and ChatGPT connection have separate setup and permission controls.

## Setup and configuration

Install and open LeafLoom, choose or create a workspace, and select the folders that should be searchable. In the MCP client, add a server pointing to the local endpoint:

```text
http://127.0.0.1:18080/mcp
```

The default port is 18080. Enable full access in LeafLoom when the connected client must create, modify, organize, or recover notes. For ChatGPT, configure an existing OpenAI Tunnel in LeafLoom with its Tunnel ID and App Key, then add the same Tunnel in ChatGPT as a custom MCP connection. The computer must be online and LeafLoom must be running for that connection.

## Tools and capabilities

LeafLoom provides MCP access for:

- Finding content in connected local folders
- Reading notes and following source-linked references
- Creating and editing notes when writing is enabled
- Organizing connected notes
- Recovering notes through the full-access workflow
- Working with source-scoped knowledge through local retrieval

The wider LeafLoom workspace also supports bidirectional links, backlinks, templates, and a knowledge graph, although MCP usage is centered on connecting clients to the local knowledge and note-management functions.

## Limitations and notes

No folders are searchable until they are selected in LeafLoom. The local service listens on the computer and keeps file access within the connected folder scope. AI connections are optional, and content sent to an AI provider depends on the connection being used and the requested tool results. Writing is off by default, so an agent cannot change notes until the separate write or full-access setting is enabled.

The ChatGPT path has additional requirements: an existing OpenAI Tunnel, the required Tunnel permissions, and a ChatGPT workspace that permits custom MCP connections. LeafLoom's MCP endpoint is intended for a running local application rather than a hosted, always-available service.

_Full upstream README: https://allmcps.com/mcp/leafloom/readme_

