Skip to main content
Glama

BrainTube MCP Server

Save once. Query anywhere. BrainTube compiles what you watch, read and listen to — YouTube videos, podcasts, articles, PDFs — into a persistent, searchable knowledge base, and this MCP server lets your AI search it and save to it over one endpoint.

What it does

Your AI can search and cite your own corpus instead of starting every conversation cold:

  • Semantic + keyword search over everything you've saved, with citations back to the source

  • Save from your AI — your AI can save what it finds into BrainTube, add notes and tag items in the same session

  • Knowledge graph & related-item traversal across your corpus

  • Session context — expertise profile, recent activity, and resurfacing tools

  • Per-user isolation — JWT-scoped access; you only ever see your own corpus

Related MCP server: cognee-mcp

Quickstart

  1. Create an account at brain-tube.com and get an API key (or use OAuth from a compatible client).

  2. Add the server to your MCP client:

{
  "mcpServers": {
    "braintube": {
      "type": "http",
      "url": "https://mcp.brain-tube.com/mcp",
      "headers": { "X-BrainTube-Token": "bt_..." }
    }
  }
}

Tested with Claude and ChatGPT; any client that speaks MCP streamable HTTP uses the same endpoint. In clients with OAuth support, just add the endpoint URL and sign in when prompted.

Claude Code — one command:

claude mcp add --transport http --scope user braintube https://mcp.brain-tube.com/mcp   --header "X-BrainTube-Token: bt_..."

Claude.ai — Customize → Connectors → + Add → Add custom connector, paste the endpoint, sign in. No API key needed.

ChatGPT — Settings → Plugins → Add → Add custom MCP server. Paste https://mcp.brain-tube.com/mcp, choose OAuth, tick the risk box, Create, then Connect and sign in to BrainTube. No API key needed. ChatGPT uses the search and fetch tools and cites each answer back to your saved item.

