Skip to main content
MCP server CX Codex

Porkbun (official) — Claude Code MCP server: features and setup

Connects an AI agent to Porkbun tools for domain and DNS tasks. Use it to check domain availability or inspect DNS records.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http mcp https://mcp.porkbun.com/mcp
Open on GitHub

What Porkbun (official) does

The MCP server exposes Porkbun API tools to an agent. It can check a domain’s availability and price, list account domains, and retrieve DNS records or current nameservers. It can also scan a domain’s live DNS before a transfer; zone data does not move with the transfer.

Porkbun hosts an HTTP endpoint, and Claude Code can connect to it directly. There is also a local npx setup that uses an API key and secret key. The hosted connection requires signing in to Porkbun and approving access. Some tools can spend account funds: buy_closeout purchases a domain closeout, so review the agent’s request before allowing it.

What it helps with

  • check a domain’s availability and registration price
  • inspect DNS records before a domain transfer
  • search for domains listed for sale
  • check a Porkbun account balance

Example prompts for the agent

  • Check whether example.com is available and find its registration price.
  • Show the DNS records for example.com before I transfer it.
  • Search for domains for sale that match this name.

How to install Porkbun (official)

1Platform CLI: remote server

claude mcp add --transport http mcp https://mcp.porkbun.com/mcp

2Platform CLI

claude mcp add --env PORKBUN_API_KEY=<PORKBUN_API_KEY> --env PORKBUN_SECRET_API_KEY=<PORKBUN_SECRET_API_KEY> --transport stdio porkbun-official -- npx -y @porkbunllc/mcp-server

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Porkbun (official)

How do I install Porkbun (official) in Claude Code?

For the hosted connection, run claude mcp add --transport http mcp https://mcp.porkbun.com/mcp, then sign in to Porkbun and approve access.

What does Porkbun (official) do?

It gives an AI agent tools for managing domain and DNS tasks through the Porkbun API, including availability checks and DNS record lookups.

Do I need an API key to connect?

The hosted endpoint uses Porkbun sign-in and approval, with no API key to copy. The local npx setup requires an API key and secret key.

Similar MCP servers

MCP servers catalog →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor