Clipboard
Read and write the system clipboard from an AI assistant, keeping table structure
Clipboard is an open-source MCP server for productivity. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, macOS, Windows
- Runs
- Locally
- Version
- 2.6.3
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-clipboard -- uvx mcp-clipboardAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-clipboard": {
"command": "uvx",
"args": [
"mcp-clipboard"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-clipboard": {
"command": "uvx",
"args": [
"mcp-clipboard"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-clipboard": {
"command": "uvx",
"args": [
"mcp-clipboard"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-clipboard": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-clipboard"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-clipboard -- uvx mcp-clipboardOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-clipboard]
command = "uvx"
args = ["mcp-clipboard"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-clipboard": {
"command": "uvx",
"args": [
"mcp-clipboard"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-clipboard": { "command": "uvx", "args": [ "mcp-clipboard" ] } } }Or run: gemini mcp add -s user mcp-clipboard uvx -- mcp-clipboard
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-clipboard": { "command": "uvx", "args": [ "mcp-clipboard" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-clipboard": { "command": "uvx", "args": [ "mcp-clipboard" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-clipboard": { "command": "uvx", "args": [ "mcp-clipboard" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-clipboard": { "command": "uvx", "args": [ "mcp-clipboard" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-clipboard": { "command": "uvx", "args": [ "mcp-clipboard" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-clipboard": { "command": "uvx", "args": [ "mcp-clipboard" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-clipboard": { "command": "uvx", "args": [ "mcp-clipboard" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Clipboard
mcp-clipboard solves two annoyances. When you copy spreadsheet cells and paste them into a chat box, rows and columns collapse into flat text. This server reads the HTML that Sheets or Excel place on the clipboard and returns a Markdown table, JSON or CSV, with optional inferred column types. It also lets the assistant write clean text to the clipboard, which avoids the padding and hard line breaks the README says appear when copying from Claude Code's terminal.
Seven tools cover reading, writing and diagnostics. Writing supports plain text, HTML, RTF, SVG, Markdown rendered into rich and plain formats, and PNG or JPEG images. On Linux the server can also read the PRIMARY selection, the highlighted-text buffer, without pressing Ctrl-C.
It runs locally over stdio from a PyPI package with pipx or uv. macOS and Windows need nothing extra, while Linux needs wl-clipboard for Wayland or xclip for X11. The README reports Linux with Wayland as tested and actively used.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 7 tools read data; 5 names don't say.
From the server's own tool labels and tool names; not verified by us.
- clipboard_paste
- Reads any clipboard content, formatting tables as Markdown, JSON or CSV and returning images.
- clipboard_copy
- Writes text to the system clipboard with an optional MIME type.
- clipboard_copy_markdown
- Renders markdown to HTML and places both formats on the clipboard.
- clipboard_copy_image
- Writes a PNG or JPEG image to the clipboard from base64 bytes.
- clipboard_list_formatsName suggests: reads
- Lists the MIME types currently on the clipboard.
- clipboard_read_rawName suggests: reads
- Returns raw clipboard content for a MIME type, for diagnostics.
- clipboard_version
- Returns the running package version.
What it does
- Table-aware paste
- Spreadsheet cells come back as Markdown, JSON or CSV instead of flat text.
- Clean copy
- The assistant can write commands or text straight to the clipboard.
- Rich text copy
- Markdown is rendered so Slack, Gmail or Notion get formatting while terminals get source.
- Image support
- Read images from the clipboard or write PNG and JPEG images.
- Linux selection buffer
- Read highlighted text via the PRIMARY selection.
- Format inspection
- List the MIME types on the clipboard and read raw content.
Good for
- Paste a Google Sheets range into a chat with its structure intact
- Copy a shell command without terminal padding
- Ask what a highlighted error message means on Linux
- Put a rendered markdown reply into Slack or Gmail
Pricing
Open source
Open source on PyPI; free
Clipboard FAQ
Which platforms are supported?
macOS and Windows work with built-in tools; Linux needs wl-clipboard or xclip.
How do I run Clipboard?
It is a PyPI package launched over stdio with pipx or uv.
Can Clipboard read images?
Yes. clipboard_paste returns images as image content the model can see.
Does PRIMARY selection work on macOS?
No. It is Linux only and returns a clear error elsewhere.
Is Clipboard free?
Yes. Clipboard is open source, so you can use and self-host it for free.
How do I add Clipboard to Claude Code?
Run this command in your terminal: claude mcp add mcp-clipboard -- uvx mcp-clipboard
What are the best alternatives to Clipboard?
The closest alternatives to Clipboard are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


