io.github.praveensehgal/remarkable
Enables AI assistants to access and search reMarkable notes and documents for use in Obsidian note-taking workflows.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.praveensehgal/remarkable search my notes for 'project plan'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
reMarkable MCP Server
Unlock the full potential of your reMarkable tablet as a second brain for AI assistants. This MCP server lets Claude, VS Code Copilot, and other AI tools read, search, and traverse your entire reMarkable library — including handwritten notes via OCR.
Why remarkable-mcp?
Your reMarkable tablet is a powerful tool for thinking, note-taking, and research. But that knowledge stays trapped on the device. This MCP server changes that:
Full library access — Browse folders, search documents, read any file
Typed text extraction — Native support for Type Folio and typed annotations
Handwriting OCR — Convert handwritten notes to searchable text
PDF & EPUB support — Extract text from documents, plus your annotations
Smart search — Find content across your entire library
Second brain integration — Use with Obsidian, note-taking apps, or any AI workflow
Whether you're researching, writing, or developing ideas, remarkable-mcp lets you leverage everything on your reMarkable through AI.
Related MCP server: remarkable-mcp
Quick Install
🔌 USB Web Interface (Recommended)
Connect via USB and enable the web interface in your tablet's Storage Settings.
Setup:
Connect your reMarkable via USB
On your tablet: Settings → Storage → Enable "USB web interface"
Install via the button above
Why USB Web?
✅ Fast offline access over USB
✅ No subscription required
✅ Simple — just enable in Storage Settings
Add to .vscode/mcp.json:
{
"servers": {
"remarkable": {
"command": "uvx",
"args": ["remarkable-mcp", "--usb"],
"env": {
"GOOGLE_VISION_API_KEY": "your-api-key"
}
}
}
}Troubleshooting:
Make sure your reMarkable is connected via USB and unlocked
Verify USB web interface is enabled in Settings → Storage
The tablet should be accessible at
http://10.11.99.1
⚡ SSH Mode (Advanced)
For power users who need direct filesystem access. Faster than USB Web but requires developer mode (factory reset).
Requirements: Developer mode enabled + USB connection to your reMarkable
Add to .vscode/mcp.json:
{
"servers": {
"remarkable": {
"command": "uvx",
"args": ["remarkable-mcp", "--ssh"],
"env": {
"GOOGLE_VISION_API_KEY": "your-api-key"
}
}
}
}See SSH Setup Guide for detailed instructions.
☁️ Cloud Mode (Wireless)
For wireless or remote access when USB isn't available. Requires a reMarkable Connect subscription and is significantly slower than USB modes.
1. Get a One-Time Code
Go to my.remarkable.com/device/desktop/connect and generate a code.
2. Convert to Token
uvx remarkable-mcp --register YOUR_CODE3. Install
Or configure manually in .vscode/mcp.json:
{
"inputs": [
{
"type": "promptString",
"id": "remarkable-token",
"description": "reMarkable API Token",
"password": true
},
{
"type": "promptString",
"id": "google-vision-key",
"description": "Google Vision API Key",
"password": true
}
],
"servers": {
"remarkable": {
"command": "uvx",
"args": ["remarkable-mcp"],
"env": {
"REMARKABLE_TOKEN": "${input:remarkable-token}",
"GOOGLE_VISION_API_KEY": "${input:google-vision-key}"
}
}
}
}Connection Modes
Choose the connection method that works best for you:
Mode | Setup Difficulty | Speed | Requirements | Best For |
🔌 USB Web (Recommended) | ✅ Easy | Fast | USB cable, enable in Storage Settings | Everyone |
⚡ SSH | ⚠️ Advanced | Very Fast | Developer mode, USB connection | Power users |
☁️ Cloud | ✅ Easy | Slow | reMarkable Connect subscription | Remote/wireless access |
📖 Detailed Setup Guides:
USB Web Interface Setup — Recommended — simple setup, full feature support
SSH Setup Guide — For advanced users who need filesystem access
Cloud setup is documented in the Quick Install section above
OpenClaw Integration
remarkable-mcp works as an OpenClaw skill. Add to your openclaw.json:
{
"mcpServers": {
"remarkable": {
"command": "uvx",
"args": ["remarkable-mcp", "--usb"]
}
}
}Install from ClawHub:
clawhub install remarkable-mcpOr copy the SKILL.md from this repository into your ~/.openclaw/skills/remarkable-mcp/ directory.
Tools
Tool | Description |
| Read and extract text from documents (with pagination and search) |
| Navigate folders, search by document name, or filter by tags |
| Search content across multiple documents (with tag filtering) |
| Get recently modified documents |
| Check connection status |
| Get PNG/SVG images of pages (supports OCR via sampling) |
| Upload a PDF or EPUB file to a folder on the tablet |
| Create folders with nested path support (mkdir -p) |
| Delete a document or folder (destructive) |
| Move or rename documents and folders |
All tools return structured JSON with hints for next actions.
Claude Code Integration
Add to your ~/.claude/settings.json:
{
"mcpServers": {
"remarkable": {
"command": "uvx",
"args": ["remarkable-mcp-rw", "--wifi"],
"env": {
"REMARKABLE_HOST": "http://YOUR_TABLET_IP"
}
}
}
}WiFi Setup
On your reMarkable: Settings → Storage → Enable "USB web interface"
Find your tablet's IP: Settings → General → About → IP address
Set
REMARKABLE_HOSTtohttp://YOUR_IPin the config aboveThe USB web interface works over both USB and WiFi on the same network
Smart Features
Auto-redirect — Browsing a document path returns its content automatically
Auto-OCR — Notebooks with no typed text automatically enable OCR
Batch search — Search across multiple documents in one call
Vision support — Get page images for visual context (diagrams, mockups, sketches)
Sampling OCR — Use client's AI for OCR on images (no API key needed)
Tag support — Filter and organize documents by tags
Example Usage
# Read a document
remarkable_read("Meeting Notes")
# Search for keywords
remarkable_read("Project Plan", grep="deadline")
# Enable OCR for handwritten notes
remarkable_read("Journal", include_ocr=True)
# Browse your library
remarkable_browse("/Work/Projects")
# Filter by tags
remarkable_browse("/", tags=["important"])
remarkable_browse("/Work", tags=["project", "active"])
# Search across documents
remarkable_search("meeting", grep="action items")
# Search with tag filter
remarkable_search("project", tags=["work"])
# Get recent documents
remarkable_recent(limit=10)
# Get a page image (for visual content like UI mockups or diagrams)
remarkable_image("UI Mockup", page=1)
# Get SVG for editing in design tools
remarkable_image("Wireframe", output_format="svg")
# Get image with OCR text extraction (uses sampling if configured)
remarkable_image("Handwritten Notes", include_ocr=True)
# Transparent background for compositing
remarkable_image("Logo Sketch", background="#00000000")
# Compatibility mode: return resource URI instead of embedded resource
remarkable_image("Diagram", compatibility=True)Resources
Documents are automatically registered as MCP resources:
URI Scheme | Description |
| Extracted text content |
| Original PDF file (SSH only) |
| Original EPUB file (SSH only) |
| PNG image of page N (notebooks only) |
| SVG vector image of page N (notebooks only) |
📖 Full Resources Documentation
OCR for Handwriting
For handwritten content, remarkable-mcp offers several OCR backends. Choose based on your setup and requirements:
Backend | Setup | Quality | Offline | Best For |
Sampling | No API key | Depends on client model | ✅ | Users with capable AI clients |
Google Vision | API key | Excellent | ❌ | Best handwriting accuracy |
Tesseract | System install | Poor for handwriting | ✅ | Printed text, offline fallback |
Quick Setup
Set REMARKABLE_OCR_BACKEND in your MCP config:
{
"env": {
"REMARKABLE_OCR_BACKEND": "sampling"
}
}Options: sampling, google, tesseract, auto
Uses your MCP client's AI model for OCR. Works with clients that support MCP sampling (VS Code + Copilot, Claude Desktop, etc.).
Pros:
No additional API keys needed
Quality depends on your client's model (GPT-4, Claude, etc.)
Private — handwriting stays local to your client
Cons:
Only available with sampling-capable clients
Falls back to Google Vision (if API key configured) or Tesseract if sampling unavailable
Provides consistently excellent handwriting recognition.
Setup:
Enable Cloud Vision API
Create an API key
Add to config:
"GOOGLE_VISION_API_KEY": "your-key"
Cost: 1,000 free requests/month, then ~$1.50 per 1,000.
📖 Full Google Vision Setup Guide
Open-source OCR designed for printed text. Poor results with handwriting, but useful as an offline fallback.
# Install Tesseract
# macOS
brew install tesseract
# Ubuntu/Debian
sudo apt install tesseract-ocr
# Windows
choco install tesseractDefault Behavior (auto)
When REMARKABLE_OCR_BACKEND=auto (default):
Google Vision (if
GOOGLE_VISION_API_KEYis set)Tesseract (fallback)
SSH vs Cloud Comparison
Feature | SSH Mode | Cloud API |
Speed | ⚡ 10-100x faster | Slower |
Offline | ✅ Yes | ❌ No |
Subscription | ✅ Not required | ❌ Connect required |
Raw files | ✅ PDFs, EPUBs | ❌ Not available |
Setup | Developer mode | One-time code |
Advanced Configuration
Root Path Filtering
Limit the MCP server to a specific folder on your reMarkable. All operations will be scoped to this folder:
{
"servers": {
"remarkable": {
"command": "uvx",
"args": ["remarkable-mcp", "--ssh"],
"env": {
"REMARKABLE_ROOT_PATH": "/Work",
"GOOGLE_VISION_API_KEY": "your-api-key"
}
}
}
}With this configuration:
remarkable_browse("/")shows contents of/Workremarkable_browse("/Projects")shows/Work/ProjectsDocuments outside
/Workare not accessible
Useful for:
Focusing on work documents during office hours
Separating personal and professional notes
Limiting scope for specific AI workflows
Custom Background Color
Set the default background color for image rendering:
{
"servers": {
"remarkable": {
"command": "uvx",
"args": ["remarkable-mcp", "--ssh"],
"env": {
"REMARKABLE_BACKGROUND_COLOR": "#FFFFFF"
}
}
}
}Supported formats:
#RRGGBB— RGB hex (e.g.,#FFFFFFfor white)#RRGGBBAA— RGBA hex (e.g.,#00000000for transparent)
Default is #FBFBFB (reMarkable paper color). This affects both the remarkable_image tool and image resources.
Use Cases
Research & Writing
Use remarkable-mcp while working in an Obsidian vault or similar to transfer knowledge from your handwritten notes into structured documents. AI can read your research notes and help develop your ideas.
Daily Review
Ask your AI assistant to summarize your recent notes, find action items, or identify patterns across your journal entries.
Document Search
Find that half-remembered note by searching across your entire library — including handwritten content.
Knowledge Management
Treat your reMarkable as a second brain that AI can access. Combined with tools like Obsidian, you can build a powerful personal knowledge system.
Documentation
Guide | Description |
Enable developer mode and configure SSH | |
Set up handwriting OCR | |
Detailed tool documentation | |
MCP resources documentation | |
MCP protocol capabilities | |
Contributing and development setup | |
Roadmap and planned features |
Development
git clone https://github.com/SamMorrowDrums/remarkable-mcp.git
cd remarkable-mcp
uv sync --all-extras
uv run pytest test_server.py -vLicense
MIT
Built with rmscene, PyMuPDF, and inspiration from ddvk/rmapi.
Available Tools
10 toolsremarkable_browseARead-onlyIdempotent
Browse your reMarkable library or search for documents. Three modes:
Browse mode (default): List contents of a folder
Use path="/" for root folder
Use path="/FolderName" to navigate into folders
Search mode: Find documents by name
Set query="search term" to search across all documents
Filter by tags: Find documents with specific tags
Set tags=["tag1", "tag2"] to filter by tags
Works in both browse and search modes
Results include document names, types, modification dates, and tags.
Note: If REMARKABLE_ROOT_PATH is configured, only documents within that folder are accessible. Paths are relative to the root path.
path: Folder path to browse (default: "/" for root)
query: Search term to find documents by name (optional, triggers search mode)
tags: List of tags to filter documents (optional, case-insensitive)
remarkable_browse() # List root folder
remarkable_browse("/Work") # List Work folder
remarkable_browse(query="meeting") # Search for "meeting"
remarkable_browse(tags=["important"]) # Show documents with "important" tag
remarkable_browse(query="project", tags=["work"]) # Search with tag filter
Inputs: path, query, tags. Returns: result
remarkable_deleteADestructive
Delete a document or folder from your reMarkable tablet. Permanently deletes the item at the given path. This cannot be undone.
For folders, all contents are deleted recursively. Use remarkable_browse to verify the path before deleting.
path: Exact path to the document or folder to delete
remarkable_delete("/01 Work/Old Project")
remarkable_delete("/05 Personal/Reading/finished-book.pdf")
Inputs: path (required). Returns: result
remarkable_imageARead-onlyIdempotent
Get an image of a specific page from a reMarkable document. Renders a notebook or document page as an image (PNG or SVG). This is useful for:
Viewing hand-drawn diagrams, sketches, or UI mockups
Getting visual context that text extraction might miss
Implementing designs based on hand-drawn wireframes
SVG format for scalable vector graphics that can be edited
Response Formats
By default, images are returned as embedded resources (EmbeddedResource) which include the full image data inline:
PNG: Returned as BlobResourceContents with base64-encoded data
SVG: Returned as TextResourceContents with SVG markup
If your client doesn't support embedded resources in tool responses, set compatibility=True to receive a JSON response with just the resource URI. The client can then fetch the resource separately.
Optionally, enable include_ocr=True to extract text from the image using OCR. When REMARKABLE_OCR_BACKEND=sampling is set and the client supports sampling, the client's own LLM will be used for OCR (no API keys needed).
Note: This works best with notebooks and handwritten content. For PDFs/EPUBs, the annotations layer is rendered (not the underlying PDF content).
document: Document name or path (use remarkable_browse to find documents)
page: Page number (default: 1, 1-indexed)
background: Background color as hex code. Supports RGB (#RRGGBB) or RGBA (#RRGGBBAA). Default is "#FBFBFB" (reMarkable paper color), or set REMARKABLE_BACKGROUND_COLOR env var to override. Use "#00000000" for transparent.
output_format: Output format - "png" (default) or "svg" for vector graphics
compatibility: If True, return resource URI in JSON instead of embedded resource. Use this if your client doesn't support embedded resources in tool responses.
include_ocr: Enable OCR text extraction from the image (default: False). When REMARKABLE_OCR_BACKEND=sampling, uses the client's LLM via MCP sampling.
remarkable_image("UI Mockup") # Get first page as embedded PNG resource
remarkable_image("Meeting Notes", page=2) # Get second page
remarkable_image("/Work/Designs/Wireframe", background="#FFFFFF") # White background
remarkable_image("Sketch", background="#00000000") # Transparent background
remarkable_image("Diagram", output_format="svg") # Get as embedded SVG resource
remarkable_image("Notes", compatibility=True) # Return resource URI for retry
remarkable_image("Notes", include_ocr=True) # Get image with OCR text extraction
Inputs: document (required), page, background, output_format, +2 more.
remarkable_mkdirA
Create a folder (or nested folders) on your reMarkable tablet. Creates the folder at the given path. If intermediate folders don't exist, they are created automatically (like mkdir -p).
Use this to set up your folder structure before uploading documents.
path: Full folder path to create (e.g., "/01 Work/NN Inc/Galaxy")
remarkable_mkdir("/01 Work")
remarkable_mkdir("/01 Work/USMS-JPATS/JMISFIN")
remarkable_mkdir("/05 Personal/Reading")
Inputs: path (required). Returns: result
remarkable_moveA
Move or rename a document/folder on your reMarkable tablet. Move a document or folder to a new location, optionally renaming it.
To rename without moving, set destination to the current parent folder. To move without renaming, omit new_name.
source: Current path of the item
destination: New parent folder path
new_name: Optional new name for the item
remarkable_move("/Meeting Notes", "/01 Work/USMS-JPATS")
remarkable_move("/old-name.pdf", "/", new_name="new-name.pdf")
remarkable_move("/01 Work/Doc", "/02 Archive", new_name="2026-Doc")
Inputs: source (required), destination (required), new_name. Returns: result
remarkable_readARead-onlyIdempotent
Read and extract text content from a reMarkable document. Extracts content from a document with pagination to preserve context window.
Content types:
"text" (default): Full extracted text (PDF/EPUB content + annotations)
"raw": Original PDF/EPUB text only (no annotations). SSH mode only.
"annotations": Only annotations, highlights, and handwritten notes
Use pagination to read large documents without overwhelming context:
Start with page=1 (default)
Check "more" field - if true, there's more content
Use "next_page" value to get the next page
Use grep to search for specific content on the current page.
When REMARKABLE_OCR_BACKEND=sampling is set and the client supports sampling, OCR will use the client's LLM for handwriting recognition (no API keys needed).
document: Document name or path (use remarkable_browse to find documents)
content_type: "text" (full), "raw" (PDF/EPUB only), "annotations" (notes only)
page: Page number (default: 1). For notebooks, this is the notebook page.
grep: Optional regex pattern to filter content (searches current page)
include_ocr: Enable handwriting OCR for annotations (default: False)
remarkable_read("Meeting Notes") # Get first page of text
remarkable_read("Book.pdf", content_type="raw") # Get raw PDF text
remarkable_read("Notes", content_type="annotations") # Only annotations
remarkable_read("Report", page=2) # Get second page
remarkable_read("Manual", grep="installation") # Search for keyword
Inputs: document (required), content_type, page, grep, +1 more. Returns: result
remarkable_recentARead-onlyIdempotent
Get your most recently modified documents. Returns documents sorted by modification date (newest first). Optionally includes a text preview of each document's content.
Use this to quickly find what you were working on recently.
Note: If REMARKABLE_ROOT_PATH is configured, only documents within that folder are included.
limit: Maximum documents to return (default: 10, max: 50 without preview, 10 with preview)
include_preview: Include first ~200 chars of text content (default: False)
remarkable_recent() # Last 10 documents
remarkable_recent(limit=5, include_preview=True) # With content preview
Inputs: limit, include_preview. Returns: result
remarkable_searchARead-onlyIdempotent
Search across multiple documents and return matching content. Searches document names for the query, then optionally searches content with grep. Can filter by tags to narrow results. Returns summaries from multiple documents in a single call.
This is efficient for finding information across your library without making many individual tool calls.
Limits:
Max 5 documents per search (to keep response size manageable)
Returns first page (~8000 chars) of each matching document
Use grep to filter to relevant sections
query: Search term for document names
grep: Optional pattern to search within document content
limit: Max documents to return (default: 5, max: 5)
include_ocr: Enable OCR for handwritten content (default: False)
tags: List of tags to filter documents (optional, case-insensitive)
remarkable_search("meeting") # Find docs with "meeting" in name
remarkable_search("journal", grep="project") # Find "project" in journals
remarkable_search("notes", include_ocr=True) # Search with OCR enabled
remarkable_search("project", tags=["work"]) # Find work-tagged projects
Inputs: query (required), grep, limit, include_ocr, +1 more. Returns: result
remarkable_statusARead-onlyIdempotent
Check connection status and authentication with reMarkable Cloud. Returns authentication status and diagnostic information. Use this to verify your connection or troubleshoot issues.
remarkable_status()
Inputs: no named parameters. Returns: result
remarkable_uploadA
Upload a PDF or EPUB file to your reMarkable tablet. Uploads a local file from your computer to the tablet. Only PDF and EPUB formats are supported.
The destination is a folder path on the tablet where the file will be placed. If the destination folder doesn't exist, use remarkable_mkdir first.
file_path: Absolute path to the local PDF or EPUB file
destination: Folder path on tablet (default: "/" for root)
remarkable_upload("/Users/praveen/report.pdf", "/01 Work/USMS-JPATS")
remarkable_upload("/tmp/ebook.epub", "/05 Personal/Reading")
remarkable_upload("/Users/praveen/notes.pdf")
Inputs: file_path (required), destination. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool has a clearly distinct purpose: browsing/searching, deleting, image rendering, folder creation, moving/renaming, text reading, recent documents, cross-document search, status check, and upload. No overlap in functionality.
All tools follow a consistent 'remarkable_verb' pattern using snake_case (e.g., remarkable_browse, remarkable_delete). The naming is predictable and easy to understand.
With 10 tools, the server covers the core operations for a reMarkable device (browse, read, upload, delete, move, etc.) without being overly large or too minimal. This is an appropriate scope.
The tool set covers the main lifecycle (CRUD for documents and folders, plus search and status). Minor gaps include lack of tag management (add/remove tags) and no trash/recycle bin, but these are not critical for core usage.
Maintenance
Related MCP Connectors
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
Linked markdown notes as memory for AI apps: search, read, save and link notes over MCP.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for AI agents to read, write, and organize notes in a local-first, human-in-the-loop note-taking app.2MIT
- AlicenseAqualityDmaintenanceAn MCP server that gives Claude direct access to your reMarkable tablet's notebooks, enabling document search, PDF rendering, handwriting transcription, and diagram conversion, all locally without API keys.63MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to read, search, and traverse your reMarkable tablet library, including handwritten notes via OCR, turning it into a second brain.1723MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that turns a Markdown folder (e.g. Obsidian vault) into a second brain, capturing readings and ideas, connecting them as concepts, and resurfacing related notes on demand.47 npmMIT