mozg

sh.mozg由 mozg.sh 發布官方發布者v0.1.0更新於 Oct 24, 2026

Exam-scored knowledge brains your agent searches over MCP, plus a public list of their gaps.

已驗證Streamable HTTP可網頁執行知識與記憶AI 與機器學習

概覽

AI 產生的概覽

Mozg 為助理提供經過考試評分的知識庫,可透過 MCP 搜尋、閱讀、驗證並向其投稿,每個知識庫的缺口都會公開列出。

可以做什麼
列出並檢視可用知識庫的簡介,包括考試分數和已知缺口,再進行搜尋。在知識庫中搜尋和閱讀筆記,採伺服器端檢索,並對照知識庫驗證答案。用交接工具在工作階段之間傳遞工作狀態。寫入筆記、提交更正和回饋,並送出需由知識庫擁有者審核的提案。建立知識庫、新增來源並重新整理,以及管理個人的知識庫收藏。
適用情境
適合希望助理依據有歸屬者、經過整理的知識庫作答,而不是依賴一般訓練資料的情境;也適合需要查看該知識庫在自有考試中的分數與失敗之處時使用。還適用於在工作階段或不同工具之間傳遞上下文。
執行需求
位於 mozg.sh 的遠端 MCP 端點,使用 streamable HTTP。驗證為 OAuth 且必要:使用服務商設定頁面產生的 Authorization bearer token,或對支援 MCP OAuth 的用戶端直接登入。建立知識庫會消耗模型 token,可透過方案、自備 API 金鑰或訂閱方式負擔。
安裝前請注意
Authorization bearer token 屬於機密,應妥善保管。寫入、回饋和提案工具會變更服務上的資料;讀者送出的提案在擁有者接受前一直處於待審狀態。建立或重新整理知識庫會消耗模型 token,付費方案和依圖計費的風格生成會產生費用。筆記會傳送到遠端服務進行檢索和掃描。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 mozg,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/sh.mozg%2Fmozg/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "mozg": {
      "type": "http",
      "url": "https://mozg.sh/mcp"
    }
  }
}

README

[mozg — a brain assembled from notes, stamped with a passing grade]

mozg.

Knowledge with an owner, a score, and a meter. Brains your AI agents query over MCP — measured by an exam they did not write, honest about their gaps, and paying whoever filled them.

[License: AGPL-3.0] [CI] [Cloud] [Gallery] [Learn] [MCP]

Manifesto · Start here · Catalogue · Status · Self-host · Roadmap


We are building one memory for the whole species. Everything anyone wrote down goes in; what comes out is fluent, instant, and detached from every person it came from. Three things follow from that shape, and none of them is a bug:

  • it dissolves the author — it can work in your manner and cannot tell you your name;
  • it does not know your particular world — not the decision your team made in March;
  • it cannot say where it stops — what it learned and what it is inventing sound identical.

It knows what we know. It cannot tell you who taught it.

mozg is the opposite architecture: not one memory that swallows everything, but many, each of which still belongs to someone — examined, honest about its edge, and metered. One mechanism holds it together:

Knowledge must be measured.

[Terminal: connecting mozg to Claude Code, then an agent answering an Expo question from the brain with a cited source and exam score]

The loop

mermaid
flowchart LR    A[one docs URL] --> B[crawler<br/>github tree · llms.txt · sitemap]    B --> C[atomic notes<br/>+ embeddings]    C --> D{{the exam<br/>~30 questions from the goal}}    D -->|score + failed questions| E[focused re-read<br/>chases the gaps]    E --> C    F[agents querying over MCP] -->|zero-hit searches| D    F -->|corrections| G[owner review] --> C    F -->|proposals from readers| G
  • The exam is the product. The brain's goal becomes control questions, re-sat after every ingest. Trained 92% is a fact, not a claim — and the failures are listed publicly, so agents are told the gaps before they search. Anti-bluff questions verify it refuses what it doesn't know.
  • Zero-context search. Retrieval is server-side (hybrid + reranker). A brain can hold 3,000 notes; an answer costs the three it needed.
  • Readers contribute, and cannot corrupt. An agent that works something out on a brain it only reads can hand it back — it arrives as a proposal: pending, attributed, invisible to search and absent from the exam until the owner takes it. Contribution without the power to break anything. Zero-hit searches become exam questions on their own.
  • The baton between sessions. brain_handoff carries working state to the next session — this agent tomorrow, or a different tool entirely. A PreCompact hook reminds an agent to leave one at the moment context is about to be lost.
  • learn. Any brain doubles as a spaced-repetition course for humans at learn.mozg.sh — read → recall → quiz, streaks, a certificate at 80%, and a scoreboard against your own agent.
  • Injection-hardened. Notes are scanned for credential leaks, PII and prompt-injection language; proposals from strangers are scanned again at the door they arrive through; third-party notes reach agents framed as data, not instructions; AI training crawlers are refused in robots.txt.

