✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

Karakeep (Hoarder) MCP Server

This project provides a Mind Control Panel (MCP) compatible server that allows interactions (searching and creating bookmarks) with the Karakeep bookmarking service via its API.

It’s designed to be used by Large Language Models (LLMs) or other clients capable of making HTTP requests according to the MCP protocol defined by services like .

Features

  • Search Bookmarks: Find existing bookmarks in Karakeep based on a query string.
  • Create Bookmarks: Add new bookmarks to Karakeep with a URL and optional title/description.
  • MCP Compatible Endpoint: Exposes a single /mcp endpoint for actions.
  • Environment Variable Configuration: Securely configure your Hoarder API key.

Prerequisites

  • Python 3.8+
  • A Karakeep account and API Key (See Karakeep API Docs)
  • Access to a hosting platform (e.g., Render, Heroku, Fly.io, VPS) or Docker for deployment.

Setup and Local Development

  1. Clone the repository:

    git clone <your-repository-url>
    cd hoarder-mcp-server
    
  2. Create a virtual environment (recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows use `venvScriptsactivate`
    
  3. Install dependencies:

    pip install -r requirements.txt
    
  4. Configure Environment Variables:

    • Create a file named .env in the project root.
    • Add your Hoarder API key to it:
      HOARDER_API_KEY="YOUR_HOARDER_API_KEY_HERE"
      
    • Important: Make sure .env is listed in your .gitignore file to avoid committing secrets.
  5. Run the server locally:

    uvicorn main:app --reload --port 8000
    

    The server will be available at http://127.0.0.1:8000. The --reload flag automatically restarts the server when code changes are detected.

API Usage

The server exposes a single POST endpoint: /mcp.

Request Body (JSON):

{
  "action": "action_name",
  "parameters": {
    "param1": "value1",
    "param2": "value2"
    // ... action-specific parameters
  }
}

Featured Templates

View More
AI Characters
Sarcastic AI Chat Bot
129 2038
AI Characters
Your Speaking Avatar
171 930
AI Assistants
AI Chatbot Starter Kit v0.1
141 1202
AI Assistants
Image to text with Claude 3
155 1658
AI Assistants
Talk with Claude 3
160 2068

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.