Skip to content
MCP server

Pub Dev MCP

pub.dev: Dart and Flutter package versions, descriptions and publishers - keyless.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.0
Listing updated
4 days ago

About Pub Dev MCP

Pub Dev MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add pub-dev-mcp -- npx -y @mrfentmen/pub-dev-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "pub-dev-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/pub-dev-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "pub-dev-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/pub-dev-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "pub-dev-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/pub-dev-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "pub-dev-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/pub-dev-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "pub-dev-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/pub-dev-mcp"
      ]
    }
  }
}

Pricing

Open source

Pub Dev MCP FAQ

Is Pub Dev MCP free?

Yes. Pub Dev MCP is open source, so you can use and self-host it for free.

How do I add Pub Dev MCP to Claude Code?

Run this command in your terminal: claude mcp add pub-dev-mcp -- npx -y @mrfentmen/pub-dev-mcp