Get the FREE Ultimate OpenClaw Setup Guide →

pubdev

MCP server that provides comprehensive access to pub.dev, the official package repository for Dart and Flutter.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio devqxi-pubdev-mcp-server npx -y @devqxi/pubdev-mcp-server

How to use

This MCP server provides capabilities to search Pub.dev packages, retrieve detailed package information, inspect version histories, and access documentation and changelogs. It exposes tools such as get_package_info, search_packages, check_package_updates, get_package_versions, get_documentation_changes, and compare_package_versions. You can query by package name, apply filters or sort results, and compare versions to understand changes in dependencies or metadata. Typical usage involves starting the MCP server and invoking these tools through an MCP client or Inspector to build AI-assisted workflows for Dart and Flutter package analysis.

How to install

Prerequisites: Node.js and npm (or npm with npx available). A working Internet connection to fetch packages from npm. Administrative privileges may be required for global installations.

Option A — Install the MCP server globally (Recommended):

  1. Install the package globally:
npm install -g @devqxi/pubdev-mcp-server
  1. Run the server (example):
pubdev-mcp-server

Option B — Install from source:

  1. Clone the repository:
git clone https://github.com/devqxi/pubdev-mcp-server.git
cd pubdev-mcp-server
  1. Install dependencies and build:
npm install
npm run build
  1. Start the server:
npm run start

Option C — Using via npx (as configured in mcp_config):

npx -y @devqxi/pubdev-mcp-server

Note: If you are behind a proxy or firewall, ensure npm is configured to access the registry and that the bundling/build steps complete successfully before starting the server.

Additional notes

Tips and notes: - The server includes caching to speed up repeated queries; clear or adjust cache settings if you notice stale data. - If you encounter rate-limit or network errors, ensure your environment can reach pub.dev endpoints and consider enabling backoff strategies in your MCP client. - The npm package name is @devqxi/pubdev-mcp-server; you can also run via npx without installation if you prefer ephemeral instances. - For Claude Desktop or other MCP clients, you can configure the server using the example in the README under the Claude Desktop configuration section. - Supported tools can be extended in the future; keep an eye on the repository for new endpoints or enhancements.

Related MCP Servers

Sponsor this space

Reach thousands of developers