R

Rawthink MCP

by ygtalp · io.github.ygtalp/rawthink-mcp

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

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-ygtalp-rawthink-mcp": {
      "command": "uvx",
      "args": [
        "rawthink-mcp"
      ],
      "env": {
        "RAWTHINK_VAULT": "../vault",
        "MEMORY_FILE_PATH": "../vault/memory.jsonl",
        "QDRANT_URL": "http://localhost:6333",
        "QDRANT_PATH": "<VALUE>",
        "OLLAMA_URL": "http://localhost:11434",
        "OLLAMA_MODEL": "bge-m3",
        "RAWTHINK_TOOL_PROFILE": "full",
        "RAWTHINK_BM25_STATE": "<VALUE>",
        "RAWTHINK_LOG_LEVEL": "INFO",
        "RAWTHINK_TURKISH_NORMALIZATION": "false"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-ygtalp-rawthink-mcp": {
      "command": "uvx",
      "args": [
        "rawthink-mcp"
      ],
      "env": {
        "RAWTHINK_VAULT": "../vault",
        "MEMORY_FILE_PATH": "../vault/memory.jsonl",
        "QDRANT_URL": "http://localhost:6333",
        "QDRANT_PATH": "<VALUE>",
        "OLLAMA_URL": "http://localhost:11434",
        "OLLAMA_MODEL": "bge-m3",
        "RAWTHINK_TOOL_PROFILE": "full",
        "RAWTHINK_BM25_STATE": "<VALUE>",
        "RAWTHINK_LOG_LEVEL": "INFO",
        "RAWTHINK_TURKISH_NORMALIZATION": "false"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-ygtalp-rawthink-mcp": {
      "command": "uvx",
      "args": [
        "rawthink-mcp"
      ],
      "env": {
        "RAWTHINK_VAULT": "../vault",
        "MEMORY_FILE_PATH": "../vault/memory.jsonl",
        "QDRANT_URL": "http://localhost:6333",
        "QDRANT_PATH": "<VALUE>",
        "OLLAMA_URL": "http://localhost:11434",
        "OLLAMA_MODEL": "bge-m3",
        "RAWTHINK_TOOL_PROFILE": "full",
        "RAWTHINK_BM25_STATE": "<VALUE>",
        "RAWTHINK_LOG_LEVEL": "INFO",
        "RAWTHINK_TURKISH_NORMALIZATION": "false"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-ygtalp-rawthink-mcp": {
      "command": "uvx",
      "args": [
        "rawthink-mcp"
      ],
      "env": {
        "RAWTHINK_VAULT": "../vault",
        "MEMORY_FILE_PATH": "../vault/memory.jsonl",
        "QDRANT_URL": "http://localhost:6333",
        "QDRANT_PATH": "<VALUE>",
        "OLLAMA_URL": "http://localhost:11434",
        "OLLAMA_MODEL": "bge-m3",
        "RAWTHINK_TOOL_PROFILE": "full",
        "RAWTHINK_BM25_STATE": "<VALUE>",
        "RAWTHINK_LOG_LEVEL": "INFO",
        "RAWTHINK_TURKISH_NORMALIZATION": "false"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-ygtalp-rawthink-mcp": {
      "command": "uvx",
      "args": [
        "rawthink-mcp"
      ],
      "env": {
        "RAWTHINK_VAULT": "../vault",
        "MEMORY_FILE_PATH": "../vault/memory.jsonl",
        "QDRANT_URL": "http://localhost:6333",
        "QDRANT_PATH": "<VALUE>",
        "OLLAMA_URL": "http://localhost:11434",
        "OLLAMA_MODEL": "bge-m3",
        "RAWTHINK_TOOL_PROFILE": "full",
        "RAWTHINK_BM25_STATE": "<VALUE>",
        "RAWTHINK_LOG_LEVEL": "INFO",
        "RAWTHINK_TURKISH_NORMALIZATION": "false"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-ygtalp-rawthink-mcp": {
      "command": "uvx",
      "args": [
        "rawthink-mcp"
      ],
      "env": {
        "RAWTHINK_VAULT": "../vault",
        "MEMORY_FILE_PATH": "../vault/memory.jsonl",
        "QDRANT_URL": "http://localhost:6333",
        "QDRANT_PATH": "<VALUE>",
        "OLLAMA_URL": "http://localhost:11434",
        "OLLAMA_MODEL": "bge-m3",
        "RAWTHINK_TOOL_PROFILE": "full",
        "RAWTHINK_BM25_STATE": "<VALUE>",
        "RAWTHINK_LOG_LEVEL": "INFO",
        "RAWTHINK_TURKISH_NORMALIZATION": "false"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
RAWTHINK_VAULT No Path to vault directory Default: ../vault
MEMORY_FILE_PATH No Knowledge graph file path Default: ../vault/memory.jsonl
QDRANT_URL No Qdrant server URL Default: http://localhost:6333
QDRANT_PATH No Set for embedded Qdrant (no Docker)
OLLAMA_URL No Ollama server URL Default: http://localhost:11434
OLLAMA_MODEL No Ollama embedding model Default: bge-m3
RAWTHINK_TOOL_PROFILE No Which tools to expose: recall (4, read-only), record (5, the write path), or full (17). Default: full
RAWTHINK_BM25_STATE No Path to the BM25 state file. Defaults to <vault>/.bm25_state.json.
RAWTHINK_LOG_LEVEL No Log level for diagnostics on stderr. Default: INFO
RAWTHINK_TURKISH_NORMALIZATION No Set 1 or true to enable Turkish normalization Default: false

Similar servers