About PubDev MCP
PubDev MCP is an MCP server for discovering pub.dev packages through conversational, natural-language searches. It is intended for developers looking for packages and also provides basic arithmetic calculations.
Key features
- 01Natural-language pub.dev package search
- 02Conversational package discovery
- 03Package recommendations
- 04Basic arithmetic calculations
Use cases
- 01Find packages by describing a need
- 02Get package suggestions for a project
- 03Perform basic arithmetic through an MCP client
MCP support
It exposes pub.dev package search and basic arithmetic capabilities to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEPubDev MCP
This MCP provides functionality for searching pub.dev packages using natural language queries and performing basic arithmetic calculations. Powered by LLM integration, it enables intuitive package discovery through conversational interactions.
Features
- Natural language package search on pub.dev
- Use conversational queries to find packages
- Get intelligent package recommendations based on your needs
- Powered by LLM for better understanding of search intent
Installation
- Clone this repository
git clone [repository-url]
- Install dependencies
dart pub get
- Configure mcp.json
Add the following configuration to your
~/.cursor/mcp.json:
{
"mcpServers": {
"PubDev MCP": {
"command": "dart [path-to-repo]/bin/pubdev_mcp.dart",
"workingDirectory": "[path-to-repo]"
}
}
}
Replace [path-to-repo] with the actual path to your cloned repository.
Requirements
- Dart SDK
- Flutter (recommended)
License
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Create a Pull Request
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.