BYO-LLM-WIKI

Local-first personal wiki that an LLM agent keeps coherent

Local

Install

See the repository for setup

What it does

BYO-LLM-WIKI is a local-first Flask application that turns web pages, files, and notes into a private wiki curated by an LLM agent. It fetches and cleans content, writes contextual section summaries, embeds chunks into a two-layer HNSW index, and builds a layered knowledge graph with entities, typed relations, topics, and synthesis pages. A separate memory layer is recalled before each answer and updated afterward with observations, ratings, and corrections.

It suits individuals who want grounded, cited question answering over their own library without sending all state to a hosted service. Stores are plain JSON and SQLite under a data directory.

You can use it through the web UI, a JSON API under /api, or the runner.py CLI with modes such as init, ingest, query, lint, and the rag-* commands. Supported chat providers include Claude, OpenAI, Qwen, DeepSeek, Gemini, and Mistral, but retrieval requires an OpenAI key for embeddings.

  • MCP client mode can attach external servers, and the API can also be served as MCP; writes are deny-by-default and need both MCP_ALLOW_WRITES and explicit approval.
  • Agent-skill drafts are gated behind human review.

Limitations: the evaluation numbers come from a small 28-document corpus, and LLM-judge scores vary by judge. Graph traversal is not used for retrieval because MMR scored better on recall in the authors' tests.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
276
Last push
Jul 29, 2026
License
—
Archived
No

Other Anthropic MCP servers

Compare servers
  • LLM-powered extraction of structured JSON from PDFs, images and scans

    • AWS
    • Anthropic
    • Azure
    Updated
  • Terminal-first AI bug bounty workflow from recon through validated report.

    • Anthropic
    • DeepSeek
    • Ollama
    Updated
  • Self-hosted AI research reports with web search via MCP.

    • Anthropic
    • Azure
    • Brave Search
    Updated
  • Self-hosted MCP knowledge server that compiles internal docs into a scoped, traceable wiki

    • Anthropic
    • OpenAI
    Updated
  • One local gateway for frontier and offline AI models in your editor

    • Anthropic
    • DeepSeek
    • Mistral AI
    Updated
  • Trace-native testing and CI gates for AI agents

    • Anthropic
    • GitHub
    • OpenAI
    Updated

FAQ

Does BYO-LLM-WIKI run locally or remotely?
It runs locally.
Is BYO-LLM-WIKI an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/byo-llm-wiki"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options