Integrates with macOS by connecting to the Maccy clipboard manager application, exposing clipboard history data for AI interaction.
Uses Node.js as the runtime environment for the MCP server, with configuration options for both built-in and system Node.js installations.
Connects directly to Maccy's SQLite database to access and query clipboard history for retrieval and management.
Maccy Clipboard MCP Server
An MCP (Model Context Protocol) server that exposes your Maccy clipboard history to Claude and other AI assistants.
⚠️ Important Security Warning
This tool provides Claude access to your entire clipboard history, which may contain sensitive information such as passwords, API keys, personal data, or confidential content. When connected to external AI systems, this data could potentially be transmitted outside your local machine.
By using this MCP server, you acknowledge and accept full responsibility for any data exposure or security risks. The author disclaims all responsibility for any unauthorized access, data leaks, or security breaches that may result from using this tool.
Use at your own risk. Consider your security requirements carefully before installation.
About Maccy
Maccy is a lightweight clipboard manager for macOS that keeps a history of everything you copy. It runs in your menu bar and stores clipboard items locally in a SQLite database. This MCP server connects directly to that database to give Claude access to your clipboard history, allowing you to search, retrieve, and manage your copied content through natural conversation.
Features
- 🔍 Search clipboard history with text patterns
- 📋 Get recent clipboard items with full content
- 🖼️ Image support - view images from clipboard history
- 📌 Pin/unpin important items
- 📊 View clipboard usage statistics
- 🗂️ Filter by application
- 📁 Export history to JSON/CSV/TXT formats
Prerequisites
- macOS with Maccy installed
- Node.js 16+
- Claude Desktop or other MCP-compatible client
Installation
Easy Installation (Recommended)
- Download the
maccy-clipboard-mcp.dxt
file from this repository - Double-click the
.dxt
file to open it in Claude Desktop - Claude Desktop will automatically install and configure the MCP server
- Restart Claude Desktop
Manual Installation
If you encounter issues with the .dxt installation:
- Clone this repository:
- Install dependencies:
- Add to Claude Desktop configuration (
~/Library/Application Support/Claude/claude_desktop_config.json
):
- Restart Claude Desktop
Troubleshooting
If you encounter issues loading the extension or Node.js related problems:
Required Node.js Configuration (if issues occur)
⚠️ If the extension fails to load, try disabling Claude Desktop's built-in Node.js:
- Install Node.js LTS: Visit nodejs.org and download the LTS version
- Configure Claude Desktop:
- Go to Claude > Settings > Extensions > Advanced Settings
- Disable "Use Built-in Node.js for MCP"
- Restart Claude Desktop
Some users may need to use their system's Node.js installation instead of Claude's built-in version.
Additional Troubleshooting Steps
If you still experience issues:
- Verify Node.js is installed: Run
node --version
in your terminal - Ensure "Use Built-in Node.js for MCP" is disabled in Claude Desktop settings
- Restart Claude Desktop completely
- Check the logs at
~/Library/Logs/Claude/
(macOS) or%LOCALAPPDATA%\Claude\Logs\
(Windows) for MCP server error details
Available Tools
- search_clipboard - Search by text pattern with filters
- get_recent_items - Get recent items with image support (images shown by default)
- copy_to_clipboard - Copy item back to clipboard (supports both text and images)
- pin_item / unpin_item - Manage pinned items
- export_history - Export to local file
- get_clipboard_stats - View usage statistics
- get_items_by_app - Filter by application with image support
Image Support
The server automatically detects and returns images from your clipboard history:
- Images are shown by default in recent items and searches
- Images are returned as base64-encoded data with thumbnail sizing (100px width)
- Supports PNG, JPEG, TIFF, and other common formats
- Images are marked with 🖼️ indicator
- Both text and image content can be copied back to the clipboard
Notes
- All data stays local on your machine
- The server has read-only access by default (except for pin/unpin operations)
- Large exports are written to local files to avoid MCP size limits
This server cannot be installed
An MCP server that gives Claude and other AI assistants access to your Maccy clipboard history, allowing search, retrieval, and management of copied content through natural conversation.
Related MCP Servers
- AsecurityFlicenseAqualityAn MCP server that allows Claude AI to perform filesystem operations including reading, writing, listing, moving files, and searching directories within specified allowed paths.Last updated -9101JavaScript
- -securityAlicense-qualityAn MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.Last updated -224PythonMIT License
- -securityFlicense-qualityAn MCP server that allows AI assistants like Claude to execute terminal commands on the user's computer and return the output, functioning like a terminal through AI.Last updated -46Python
- AsecurityAlicenseAqualityMCP server that provides Claude AI assistants with the ability to search the web, get news, and perform research using the You.com API.Last updated -4TypeScriptMIT License