# Cowpin

This MCP server for Claude Code connects an agent to a Cowpin library of bookmarks and notes. It searches saved page text, retrieves archived content, and drafts cited briefings.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: cowpin-ai
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/cowpin-ai/mcp-server
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/cowpin

## What it does

Cowpin gives an MCP client access to saved links and notes. An agent can add a URL or text, search page contents by meaning or keyword, retrieve an archived page, and build a topic briefing with citations. Other tools can read a live page without saving it, publish a link to the public feed, or comment on a feed item.

The package is a stdio bridge that forwards requests over HTTPS to Cowpin’s hosted MCP endpoint. It stores nothing locally. Running it requires `npx` and either `COWPIN_AGENT_API_KEY` or `COWPIN_API_KEY`; account-based access also requires a verified email. Saved items remain private unless published.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `COWPIN_AGENT_API_KEY`, `COWPIN_API_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env COWPIN_AGENT_API_KEY=<COWPIN_AGENT_API_KEY> --env COWPIN_API_URL=<COWPIN_API_URL> --transport stdio cowpin -- npx -y @cowpin/mcp-server
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add cowpin --env COWPIN_AGENT_API_KEY=<COWPIN_AGENT_API_KEY> --env COWPIN_API_URL=<COWPIN_API_URL> -- npx -y @cowpin/mcp-server
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cowpin": {
            "command": "npx",
            "args": [
                "-y",
                "@cowpin/mcp-server"
            ],
            "env": {
                "COWPIN_AGENT_API_KEY": "<COWPIN_AGENT_API_KEY>",
                "COWPIN_API_URL": "<COWPIN_API_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cowpin": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@cowpin/mcp-server"
            ],
            "env": {
                "COWPIN_AGENT_API_KEY": "<COWPIN_AGENT_API_KEY>",
                "COWPIN_API_URL": "<COWPIN_API_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e COWPIN_AGENT_API_KEY=<COWPIN_AGENT_API_KEY> -e COWPIN_API_URL=<COWPIN_API_URL> cowpin npx -y @cowpin/mcp-server
```
Replace <…> with your own values

## When to use it
- save a link or text in a Cowpin library
- search saved pages by topic or keyword
- retrieve an archived page into the conversation
- create a cited briefing from saved material
- read a live page without adding it to the library

## Example prompts
- Save this link to Cowpin with the tag `research`.
- Find my saved material about sorting and summarize the closest matches.
- Read this page as Markdown without saving it.

## Similar
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
