
pub.dev
Connects to pub.dev to search, analyze, and manage Dart/Flutter packages directly from your AI assistant. Provides package information, version comparisons, dependency analysis, and documentation access.
Integrates with pub.dev to enable package discovery, version management, dependency analysis, and documentation retrieval for Dart and Flutter development workflows.
What it does
- Search pub.dev packages with advanced filters
- Get detailed package information and statistics
- Check for package updates and compare versions
- Analyze dependencies between package versions
- Retrieve documentation and changelogs
- Track version history and release dates
Best for
About pub.dev
pub.dev is a community-built MCP server published by devqxi that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrate with pub.dev for streamlined package discovery, version control, and dependency analysis in Dart and Flutter p It is categorized under developer tools. This server exposes 6 tools that AI clients can invoke during conversations and coding sessions.
How to install
You can install pub.dev in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport. This server supports remote connections over HTTP, so no local installation is required.
License
pub.dev is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Tools (6)
Get detailed information about a Dart/Flutter package from pub.dev
Check for updates to a specific package or compare versions
Get all available versions of a package with their release dates
Get documentation content and detect changes for a package
Compare two versions of a package and show differences
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.
✨ 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 (Recommended)
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
-
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
- Windows:
-
Add:
{
"mcpServers": {
"pubdev": {
"command": "npx",
"args": ["@devqxi/pubdev-mcp-server"]
}
}
}
- 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
| Tool | Description | Key Parameters |
|---|---|---|
| get_package_info | Retrieve package metadata, stats, dependencies, publishers | packageName |
| search_packages | Search with filters and sorting | query, sort, page |
| check_package_updates | Check if updates are available | packageName, currentVersion |
| get_package_versions | Get version history | packageName, limit |
| get_documentation_changes | Get README, changelog, examples, API docs | packageName, version, docType |
| compare_package_versions | Compare dependencies & changes between versions | packageName, 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/searchhttps://pub.dev/api/packages/{package}/versionshttps://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
- Fork & branch (
git checkout -b feature/amazing-feature) - Install deps (
npm install) - Build & test (
npm run build && npm test) - Commit & push (
git commit -m 'Add feature' && git push) - 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
Alternatives
Related Skills
Browse all skillsUI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.
Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".
Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.
Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.
Guide for building TypeScript CLIs with Bun. Use when creating command-line tools, adding subcommands to existing CLIs, or building developer tooling. Covers argument parsing, subcommand patterns, output formatting, and distribution.
Integrate Vercel AI SDK applications with You.com tools (web search, AI agent, content extraction). Use when developer mentions AI SDK, Vercel AI SDK, generateText, streamText, or You.com integration with AI SDK.