Tool profiles — by default a session gets 12 tools: the everyday search, read and save tools, plus braintube_find_tools and braintube_run_tool, which reach the other read-only tools on demand. To register every tool directly, add ?tools=full to the endpoint (https://mcp.brain-tube.com/mcp?tools=full) or send the header X-BrainTube-Tools: full.

Step-by-step setup for each client, plus how BrainTube compares with other MCP memory servers: How to give Claude long-term memory with MCP.

Available Tools

28 tools
chat_with_brainA
Read-only
Inspect

Ask a question to a public BrainTube Brain (a curated knowledge base built from someone's corpus). Pass the brain_slug (visible in the Brain's URL), your question, and optionally prior chat_history for multi-turn conversations. Returns answer + source citations.

Inputs: question (required), brain_slug (required), session_id, chat_history. Returns: answer, sources, session_id

connect_readwiseA
Idempotent
Inspect

Connect your Readwise account to BrainTube by saving your Readwise API token. Required before sync_readwise can run. Get your token at readwise.io/access_token.

Inputs: access_token (required). Returns: object

detect_gapsA
Read-only
Inspect

Detect knowledge gaps in your corpus: thin topics (few items), entities without depth, stale high-value items, topics missing concept articles, and unconnected items with no knowledge edges.

Inputs: no named parameters. Returns: thin_topics, stale_high_value, unconnected_items, entities_without_depth, +1 mo…

entity_cooccurrenceA
Read-only
Inspect

Find named entities (people, orgs, tools) that frequently co-appear across your corpus. Returns pairs sorted by co-occurrence count — useful for mapping who/what clusters in your knowledge base.

Inputs: no named parameters. Returns: pairs

find_pathA
Read-only
Inspect

Find the shortest path between two items in your knowledge graph. Traverses knowledge_edges up to max_depth hops and returns the ordered list of item IDs and edge types along the path, or "no path found" if disconnected.

Inputs: item_a (required), item_b (required), max_depth. Returns: found, path_length, path_item_ids, path_edge_types

get_concept_articlesA
Read-only
Inspect

Query compiled concept articles from your knowledge base. Filter by cluster_id, brain_id, or free-text search against title and body. Returns title, slug, word count, and backlink count per article.

Inputs: limit, query, brain_id, cluster_id. Returns: articles

get_edge_historyA
Read-only
Inspect

Get the temporal history of knowledge edges between two specific items — when they were connected, edge types over time, confidence changes. Pass item_a and item_b as UUIDs.

Inputs: item_a (required), item_b (required). Returns: history

get_knowledge_graphA
Read-only
Inspect

Build a knowledge graph around a specific item, showing how it connects to other items in your corpus via knowledge_edges. Returns the center item, connected nodes with metadata, and typed edges with confidence scores. Use depth=1 for direct connections, depth=2-3 for wider neighbourhood exploration.

Inputs: item_id (required), depth. Returns: edges, nodes, stats, center_item

get_knowledge_indexA
Read-only
Inspect

Get a topic-level index of your entire knowledge corpus. Groups items by primary topic and returns item count, synthesis count, average salience, latest save date, and source types per topic — sorted by item count descending. Use to understand which subjects dominate your library.

Inputs: no named parameters. Returns: topics, total_items, total_topics

get_recent_conversationsA
Read-only
Inspect

Retrieve your most recently saved Claude and ChatGPT conversations. Useful for resuming context from a previous session or reviewing past AI-assisted work.

Inputs: n. Returns: conversations

get_session_briefA
Read-only
Inspect

One-shot session bootstrap: combines expertise profile, last 5 AI conversations, and corpus stats into a single JSON object. Call this at the start of a session to load full context without multiple round-trips.

Inputs: no named parameters. Returns: expertise, recent_work, corpus_stats

get_statsA
Read-only
Inspect

Get your personal corpus statistics: total items saved, breakdown by source type (youtube/instagram/web/etc), taint distribution. Call this before searching to understand what knowledge is available.

Inputs: no named parameters. Returns: top_sources, total_items, last_updated, taint_distribution

get_videoA
Read-only
Inspect

Get full details for a specific saved item including transcript, description, summary, key takeaways and taint level. Pass YouTube video ID or internal UUID.

Inputs: id (required). Returns: data, taint_level, taint_warning

knowledge_healthA
Read-only
Inspect

Run a health check on your knowledge corpus. Returns total items, missing embeddings, missing enrichment, missing tags, orphan items, stale items (90d+), contradictions, overdue reviews, topic gaps, and an overall health score out of 100.

Inputs: no named parameters. Returns: topic_gaps, total_items, health_score, missing_tags, +6 more

list_bookmarksA
Read-only
Inspect

List saved bookmarks from your corpus. Filter by read/unread status. Returns title, URL, tags, and read state sorted by bookmarked_at desc.

Inputs: limit, filter. Returns: bookmarks

list_brainsA
Read-only
Inspect

List all Brains you have created. Returns slug, name, description, item count, tier (free/pro), and visibility (public/private). Use the slug with chat_with_brain to query a specific Brain.

Inputs: no named parameters. Returns: brains

list_recentA
Read-only
Inspect

List your most recently saved items across all source types. Use to resume a research session or review what was captured lately.

Inputs: limit. Returns: data, taint_level, taint_warning

most_retrievedA
Read-only
Inspect

Return the items you retrieve most often, ranked by retrieval_count. Surfaces your highest-utility knowledge — the items you keep coming back to.

Inputs: top_n. Returns: items

random_resurfaceA
Read-only
Inspect

Surface forgotten items from your corpus using weighted randomness — items you've retrieved least often are most likely to appear. Great for spaced repetition and rediscovering old saves.

Inputs: n. Returns: data, taint_level, taint_warning

retrieval_qualityA
Read-only
Inspect

Get a retrieval quality dashboard for your corpus over the past N days. Covers search hit rates, zero-result queries, top search terms, and result relevance signals.

Inputs: days_back. Returns: object

search_by_date_rangeA
Read-only
Inspect

Semantic search scoped to items saved between two dates. Pass ISO 8601 dates for "after" and "before". Useful for reviewing what you captured during a specific period or project.

Inputs: after (required), query (required), before (required), limit. Returns: data, taint_level, taint_warning

search_by_sourceA
Read-only
Inspect

Search your corpus filtered to a specific source type. Use when you want results only from "youtube", "instagram", "web", "notion", "linkedin", "twitter", "github", "reddit", "pdf", "note", etc. Combines semantic + keyword fallback.

Inputs: query (required), source_type (required), limit. Returns: data, taint_level, taint_warning

search_knowledgeA
Read-only
Inspect

Full-text search over your personal BrainTube knowledge corpus. Searches across YouTube, Instagram, web, LinkedIn, GitHub, Twitter and more. Returns results ranked by recency with taint warnings.

Inputs: query (required), limit. Returns: data, taint_level, taint_warning

search_obsidianA
Read-only
Inspect

Search your local Obsidian vault via the Obsidian Local REST API plugin (exposed through Tailscale). Returns matching notes with title, file path, and a text excerpt. Requires OBSIDIAN_BRIDGE_URL and OBSIDIAN_API_KEY set in Railway env vars.

Inputs: query (required), limit. Returns: message, results

sync_readwiseAInspect

Import highlights from your Readwise library into your BrainTube corpus. Use mode=incremental (default) to fetch only new highlights, or mode=full to re-import everything. Requires connect_readwise first.

Inputs: mode. Returns: object

tag_cooccurrenceA
Read-only
Inspect

Find tags that frequently appear together across your corpus. Returns pairs sorted by co-occurrence count — useful for discovering implicit topic clusters and knowledge relationships.

Inputs: no named parameters. Returns: pairs

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 28 tools

    Disambiguation4/5

    Most tools have distinct purposes, but the multiple search variants (deep_search, search_knowledge, search_by_date_range, search_by_source, search_obsidian) could cause confusion despite their specific scopes. The knowledge graph tools are well-differentiated.

    Naming Consistency5/5

    All tool names follow a consistent snake_case convention with a clear verb_noun pattern. Examples like 'get_knowledge_graph', 'search_by_source', and 'sync_readwise' demonstrate uniform and predictable naming.

    Tool Count4/5

    28 tools is on the higher side, but the broad scope of personal knowledge management—covering search, graph traversal, sync, health, and retrieval—justifies the count. Could potentially be trimmed by merging some search tools.

    Completeness4/5

    The server covers a comprehensive range of operations: search, knowledge graph, statistics, health, sync with Readwise, and brain interaction. Minor gaps exist, such as lack of manual item creation/deletion, but core workflows are well-supported.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      This is a connector to allow Claude Desktop (or any MCP client) to read and search any directory containing Markdown notes (such as an Obsidian vault).
      837 npm
      1,352
      AGPL 3.0
    • A
      license
      A
      quality
      B
      maintenance
      Basic Memory is a knowledge management system that allows you to build a persistent semantic graph from conversations with AI assistants. All knowledge is stored in standard Markdown files on your computer, giving you full control and ownership of your data. Integrates directly with Obsidan.md
      2
      12
      10,713 PyPI
      4,572
      AGPL 3.0