Styles: the other kind of brain

A brain can hold facts — or a way of working. A style brain is read by a different extractor entirely: not "what is depicted" but "what would I have to do to draw the next one", and it insists on measurements. Hex values and which one dominates. Outline weight, and whether it varies along a stroke. How shading is achieved, and at what density. The nevers — because anyone can copy a palette, and what gives an imitation away is the gradient the original would never use.

[Typing a prompt into a style's page on gallery.mozg.sh and getting an illustration back in that artist's style]

That is the answer to style theft that pays the artist. Cloaking tools promised to make styles untrainable and each has been broken within months. The other road: the style becomes a licensed, exam-scored product. A buyer's own agents read the rules over MCP, or they generate right on gallery.mozg.sh — 25¢ an image, 10¢ of it to the artist, every time. Unlike a fine-tune on somebody's disk, access is revocable: a LoRA in the wild is forever, a licence is not.

Run your own, in one command

bash
git clone https://github.com/egorfedorov/mozg.git && cd mozgcp .env.selfhost.example .env     # fill ANTHROPIC_API_KEY + BETTER_AUTH_SECRETdocker compose -f docker-compose.selfhost.yml up

Postgres with pgvector, the embedder, the app and the worker come up together; the schema migrates itself before the app starts. Open http://localhost:3300, create an account, paste a docs URL.

First boot downloads ~2.2 GB of embedding weights into a volume — that is the slow part, and it happens once. Full operational detail, including production deploys behind nginx, lives in docs/SELFHOST.md.

Cloud, or your own metal

mozg.sh cloudself-host (this repo)
Read, connect, studyfreeyours
Official cataloguefree, curated, kept currentseed it yourself (scripts/catalogue.ts)
Build brainsfree trial brain, then plans or bring your own API keyyour keys, no limits
Marketplaceoutside authors sell, 95% to themn/a
Style generation25¢/image, 10¢ to the artistneeds an image-capable API key
Opsoursdocs/SELFHOST.md

The deal is honest: building brains spends model tokens. On the cloud you either pay a plan (we spend), set your own API key in settings (you spend), or teach through a Claude Code subscription with the plugin's /mozg:train.

What an agent gets

Fourteen MCP tools. The descriptions tell it when to reach for each, which is the difference between a brain that gets used and one that sits there.

brain_list · brain_brief · brain_search · brain_read · brain_verify · brain_handoff · brain_write · brain_write_batch · brain_feedback · brain_create · brain_add_source · brain_refresh · library_add · library_remove

The Claude Code plugin adds slash commands and two offline hooks — one names your shelf at session start, one reminds you to leave a baton before the context is compacted.

Stack

Next.js 16 · Postgres 14 + pgvector (HNSW) · pg-boss (queue in Postgres) · better-auth · bge-m3 embeddings + bge-reranker (self-hosted FastAPI) · Playwright render service for JS-shell docs sites · esbuild-bundled worker. 211 tests, CI on every push, public status page.

The manifesto

This is built by one person from the Sakha Republic — three million square kilometres, a million people, and the coldest inhabited places on earth. About 450,000 people speak Sakha. Ask any frontier model something in it and watch: total confidence, and wrong, because there was never enough of us online to be worth learning properly.

Not enough of us to be learned. Enough of us to teach.

That is where most of the world already stands — not only languages, but trades, regions, and the part of every craft that lives in people rather than in indexed pages. What is not in the training data does not exist to the machine, and the machine is fast becoming how everything gets looked up.

The alternative to being scraped is not being ignored. It is being licensed.

A confident wrong answer is worse than silence, and nearly everything built so far is optimised to produce one.

Read the whole thing → — what I am actually claiming, in five lines, and why a knowledge base should have to sit an exam.

Contributing

Bug reports with reproduction beat everything; brain_feedback reports from real use beat those. Small PRs welcome — see CONTRIBUTING.md. New catalogue packs are data entries, not code.

License

AGPL-3.0. Run it, change it, self-host it; host it for others and your changes stay open. The hosted cloud at mozg.sh sells convenience and inference — never locks.

來源:README.md,提交 b033f52

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分