Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

RAWThink

by ygtalpversion 2.0.1i★ 0iRuns on your computerRepository ↗
Registry nameio.github.ygtalp/rawthink-mcp

How to install

What it does

Persistent memory for AI thinking partnerships: hybrid search and a temporal knowledge graph.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Search & AI memory

Use together with

Skills that teach the AI this kind of work; they work alongside this one

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

by google-research★ 35,6291 skills

Skill · How-to guide

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

by BigBodyCobain★ 11,6021 skills

Skill · How-to guide

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

by gosom★ 8,2091 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness3/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score3/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install RAWThink. Follow https://mcp.popnx.com/i/ygtalp-rawthink-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server RAWThink for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "rawthink": { "command": "uvx", "args": [ "rawthink-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the RAWThink tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "rawthink": {
          "command": "uvx",
          "args": [
            "rawthink-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use RAWThink and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using RAWThink or shows a RAWThink tool in the answer, you are connected

9 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • RAWTHINK_VAULT Path to the vault directory holding sessions, qnotes and the knowledge graph. · default ../vault
  • MEMORY_FILE_PATH Path to memory.jsonl. Defaults to /memory.jsonl.
  • QDRANT_URL Qdrant server URL. · default http://localhost:6333
  • QDRANT_PATH Set to a directory to run Qdrant embedded instead of via Docker.
  • OLLAMA_URL Ollama server URL. Without it, retrieval degrades to sparse-only. · default http://localhost:11434
  • OLLAMA_MODEL Embedding model. Changing it requires a full reindex. · default bge-m3
  • RAWTHINK_TOOL_PROFILE Which tools to expose: recall (4, read-only), record (5, the write path), or full (17). · default full
  • RAWTHINK_BM25_STATE Path to the BM25 state file. Defaults to /.bm25_state.json.
  • RAWTHINK_LOG_LEVEL Log level for diagnostics on stderr. · default INFO

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect RAWThink yet

RAWThink runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect RAWThink

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Search & AI memory that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server RAWThink for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user rawthink -- uvx rawthink-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the RAWThink tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user rawthink -- uvx rawthink-mcp
  4. Type /mcp in Claude Code

    You should see RAWThink listed as connected

  5. Try it

    Use RAWThink and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using RAWThink or shows a RAWThink tool in the answer, you are connected

9 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • RAWTHINK_VAULT Path to the vault directory holding sessions, qnotes and the knowledge graph. · default ../vault
  • MEMORY_FILE_PATH Path to memory.jsonl. Defaults to /memory.jsonl.
  • QDRANT_URL Qdrant server URL. · default http://localhost:6333
  • QDRANT_PATH Set to a directory to run Qdrant embedded instead of via Docker.
  • OLLAMA_URL Ollama server URL. Without it, retrieval degrades to sparse-only. · default http://localhost:11434
  • OLLAMA_MODEL Embedding model. Changing it requires a full reindex. · default bge-m3
  • RAWTHINK_TOOL_PROFILE Which tools to expose: recall (4, read-only), record (5, the write path), or full (17). · default full
  • RAWTHINK_BM25_STATE Path to the BM25 state file. Defaults to /.bm25_state.json.
  • RAWTHINK_LOG_LEVEL Log level for diagnostics on stderr. · default INFO

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server RAWThink for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "rawthink": { "command": "uvx", "args": [ "rawthink-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the RAWThink tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use RAWThink and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using RAWThink or shows a RAWThink tool in the answer, you are connected

9 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • RAWTHINK_VAULT Path to the vault directory holding sessions, qnotes and the knowledge graph. · default ../vault
  • MEMORY_FILE_PATH Path to memory.jsonl. Defaults to /memory.jsonl.
  • QDRANT_URL Qdrant server URL. · default http://localhost:6333
  • QDRANT_PATH Set to a directory to run Qdrant embedded instead of via Docker.
  • OLLAMA_URL Ollama server URL. Without it, retrieval degrades to sparse-only. · default http://localhost:11434
  • OLLAMA_MODEL Embedding model. Changing it requires a full reindex. · default bge-m3
  • RAWTHINK_TOOL_PROFILE Which tools to expose: recall (4, read-only), record (5, the write path), or full (17). · default full
  • RAWTHINK_BM25_STATE Path to the BM25 state file. Defaults to /.bm25_state.json.
  • RAWTHINK_LOG_LEVEL Log level for diagnostics on stderr. · default INFO

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server RAWThink for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "rawthink": { "type": "stdio", "command": "uvx", "args": [ "rawthink-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the RAWThink tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use RAWThink and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using RAWThink or shows a RAWThink tool in the answer, you are connected

9 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • RAWTHINK_VAULT Path to the vault directory holding sessions, qnotes and the knowledge graph. · default ../vault
  • MEMORY_FILE_PATH Path to memory.jsonl. Defaults to /memory.jsonl.
  • QDRANT_URL Qdrant server URL. · default http://localhost:6333
  • QDRANT_PATH Set to a directory to run Qdrant embedded instead of via Docker.
  • OLLAMA_URL Ollama server URL. Without it, retrieval degrades to sparse-only. · default http://localhost:11434
  • OLLAMA_MODEL Embedding model. Changing it requires a full reindex. · default bge-m3
  • RAWTHINK_TOOL_PROFILE Which tools to expose: recall (4, read-only), record (5, the write path), or full (17). · default full
  • RAWTHINK_BM25_STATE Path to the BM25 state file. Defaults to /.bm25_state.json.
  • RAWTHINK_LOG_LEVEL Log level for diagnostics on stderr. · default INFO

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use RAWThink💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user rawthink -- uvx rawthink-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "rawthink": {
      "command": "uvx",
      "args": [
        "rawthink-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "rawthink": {
      "command": "uvx",
      "args": [
        "rawthink-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "rawthink": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "rawthink-mcp"
      ]
    }
  }
}

Values you fill in

  • RAWTHINK_VAULT env
    Path to the vault directory holding sessions, qnotes and the knowledge graph.
  • MEMORY_FILE_PATH env
    Path to memory.jsonl. Defaults to /memory.jsonl.
  • QDRANT_URL env
    Qdrant server URL.
  • QDRANT_PATH env
    Set to a directory to run Qdrant embedded instead of via Docker.
  • OLLAMA_URL env
    Ollama server URL. Without it, retrieval degrades to sparse-only.
  • OLLAMA_MODEL env
    Embedding model. Changing it requires a full reindex.
  • RAWTHINK_TOOL_PROFILE env
    Which tools to expose: recall (4, read-only), record (5, the write path), or full (17).
  • RAWTHINK_BM25_STATE env
    Path to the BM25 state file. Defaults to /.bm25_state.json.
  • RAWTHINK_LOG_LEVEL env
    Log level for diagnostics on stderr.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
20/wk
Connection
Runs on your computer
Latest versioni
2.0.1
Published to registryi
Jul 31, 2026
Code last changedi
Jul 31, 2026
Maker
ygtalp
Packages
pypi: rawthink-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account ygtalp, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 4 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for rawthink-mcp@2.0.1

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/ygtalp-rawthink-mcp.svg)](https://mcp.popnx.com/en/servers/ygtalp-rawthink-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Search & AI memoryi

  • More stars than 0% of the other 6384 servers in this category
  • Published to the registry more recently than 23% of the other 6384 servers in this category
  • Basic checks equal to or better than 99% of the other 6384 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is RAWThink safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 4 months ago, and the latest version (2.0.1) reached the registry 4 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

by every-appWidely used★ 28.2KUpdated 5 days ago

Runs in the cloud✓ everyapp.com

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

by exa-labsWidely used★ 5.2KUpdated 2 months ago

Runs in the cloud✓ service owner · exa.aiTried by the PopNx team

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

by MicrosoftDocsWidely used★ 2KUpdated 12 months ago

Runs in the cloud✓ service owner · microsoft.comTried by the PopNx team

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

by proxysoulGrowing★ 1.6KUpdated 2 months ago

Runs in the cloud✓ empryo.com
Compared with similar ones
This one
RAWThink
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoYesYesYesNoNo
Basic checks3/35/52/44/44/44/4
LicenseMITMITMITCC-BY-4.0NOASSERTIONApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

RAWThink

Persistent memory for AI thinking partnerships. A knowledge graph you can argue with, search that spans every session you have ever had, and a record of not just what you decided but what you rejected.

MCP server for Claude Code. Python, local, no cloud.


The problem

Every conversation with an AI starts from nothing. You explain the same context, re-derive the same conclusions, and rediscover decisions you already made — and the reasoning that produced them is gone the moment the window scrolls.

Chat history does not fix this. History is a transcript; what you need is *structure*: which ideas connect, which beliefs you have since abandoned, which alternatives you considered and dropped, and why.

RAWThink keeps that structure in three layers, in files you own.

What it does

Hybrid semantic search across every session and note — BGE-M3 dense embeddings and BM25 sparse vectors, fused with RRF. Ask "what did I think about free will?" and get the passages, not a keyword match.

A temporal knowledge graph where observations carry dates and status. Beliefs can be marked invalidated and linked to what replaced them, so the archive remembers not only what you think but what you used to think.

Session lifecycle — a close command that exports the conversation, extracts entities into the graph, and writes a handoff the next session loads automatically.

Activation decay — unused knowledge fades on a ~23-day half-life, accessed knowledge stays warm. Old material is still there; it just stops crowding out what you are working on now.


Quick start

Prerequisites
  • Python 3.10+
  • Docker for Qdrant — or set QDRANT_PATH for embedded mode
  • Ollama with bge-m3: ollama pull bge-m3
Install
pip install rawthink-mcp

rawthink-install # creates ~/rawthink-vault with everything inside cd ~/rawthink-vault docker compose up -d # starts Qdrant

rawthink-install writes the vault structure, CLAUDE.md, THINKING_DIRECTIVES.md, SETUP.md, docker-compose.yml and the /rtclose command. Use rawthink-install --vault ~/my-vault for a different location.

Register with Claude Code
claude mcp add --scope user rawthink -- rawthink-mcp
Check the install
rawthink-doctor

Nine checks with a fix line for each failure: vault, graph schema, BM25 state format, Qdrant, index coverage, vector dimension, Ollama, MCP registration.

The index coverage check is the one worth knowing about. Indexing can stop partway and leave a collection that looks healthy — it exists, it has points, queries return results. They are results from part of the vault, and nothing else tells you that.

Upgrading from 0.x

1.5.0 changed the graph schema and 2.0.0 changes the sparse index. Migrate the graph before writing anything:

python -m rawthink_mcp.migrate --path vault/memory.jsonl --guess-domains --heal-dangling

That is a dry run — it prints what would change and writes nothing. Read the report, then re-run with --apply. A timestamped backup is taken first.

Then re-encode the search index, because BM25 term IDs changed:

reindex(full=True)

A plain reindex skips unchanged chunks and will leave the old encoding in place. rawthink-doctor tells you if this is still pending.

See CHANGELOG.md for what changed and why.


Your first session

> search_thoughts("what have I decided about caching?")

record_decision(

name="api/cache: read-through", domain="software", decided="read-through cache in front of the read model", because="the write path is already the bottleneck; adding invalidation there costs more", rejected=["write-through — couples the write path to cache health", "no cache — p99 was 400ms against a 200ms SLO"] )

Close with /rtclose. It exports the conversation, extracts what is worth keeping into the graph, and leaves a handoff for next time — which the next session loads on its own.


The schema, and why it looks like this

This is the part worth understanding, because it is what keeps the graph queryable over years rather than months.

Role and subject are separate fields

entityType answers what role does this node play. Closed list of ten:

typefor
decisiona choice made, with alternatives rejected
conceptan idea, theory, model, analogy
findingsomething discovered or measured — a bug, a result, an audit
rulea durable constraint or pattern to follow
open-questionunresolved, waiting on evidence
artifacta project, tool, document, feature, source
insighta realisation that changed how something is seen
taska unit of intended work
eventsomething that happened at a point in time
thinga person, object or substance named directly

domain answers what subject is it about: software, music, history, philosophy, health, writing, neuro, finance, personal, galaxy.

Keeping these apart is not tidiness. When one field carries both, the type list grows by one entry per subject — a real vault reached 46 types this way, with saglik-bulgusu, teknik-karar and bug-pattern sitting next to karar. At that point nothing can be filtered, because no two entries agree on what a type means.

Unknown relation types are rejected, not warned about

Canonical vocabulary: supports, contradicts, evolved_into, depends_on, exemplifies, part_of, caused_by, enables, supersedes, related_to, investigates, informs, uses.

Close synonyms fold automatically — connected_to → related_to, aspect_of → part_of. Anything else raises.

An earlier version accepted unknown types with a warning. Nothing acted on the warning and 56 one-off types accumulated. A warning that lets the write through is a decision to allow it, written in the voice of disapproval.

Epistemic status defaults to unknown

assertion, hypothesis, speculation — or unknown when unstated.

unknown is deliberate. If a session did not establish something, recording it as an assertion promotes a claim nobody made. The migration follows the same rule: 144 entities with no epistemic field became unknown, not assertion.

Revise, do not delete
> revise(entity_name="api/cache: read-through",

observations=["read-through cache in front of the read model"], superseded_by="moved to write-through after the read model split", superseding_entity="api/cache: write-through")

The old observation is marked invalidated, dated, and linked to what replaced it. Delete tools exist but sit outside the default agent-facing profiles: an archive that forgets its own reversals cannot answer the question it was kept for.

Decisions record what was rejected

record_decision stores decided, because, and rejected as separately queryable observations. The rejected alternatives are the part worth keeping — what was chosen stays readable in the code forever, what was considered and dropped exists nowhere else. That is the question that gets asked six months later.


MCP tools

Tool definitions sit in the context window from the first token of a session, so the surface is a standing cost rather than a per-call one. Profiles load only what a given step needs.

RAWTHINK_TOOL_PROFILE=recall   #  4 tools,  ~900 tokens — read-only

RAWTHINK_TOOL_PROFILE=record # 5 tools, ~1750 tokens — the write path RAWTHINK_TOOL_PROFILE=full # 17 tools, ~4200 tokens — everything (default)

A tool outside the active profile stays an ordinary function — reachable from the CLI and from tests. It simply is not in front of an agent that will not call it.

Search
toolwhat it does
search_thoughtsHybrid search. mode="overview" gives one line per session
get_sessionFull content of a session by ID
store_thoughtSave a quick note as a qnote
reindexRe-index the vault into Qdrant
Graph — reading
toolwhat it does
search_nodesBounded. Filters by domain and entity_type; reports total_matched and truncated
open_nodesSpecific entities with their relations
read_graphWhole graph, paginated, with a summary mode
Graph — writing
toolwhat it does
recordEntities, relations and observations in one validated, atomic call
record_decisionA decision with its rejected alternatives
reviseMark observations superseded, link what replaced them
create_entities · create_relations · add_observationsLower-level equivalents
invalidate_observationsBelief revision without the relation link
delete_entities · delete_observations · delete_relationsfull profile only

record() validates the whole batch before writing any of it. A half-valid batch writes nothing — a graph left in a state nobody asked for is worse than a rejected write. Relations may only point at entities that already exist or are created in the same call.

Every tool carries MCP annotations (readOnlyHint, destructiveHint, idempotentHint), so a host can tell deletion apart from search.


Architecture

Claude Code

│ MCP (stdio) ▼ rawthink-mcp ├── search ──► Qdrant dense (BGE-M3) + sparse (BM25), RRF fusion ├── graph ──► memory.jsonl entities, relations, temporal observations └── export ──► vault/ sessions, qnotes, handoffs as markdown │ Ollama (bge-m3)

Everything runs locally. The vault is plain markdown with YAML frontmatter — open it in Obsidian to browse visually, no plugins needed.

Why JSONL for the graph

Human-readable, git-diffable, no dependency. You can open it, read it, and see a meaningful diff when it changes — which matters for something meant to hold your reasoning.

The tradeoff is load time: the whole file is parsed per read. Fine at a few hundred entities, slower as it grows. Past tens of thousands, SQLite is the obvious next step.


Session lifecycle

session start          handoff loads automatically (SessionStart hook)

↓ think together ↓ /rtclose export → extract entities → write handoff

Only the beginning is shown; read the rest in the repo