ScrapLibra MCP Server (Obsidian Vault + TOON)

v1.0.0
io.github.16bitSega/scraplibra-mcp Checked 2 days ago Published 6 days ago

Remote MCP gateway for 20-folder Obsidian vaults in TOON format (-36.7% to -45% LLM tokens).

This public repository contains: - benchmarks/toon_vs_json_benchmark.py — reproducible tiktoken cl100k_base token compression benchmark (-36.72% to -45% tokens vs JSON-RPC). - obsidian-20-folder-starter/ — free, ready-to-clone 20-folder flat Obsidian Vault Starter Kit with 00_INDEX/Master_MOC.md. - 16bitSega/flat-20-folder-taxonomy — open-source MIT Obsidian companion plugin for local 20-folder scaffolding, YAML normalization, and vault health audits. - smithery.yaml — Model Context Protocol (MCP) registry manifest for Claude Desktop, Cursor, Windsurf, and autonomous AI agents.

Summary extracted from the README.

ScrapLibra MCP Server & TOON Benchmark — Obsidian Second Brain Gateway

ScrapLibra MCP connector

Quick Connect (Gemini CLI / Claude Code / Cursor)

# Google Gemini CLI
gemini mcp add --transport http 'scrap-libra' 'https://telelibra-cloud-222446907059.europe-west1.run.app/mcp'

# Claude Code
claude mcp add --transport http scrap-libra https://telelibra-cloud-222446907059.europe-west1.run.app/mcp

Website Pro + MCP Pricing MCP Protocol Obsidian Plugin AI Index License: MIT

Get your live Remote MCP + TOON Gateway in 2 minutes: Start with 10 free structured notes on the web (no credit card), or unlock Pro Second Brain + Remote MCP Gateway ($4.99/mo or $47.88/yr = $3.99/mo) via Paddle (card/Apple Pay/Google Pay) or OxaPay (crypto) at scraplibra.com/#pricing.

ScrapLibra converts cluttered browser bookmarks, Telegram Saved Messages exports, YouTube lectures, ArXiv papers, and GitHub repositories into a 20-folder Obsidian Markdown Vault, Google NotebookLM master compendiums, and a live Model Context Protocol (MCP) JSON-RPC 2.0 gateway serialized in TOON.

This public repository contains:

  • benchmarks/toon_vs_json_benchmark.py — reproducible tiktoken cl100k_base token compression benchmark (-36.72% to -45% tokens vs JSON-RPC).
  • obsidian-20-folder-starter/ — free, ready-to-clone 20-folder flat Obsidian Vault Starter Kit with 00_INDEX/Master_MOC.md.
  • 16bitSega/flat-20-folder-taxonomy — open-source MIT Obsidian companion plugin for local 20-folder scaffolding, YAML normalization, and vault health audits.
  • smithery.yaml — Model Context Protocol (MCP) registry manifest for Claude Desktop, Cursor, Windsurf, and autonomous AI agents.

Reproducible Token Benchmark: TOON vs Markdown vs JSON (tiktoken cl100k_base)

Run python3 benchmarks/toon_vs_json_benchmark.py to reproduce exact token counts locally:

Batch Size Verbose JSON-RPC Obsidian Markdown TOON Stream Markdown vs JSON TOON vs JSON
100 notes (9 fields) 25,093 tokens 19,140 tokens 15,880 tokens -23.72% -36.72%
500 notes (9 fields) 125,333 tokens 95,700 tokens 79,320 tokens -23.64% -36.71%
Nested MCP metadata ~25,093 tokens ~19,140 tokens ~13,800 tokens ~-24% up to -45%

Full benchmark methodology & Schema.org Dataset: AI Second Brain, RAG & TOON Benchmark.


Quick MCP Setup (Claude Desktop & Cursor)

Generate a personal revocable HMAC-SHA256 bearer token in your ScrapLibra Dashboard and add the MCP server to claude_desktop_config.json or Cursor MCP settings:

{
  "mcpServers": {
    "scraplibra": {
      "url": "https://scraplibra.com/mcp-docs/",
      "transport": "sse",
      "headers": {
        "Authorization": "Bearer YOUR_SCRAPLIBRA_PRO_HMAC_TOKEN"
      }
    }
  }
}

Exposed MCP Tools

Tool Name Purpose
search_notes Hybrid BM25 keyword and semantic search across your 20-folder Obsidian Vault
get_note Retrieve full Markdown body, YAML frontmatter, User Context, and [[wikilinks]]
get_taxonomy_tree Inspect the 20 standard folders, custom folders, and tag graph
get_notebooklm_compendium Fetch consolidated Markdown packs ready for Google NotebookLM audio briefings
create_topic_folder Create dynamic topical directories under strict schema guardrails
export_processed_batch Export up to 1,000 processed notes in compact TOON format (GDPR Art. 20)
get_tenant_status Read vault quota, note count, storage usage, and credit balance

Complete setup walkthrough: How to Connect Obsidian Vault to Claude Desktop & Cursor via MCP.


Verified Pricing & Payment Rails (SSOT)

Plan Price (USD) Scope
Explorer (Free) $0 10 free notes, no credit card required
Pro Second Brain $4.99/mo or $47.88/yr ($3.99/mo) 100 credits/mo (1,200/yr), live MCP gateway (TOON), Obsidian cloud sync
Spring Cleaning Pack $12.00 one-time 1,000 permanent non-expiring credits for archive cleanup
Archive Worm Pack $69.00 one-time 10,000 permanent non-expiring credits, Turbo Queue, TOON export

Payment Rails: Paddle (Merchant of Record: Cards, Apple Pay, Google Pay), OxaPay (USDT, TON, BTC, ETH), and Telegram Stars (XTR).
Zero-Credit Noise Shield: Ads, stickers, HTTP 404 stubs, and UTM duplicates deduct 0 credits.


Technical Documentation & Guides (ENG ASD-STE100 + 6 Languages)

Complete 7-Language Deep Guides (Telegram + Bookmarks → 20-Folder Obsidian Vault + Zero-Credit Noise Shield)

Complete 7-Language Deep Guides — Series 2 (How to Structure a Personal Knowledge Base from Notes & Bookmarks: PARA vs Zettelkasten vs 20 Flat Folders)

Complete 7-Language Deep Guides — Series 3 (How to Export & Organize 1,000+ Chrome, Safari & Firefox Bookmarks into Obsidian)