Pub.dev MCP Server

Pub.dev MCP Server

pub-dev•bydevqxi

An MCP server that lets AI assistants search, analyze, and retrieve detailed information about Dart and Flutter packages from pub.dev.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Searches pub.dev packages with advanced filtering, sorting, and pagination.
  • •Retrieves package metadata, dependencies, statistics, and publisher information.
  • •Checks for updates and accesses package version history.
  • •Provides documentation access and compares dependencies between package versions.

BEST FOR

  • •Finding Dart or Flutter packages by popularity or other criteria.
  • •Looking up details and changelogs for specific packages and versions.
  • •Checking whether a package has newer versions available.

ABOUT PUB-DEV

Pub.dev MCP Server is cataloged as an MCP server attributed to devqxi. An MCP server that lets AI assistants search, analyze, and retrieve detailed information about Dart and Flutter packages from pub.dev. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Pub.dev MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server cache pub.dev data?

Yes, it includes a built-in 5-minute intelligent cache.

Can it compare dependencies between two package versions?

Yes, the compare_package_versions tool compares dependencies and changes between versions.

Upstream README

View this exact version on GitHub

README.md · 9639d7cfcadb · Fetched 2026-11-13 08:48:53 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Pub.dev MCP Server

A Model Context Protocol (MCP) server for pub.dev, the official package repository for Dart and Flutter.
It allows AI assistants to search, analyze, and retrieve detailed information about Dart/Flutter packages.

Pub.dev Server MCP server

✨ Features

  • 🔍 Package Search – Advanced filtering & sorting
  • 📦 Package Information – Metadata, dependencies, statistics
  • 🔄 Version Management – Check updates, compare versions, track history
  • 📚 Documentation Access – README, changelog, examples, API docs
  • ⚡ Caching – Built-in 5-minute intelligent cache
  • 🛠 Dependency Analysis – Compare dependencies between versions

📦 Installation

npm install -g @devqxi/pubdev-mcp-server

From Source

git clone https://github.com/devqxi/pubdev-mcp-server.git
cd pubdev-mcp-server
npm install
npm run build
npm run start

⚙️ Configuration

Claude Desktop

  1. Locate your configuration file:

    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Add:

{
  "mcpServers": {
    "pubdev": {
      "command": "npx",
      "args": ["@devqxi/pubdev-mcp-server"]
    }
  }
}
  1. Restart Claude Desktop.

Local Build Example:

{
  "mcpServers": {
    "pubdev": {
      "command": "node",
      "args": ["/path/to/pubdev-mcp-server/dist/pubdev-mcp.js"]
    }
  }
}

Other MCP Clients:

npx @devqxi/pubdev-mcp-server

🛠 Available Tools

ToolDescriptionKey Parameters
get_package_infoRetrieve package metadata, stats, dependencies, publisherspackageName
search_packagesSearch with filters and sortingquery, sort, page
check_package_updatesCheck if updates are availablepackageName, currentVersion
get_package_versionsGet version historypackageName, limit
get_documentation_changesGet README, changelog, examples, API docspackageName, version, docType
compare_package_versionsCompare dependencies & changes between versionspackageName, fromVersion, toVersion

📖 Example Commands

  • Search Packages
    "Search for state management packages sorted by popularity"

  • Package Details
    "Get information about the flutter_bloc package"

  • Check Updates
    "Check if provider has updates from version 6.0.0"

  • Get Docs
    "Get the changelog for dio version 4.0.0"

  • Compare Versions
    "Compare dependencies between http 2.0.0 and 3.0.0"


💻 Development

git clone https://github.com/devqxi/pubdev-mcp-server.git
cd pubdev-mcp-server
npm install
npm run build
npm run start

Test with MCP Inspector:

npx @modelcontextprotocol/inspector npx @devqxi/pubdev-mcp-server

🌐 API Reference

  • https://pub.dev/api/packages/{package}
  • https://pub.dev/api/search
  • https://pub.dev/api/packages/{package}/versions
  • https://pub.dev/packages/{package}/{version}/{doc-type}

🛡 Error Handling

  • Graceful handling of network & API failures
  • Clear errors for invalid/non-existent packages
  • Built-in delays for respectful rate limiting
  • Detailed validation messages for malformed requests

🤝 Contributing

  1. Fork & branch (git checkout -b feature/amazing-feature)
  2. Install deps (npm install)
  3. Build & test (npm run build && npm test)
  4. Commit & push (git commit -m 'Add feature' && git push)
  5. Open a Pull Request

📜 License

MIT – See LICENSE


📢 Support


🆕 Changelog

v1.0.0

  • Initial release
  • All major pub.dev API endpoints supported
  • Caching & error handling implemented
  • Full MCP protocol compliance

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Pub.dev MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/pub-dev)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools