The RemNote MCP Server bridges AI agents to your RemNote knowledge base, enabling conversational interaction through MCP tools:
Create Notes - Generate new notes with titles, content (as child bullets), parent hierarchy, and tags
Search Knowledge Base - Perform full-text searches with configurable result limits (1-100) and optional content inclusion
Read Notes - Retrieve specific notes by Rem ID with adjustable child depth (0-10 levels)
Update Notes - Modify existing notes by changing titles, appending content, or adding/removing tags
Journal Entries - Append timestamped entries to today's daily document
Connection Status - Monitor server and plugin connection health and statistics
Multi-Agent Support - Allow multiple AI agents to connect simultaneously through independent MCP sessions
Remote Access - Support cloud-based AI services through secure HTTP transport with tunneling
Compatible with Claude Code CLI, Claude Cowork, Accomplish, and any MCP client supporting Streamable HTTP transport.
Click on "Install 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., "@RemNote MCP Serversearch for my notes on the system architecture"
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.
RemNote MCP Server
MCP server that bridges AI agents (e.g. Claude Code) to RemNote via the RemNote Automation Bridge plugin.
This is a working solution, but still experimental. If you run into any issues, please report them here.
What is This?
The RemNote MCP Server enables AI assistants like Claude Code to interact directly with your RemNote knowledge base through the Model Context Protocol (MCP). Create notes, hierarchical markdown trees, and RemNote-native flashcards; search and read your knowledge base; update existing notes; and maintain your daily journal, all through conversational commands.
For some agentic workflows or CLI-first automation, the companion app remnote-cli may be a better fit than running a full MCP server.
Demo
See AI agent examples in action with RemNote: View Demo →
Two-Component Architecture
This system consists of two separate components that work together:
RemNote Automation Bridge - A RemNote plugin that runs in your browser or RemNote desktop app and exposes RemNote API functionality via WebSocket
RemNote MCP Server (this project) - A standalone server that connects your AI assistant to the bridge using MCP protocol
Both components are required for AI integration with RemNote.
For the detailed bridge connection lifecycle, retry phases, and wake-up triggers, use the bridge repo as the source of truth: Connection Lifecycle Guide.
How It Works
AI agents (HTTP) ↔ MCP HTTP Server :3001 ↔ WebSocket Server :3002 ↔ RemNote Plugin ↔ RemNoteThe server acts as a bridge:
Communicates with AI agents via Streamable HTTP transport (MCP protocol) - supports both local and remote access
HTTP server (port 3001) manages MCP sessions for multiple concurrent agents
WebSocket server (port 3002) connects to the RemNote browser plugin
Translates MCP tool calls into RemNote API actions
Multi-Agent Support: Multiple AI agents can connect simultaneously to the same RemNote knowledge base. Each agent gets its own MCP session while sharing the WebSocket bridge.
Remote Access: By default, the server binds to localhost (127.0.0.1) for local AI agents. Cloud-based services like Claude Cowork require remote access—use tunneling tools like ngrok to expose the HTTP endpoint securely. The WebSocket connection always stays local for security. See Remote Access Guide for setup.
Features
Create Notes & Flashcards - Create simple notes, hierarchical markdown trees, or RemNote-native flashcards
Search Knowledge Base - Run full-text searches or tag-based searches with ancestor context
Read Notes - Retrieve note content in markdown or structured form with configurable traversal depth
Update Notes - Modify titles, append or replace hierarchical content, and manage tags
Journal Entries - Append timestamped daily entries, including hierarchical markdown content
Agent Playbook - Return built-in navigation and safety guidance for MCP clients
Connection Status - Check server and plugin connection health
Quick Start
1. Install the Server
Version compatibility (
0.xsemver): install aremnote-mcp-serverversion compatible with your installed RemNote Automation Bridge plugin version. See the Bridge / Consumer Version Compatibility Guide.
npm install -g remnote-mcp-server2. Install the RemNote Plugin
Install the RemNote Automation Bridge plugin in your RemNote app.
Currently available from GitHub; registration in the RemNote marketplace is pending approval. Configure the plugin
to connect to ws://127.0.0.1:3002.
3. Start the Server
remnote-mcp-serverExpected output:
RemNote MCP Server v0.2.1 listening { wsPort: 3002, httpPort: 3001 }Keep this terminal running.
4. Configure Your AI Client
Configuration Guide - Overview and generic setup
ChatGPT - ChatGPT Apps configuration
Claude Cowork - Cloud-based (requires remote access setup)
Claude Code CLI - Detailed Claude Code CLI configuration
Accomplish - Accomplish (Openwork) configuration
Documentation
Getting Started
Installation Guide - Complete installation instructions
Bridge / Consumer Version Compatibility Guide - Match server version to installed bridge plugin version (
0.xsemver)Bridge Connection Lifecycle - Canonical bridge connect/retry behavior
Configuration Guide - Configure Claude Code CLI, Accomplish, and other clients
ChatGPT Configuration Guide - Set up ChatGPT Apps with your MCP server
Demo & Screenshots - See the server in action with different AI clients
Usage
CLI Options Reference - Command-line options and environment variables
MCP Tools Reference - Detailed reference for all 8 RemNote tools
Remote Access Setup - Expose server for Claude Cowork (ngrok, etc.)
Help & Advanced
Troubleshooting - Common issues and solutions
Architecture - Design rationale and technical architecture
Development
Development Setup - Contributing guide for developers
Integration Testing - End-to-end validation against a live RemNote instance
Publishing Guide - npm publishing process (maintainers only)
Available MCP Tools
Tool | Description |
| Create notes, markdown trees, or flashcards with title, content, parent, and tags |
| Search knowledge base with full-text search |
| Search by tag with ancestor-context resolution |
| Read note by ID in markdown or structured form |
| Update title, append/replace content, or modify tags |
| Append hierarchical content to today's daily document |
| Get recommended MCP usage/navigation playbook |
| Check connection status and statistics |
See the Tools Reference for detailed usage and examples.
Supported AI Clients
Claude Code CLI - Local terminal-based agent
Claude Cowork - Cloud-based workspace (requires remote access)
Accomplish - Task-based MCP client (formerly Openwork)
Any MCP client supporting Streamable HTTP transport
Example Usage
Create notes:
Create a note about "Project Ideas" with content:
- AI-powered note taking
- Personal knowledge managementSearch:
Search my RemNote for notes about "machine learning"Update notes:
Add a tag "important" to note abc123Journal entries:
Add to my journal: "Completed the RemNote MCP integration"See the Tools Reference for more examples.
Configuration
Environment Variables
REMNOTE_HTTP_PORT- HTTP MCP server port (default: 3001)REMNOTE_HTTP_HOST- HTTP server bind address (default: 127.0.0.1)REMNOTE_WS_PORT- WebSocket server port (default: 3002)
Custom Ports
remnote-mcp-server --http-port 3003 --ws-port 3004After changing ports, update your MCP client configuration and RemNote plugin settings.
See CLI Options Reference for all options.
Troubleshooting
Server won't start:
Check ports aren't in use:
lsof -i :3001andlsof -i :3002Verify installation:
which remnote-mcp-server
Plugin won't connect:
Verify plugin settings: WebSocket URL
ws://127.0.0.1:3002Check server is running:
lsof -i :3002
Tools not appearing:
Verify configuration:
claude mcp listRestart Claude Code completely
If this started after upgrades, verify bridge/server version compatibility (
0.xminor versions may break); see the Bridge / Consumer Version Compatibility Guide
See the Troubleshooting Guide for detailed solutions.
Contributing & Development
Development setup:
Version compatibility tip: when testing against a local or marketplace-installed bridge plugin, use a server checkout/tag compatible with that bridge plugin version (see the Bridge / Consumer Version Compatibility Guide).
git clone https://github.com/robert7/remnote-mcp-server.git
cd remnote-mcp-server
npm install
npm run build
npm linkDevelopment workflow:
npm run dev # Watch mode with hot reload
npm test # Run test suite
./code-quality.sh # Run all quality checksSee the Development Setup Guide for complete instructions.
Related Projects
RemNote Automation Bridge - Browser plugin for RemNote integration
Model Context Protocol - Open protocol for AI-application integration
License
MIT
Links
Documentation - Complete documentation
GitHub Issues - Bug reports and feature requests
npm Package - Official npm package
CHANGELOG - Version history and roadmap