Personal Llm Wiki Kit
БесплатноНе проверенEnables querying a local wiki through MCP-style tools, including search, Q\&A, and knowledge map, with a web viewer for human browsing.
Описание
Enables querying a local wiki through MCP-style tools, including search, Q&A, and knowledge map, with a web viewer for human browsing.
README
Clone this repository, add one source file to raw/, run one script, and open the local viewer. The result is a small LLM Wiki that an agent can query through MCP-style tools and a human can browse in the web UI.
This repo intentionally uses a generic name and generic wording so it can be published publicly without exposing course-related search terms.
What Is Included
| Area | Path | Purpose |
|---|---|---|
| Harness | harness/RULES.md |
Operating rules for agents that maintain the wiki |
| Skill | skills/wiki-maintainer/SKILL.md |
Reusable maintenance workflow for adding new sources |
| LLM Wiki | raw/, wiki/, wiki/schema/page.schema.json |
Source folder, rendered wiki pages, and page schema |
| Visualization Tool | tools/wiki_mcp_server.py |
Local MCP-style server, wiki viewer, search, Q&A, and knowledge map |
| Ingestion Script | scripts/ingest_source.py |
Converts one text/Markdown source into a wiki page |
| Demo Evidence | demo/rendered-wiki.png |
Screenshot of a real rendered knowledge base |
Requirements
- Python 3.10 or newer
- A web browser
- No external Python package is required
30-Minute Quick Start
- Clone the repo and enter the folder.
git clone <your-public-repo-url>
cd <repo-folder>
- Put one source file into
raw/.
Example:
raw/my-first-note.md
- Convert the source into a wiki page.
python scripts/ingest_source.py raw/my-first-note.md --title "My First Note"
This creates a Markdown page in wiki/pages/.
- Start the viewer and MCP tool server.
python tools/wiki_mcp_server.py
- Open the viewer.
http://127.0.0.1:8767
- Confirm the new page appears in the left page list. Use search or the question box to test the page.
MCP Tool Endpoint
The local endpoint is:
POST http://127.0.0.1:8767/mcp
Tool List
| Tool | Description |
|---|---|
wiki.list_pages |
Returns page metadata for every wiki page |
wiki.search |
Searches title, tags, summary, and body |
wiki.get_page |
Returns one full page by slug |
wiki.related_pages |
Finds pages related by category and tags |
wiki.ask |
Produces a source-grounded answer from matching pages |
wiki.knowledge_map |
Returns nodes and links for the visualization view |
wiki.ingest_raw |
Creates a wiki page from raw text supplied by an agent |
Example: List Tools
curl -s http://127.0.0.1:8767/mcp ^
-H "Content-Type: application/json" ^
-d "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\"}"
PowerShell:
Invoke-RestMethod -Uri http://127.0.0.1:8767/mcp -Method Post -ContentType "application/json" -Body '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Example: Ask The Wiki
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "wiki.ask",
"arguments": {
"question": "What is PER and why does valuation matter?"
}
}
}
How To Add Your Own Knowledge
Use either the script or the MCP tool.
Script path:
python scripts/ingest_source.py raw/example.md --title "Example" --category note --tags example,wiki
MCP path:
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "wiki.ingest_raw",
"arguments": {
"title": "Example",
"content": "# Example\n\nImportant source notes...",
"category": "note",
"tags": ["example", "wiki"]
}
}
}
After ingestion, reload the viewer. The page is immediately available to the search, Q&A, and knowledge map.
Agent Integration Request Template
Use this prompt with an agent:
Read harness/RULES.md and skills/wiki-maintainer/SKILL.md.
Ingest raw/<filename> into the wiki.
Then verify with wiki.list_pages, wiki.search, and wiki.get_page through the MCP endpoint.
Do not invent facts that are not in the source.
Verification Checklist
python scripts/ingest_source.py raw/my-first-note.md --title "My First Note"creates a file underwiki/pages/.python tools/wiki_mcp_server.pystarts without installing packages.http://127.0.0.1:8767shows the wiki viewer.- The left page list contains the new page.
- The search box finds words from the new page.
- The knowledge map changes after adding a new page.
wiki.askreturns an answer with source page metadata.
Safety Notes
- Do not put API keys in source files or scripts.
- Do not commit private notes unless the public repository is allowed to contain them.
- The included finance sample pages are educational examples only and are not investment advice.
Установка Personal Llm Wiki Kit
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/repisto/personal-llm-wiki-kitFAQ
Personal Llm Wiki Kit MCP бесплатный?
Да, Personal Llm Wiki Kit MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Personal Llm Wiki Kit?
Нет, Personal Llm Wiki Kit работает без API-ключей и переменных окружения.
Personal Llm Wiki Kit — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Personal Llm Wiki Kit в Claude Desktop, Claude Code или Cursor?
Открой Personal Llm Wiki Kit на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Personal Llm Wiki Kit with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
