- Home
- MCP servers
- PubDev
PubDev
- other
12
GitHub Stars
other
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"kikuchy-pubdev_mcp": {
"command": "dart",
"args": [
"[path-to-repo]/bin/pubdev_mcp.dart"
]
}
}
}This MCP lets you search pub.dev packages using natural language queries and perform basic arithmetic calculations within conversations. It enables intuitive package discovery powered by an embedded language model, making it easy to find and evaluate packages through natural prompts.
How to use
You connect to the PubDev MCP server through an MCP client and start a conversational session. Ask for package recommendations with natural language, for example “Find Dart packages for HTTP handling” or “Show me lightweight pub.dev packages for JSON parsing.” The MCP will interpret your intent, search pub.dev, and return relevant packages along with suggested options. You can refine results by asking follow-up questions or requesting more details about each package.
How to install
Prerequisites: you need the Dart SDK. Flutter is recommended but not strictly required for the MCP server.
-
Clone the repository.
-
Install dependencies.
-
Configure the MCP server connection.
-
Start using the MCP via your client.
Configuration and startup details
To run the PubDev MCP locally, configure a standard MCP server entry that launches the Dart script from the cloned repository. The recommended runtime is Dart executing the PubDev MCP script.
{
"mcpServers": {
"PubDev MCP": {
"command": "dart [path-to-repo]/bin/pubdev_mcp.dart",
"workingDirectory": "[path-to-repo]"
}
}
}
Notes
Ensure you replace [path-to-repo] with the actual path to your cloned repository. The MCP server in this configuration runs as a local process via Dart and does not require a remote URL.
Available tools
nlp_search
Performs natural language queries against pub.dev and returns relevant package results with recommendations.
calculate
Evaluates basic arithmetic expressions encountered during conversations.