LocalFree server, account needed

Opn MCP server

ysalitrynskyi/opn-mcp

Shorten links, read click analytics, generate branded QR codes and manage links on opn.onl, the open-source, self-hostable URL shortener.

2 GitHub stars134 npm downloads / month

Install Opn in Claude Code

Claude Code
claude mcp add opn -e OPN_API_KEY=... -- npx -y opn-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "opn": {
      "command": "npx",
      "args": [
        "-y",
        "opn-mcp"
      ],
      "env": {
        "OPN_API_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Opn MCP server do?

Shorten links, read click analytics, generate branded QR codes and manage links on opn.onl, the open-source, self-hostable URL shortener.

Is the Opn MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Opn run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Opn to Claude Code?

Run: claude mcp add opn -e OPN_API_KEY=... -- npx -y opn-mcp

More developer tools MCP servers

View all