Roam Research MCP Server
JSON →Access and manage your Roam Research graph via its API.
Install
npx roam-research-mcp Tools · 20
- roam_fetch_page_by_title Fetch page content by title.
- roam_fetch_page_full_view Fetch a page's content plus all linked references with breadcrumb context and children.
- roam_fetch_block Fetch a block by UID with optional children (depth) and/or ancestors (up to page root).
- roam_create_page Create new pages, optionally with mixed text and table content.
- roam_update_page_markdown Update a page using smart diff (preserves block UIDs).
- roam_get_subpages List sub-pages under a namespace prefix (e.g. 'Project/') with optional tag filter.
- roam_search_by_text Full-text search across the graph or within specific pages. Supports namespace prefix search for page titles.
- roam_search_block_refs Find blocks that reference a page, tag, or block UID.
- roam_search_by_status Find TODO or DONE items.
- roam_search_for_tag Find blocks containing specific tags (supports exclusion).
- roam_search_by_date Find blocks/pages by creation or modification date.
- roam_find_pages_modified_today List pages modified since midnight.
- roam_add_todo Add TODO items to today's daily page.
- roam_create_table Create properly formatted Roam tables.
- roam_create_outline Create hierarchical outlines.
- roam_process_batch_actions Execute multiple low-level actions (create, move, update, delete) in one batch.
- roam_move_block Move a block to a new parent or position.
- roam_remember Specialized tool for AI memory management within Roam.
- roam_recall Specialized tool for AI memory management within Roam.
- roam_datomic_query Execute raw Datalog queries for advanced data retrieval.
Environment variables
ROAM_SYSTEM_WRITE_KEYROAM_API_TOKENHTTP_STREAM_PORT
Links
★ 97 GitHub stars