remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Raindrop.io MCP Server
This project provides a Model Context Protocol (MCP) server for interacting with the Raindrop.io bookmarking service. It allows Language Models (LLMs) and other AI agents to access and manage your Raindrop.io data through the MCP standard.
Features
- CRUD Operations: Create, Read, Update, and Delete collections and bookmarks.
- Advanced Search: Filter bookmarks by various criteria like tags, domain, type, creation date, etc.
- Tag Management: List, rename, merge, and delete tags.
- Highlight Access: Retrieve text highlights from bookmarks.
- Collection Management: Reorder, expand/collapse, merge, and remove empty collections.
- File Upload: Upload files directly to Raindrop.io.
- Reminders: Set reminders for specific bookmarks.
- Import/Export: Initiate and check the status of bookmark imports and exports.
- Trash Management: Empty the trash.
- MCP Compliance: Exposes Raindrop.io functionalities as MCP resources and tools.
- Streaming Support: Provides real-time SSE (Server-Sent Events) endpoints for streaming bookmark updates.
- Built with TypeScript: Strong typing for better maintainability.
- Uses Axios: For making requests to the Raindrop.io API.
- Uses Zod: For robust schema validation of API parameters and responses.
- Uses MCP SDK: Leverages the official
@modelcontextprotocol/sdk
.
Prerequisites
- Node.js (v18 or later recommended) or Bun
- A Raindrop.io account
- A Raindrop.io API Access Token (create one in your Raindrop.io settings)
Installation and Usage
Using NPX (Recommended)
You can run the server directly using npx without installing it:
From Source
- Clone the repository:Copy
- Install dependencies:Copy
- Configure Environment Variables:
Create a
.env
file in the root directory by copying the example:Edit theCopy.env
file and add your Raindrop.io API Access Token:Copy - Build and Run:Copy
The server uses standard input/output (stdio) for communication by default, listening for requests on stdin and sending responses to stdout.
Usage with MCP Clients
Connect your MCP client (like an LLM agent) to the running server process via stdio. The server exposes the following resource URIs:
collections://all
- All collectionscollections://{parentId}/children
- Child collectionstags://all
- All tagstags://collection/{collectionId}
- Tags filtered by collectionhighlights://all
- All highlightshighlights://raindrop/{raindropId}
- Highlights for a specific bookmarkhighlights://collection/{collectionId}
- Highlights filtered by collectionbookmarks://collection/{collectionId}
- Bookmarks in a collectionbookmarks://raindrop/{id}
- Specific bookmark by IDuser://info
- User informationuser://stats
- User statistics
It also provides numerous tools for operational tasks such as collection management, bookmark operations, tag management, highlight operations, and user operations. For a detailed list of all available tools, refer to CLAUDE.md
or check src/services/mcp.service.ts
for definitions of resources and tools.
MCP Configuration
To use the Raindrop MCP server with your AI assistant or MCP-compatible client, you can add the following configuration to your .mcp.json
file:
For Claude Code or other MCP-compatible clients, this will register the Raindrop server under the name "raindrop" and make all of its resources and tools available to your AI assistant.
Development
- Testing:
bun test
- Type checking:
bun run type-check
- Build:
bun run build
- Development:
bun run dev
- Debug:
bun run debug
orbun run inspector
- HTTP server:
bun run start:http
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
You must be authenticated.
Tools
MCP Server for accessing Raindrop.io bookmark manager.