Pub.dev Package Search

by kikuchy

7 stars
236 downloads
Not rated
GitHub

About

Enables natural language search for Dart and Flutter packages on pub.dev, providing detailed package information, scores, and metrics through conversational queries.

Details

Author
kikuchy
Repository
kikuchy/pubdev_mcp
GitHub stars
7
Downloads
236
License
Apache License 2.0
Categories
AI, Developer Tools, Search, Knowledge Base, API, Other

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Pub.dev Package Search
    Command (node, npx, python, etc.) dart
    Arguments
    • Argument 1 [path-to-repo]/bin/pubdev_mcp.dart

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Clone this repository

git clone [repository-url]

2. Install dependencies

dart pub get

3. 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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "pub.dev package search": {
            "cwd": "[path-to-repo]",
            "env": {},
            "args": [
                "[path-to-repo]/bin/pubdev_mcp.dart"
            ],
            "command": "dart"
        }
    }
}

Linux

{
    "cwd": "[path-to-repo]",
    "env": [],
    "args": [
        "[path-to-repo]/bin/pubdev_mcp.dart"
    ],
    "command": "dart"
}

Macos

{
    "cwd": "[path-to-repo]",
    "env": [],
    "args": [
        "[path-to-repo]/bin/pubdev_mcp.dart"
    ],
    "command": "dart"
}

Windows

{
    "cwd": "[path-to-repo]",
    "env": [],
    "args": [
        "[path-to-repo]/bin/pubdev_mcp.dart"
    ],
    "command": "dart"
}

PubDev 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

1. Clone this repository

git clone [repository-url]

2. Install dependencies

dart pub get

3. 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

1. Fork the repository
2. Create a feature branch (git checkout -b feature/amazing-feature)
3. Commit your changes (git commit -m 'Add some amazing feature')
4. Push to the branch (git push origin feature/amazing-feature)
5. Create a Pull Request

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.