Skip to main content
Glama

pubdev-mcp

MCP server for pub.dev — live Dart & Flutter package knowledge for Copilot agent mode and any MCP client.

License: MIT npm

Zero API keys · Zero config · Node ≥ 18


What it gives your agent

Tool

What it does

get_package

Full package info: description, latest version, homepage, SDK constraints

latest_version

Latest versions of up to 20 packages at once (dependency bumps)

get_changelog

The CHANGELOG of a package version — know what changed before upgrading

check_compatibility

Compare your Flutter/Dart SDK constraints against a package's requirements

pub_score

pub.dev points, likes, downloads, platform tags — pick the healthy package

search_packages

Keyword search across pub.dev

Works in: GitHub Copilot agent mode (VS Code, JetBrains), Claude Desktop, Cursor, and any MCP client.

Related MCP server: Flutter Package MCP Server

Install

VS Code / GitHub Copilot

Add to .vscode/mcp.json (workspace) or user settings:

{
  "servers": {
    "pubdev": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "pubdev-mcp"]
    }
  }
}

Then in Copilot Chat (agent mode): "#pubdev get_package http" or just ask "what's the latest version of provider and will it work with my Flutter 3.24?"

JetBrains (PyCharm / IntelliJ)

~/.config/github-copilot/intellij/mcp.json:

{
  "servers": {
    "pubdev": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "pubdev-mcp"]
    }
  }
}

Claude Desktop

claude_desktop_config.json:

{
  "mcpServers": {
    "pubdev": { "command": "npx", "args": ["-y", "pubdev-mcp"] }
  }
}

How it works

Straight HTTP calls to the public pub.dev API — no keys, no scraping, no rate-limit tricks. Results are formatted as compact markdown so agent context stays small.

License

MIT — see LICENSE.

Available Tools

6 tools
check_compatibilityA

Check whether a package version supports your Flutter/Dart SDK. Pass the package name and your SDK constraints (e.g. dart: ^3.5.0, flutter: ^3.24.0).

Inputs: package (required), dart, flutter.

get_changelogA

Fetch the CHANGELOG.md of a pub.dev package version (latest or specific). Use before upgrading a dependency to learn what changed.

Inputs: package (required), version.

get_packageA

Get full pub.dev info for a Dart/Flutter package: description, latest version, homepage, SDK constraints, publish date. Use when a task mentions a pub.dev package.

Inputs: package (required).

latest_versionA

Get just the latest version number(s) of one or more pub.dev packages. Fast; use for dependency bumps.

Inputs: packages (required).

pub_scoreA

Get pub.dev quality/score metrics for a package: points, likes, downloads, platform tags. Use when choosing between alternative packages.

Inputs: package (required).

search_packagesA

Search pub.dev packages by keyword, sorted by relevance. Returns names + short descriptions.

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 6 tools

    Disambiguation4/5

    Each tool has a reasonably distinct role: broad lookup (get_package), narrow version check (latest_version), changelog, SDK compatibility, quality metrics, and search. The main overlap is get_package returning version and SDK constraints that latest_version and check_compatibility also provide, but descriptions explicitly steer agents toward the fast/specific variants.

    Naming Consistency3/5

    Most names follow verb_noun (get_package, get_changelog, check_compatibility, search_packages), but latest_version and pub_score break the pattern with noun-only forms, and verb styles vary (get_ vs check_ vs search_). Readable and mostly predictable, but not fully consistent.

    Tool Count5/5

    Six tools is well-scoped for a package registry lookup server; each tool corresponds to a distinct lookup need and none feels redundant or filler.

    Completeness4/5

    Core discovery and evaluation workflows are covered: search, full metadata, versions, changelogs, compatibility, and quality metrics. Minor gaps remain, such as listing all published versions or fetching dependencies/README content, which agents must work around.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to search, analyze, and retrieve detailed information about Dart and Flutter packages from pub.dev. Supports package discovery, version management, dependency analysis, and documentation access.
      6
      13 npm
      5
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Integrates the Pub.dev API with AI assistants to provide real-time Flutter package information, documentation, and trend analysis. It enables users to search for packages, compare versions, and evaluate quality scores through natural language commands.
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to search and retrieve detailed package information from multiple package registries (NPM, crates.io, NuGet, PyPI, Go).
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching pub.dev for Dart and Flutter packages by keyword, returning matching package names and pagination URLs.
      75 npm
      MIT