pub-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP server port | 3000 |
| CACHE_TTL | No | Cache TTL in seconds | 3600 |
| LOG_LEVEL | No | Logging level | info |
| GITHUB_TOKEN | No | GitHub token for higher rate limits | |
| GITHUB_API_URL | No | GitHub API URL | https://api.github.com |
| RETRY_ATTEMPTS | No | Retry attempts | 3 |
| CACHE_MAX_ITEMS | No | Maximum cache items | 500 |
| PUB_DEV_API_URL | No | pub.dev API URL | https://pub.dev/api |
| MAX_CONCURRENT_REQUESTS | No | Concurrent request limit | 5 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_packagesC | Search for packages on pub.dev by query with optional filters |
| get_package_infoC | Get detailed information about a specific package |
| get_package_versionsB | Get all available versions of a package |
| get_readmeC | Get the README content of a package |
| get_dependenciesC | Get the dependencies of a package |
| get_package_scoreC | Get package score and metrics (pana points, likes, downloads, tags) |
| get_changelogC | Get the changelog of a specific package version |
| get_exampleC | Get the example code of a package |
| get_package_metricsA | Get comprehensive metrics for a package (info + score + versions) |
| search_similar_packagesB | Find packages similar to a given package or by tags |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| popular_packages | List of popular Dart/Flutter packages from pub.dev |
| package_docs | Get package documentation and metrics |
TDQS
Scored across 10 tools
Most tools are clearly distinct (get_dependencies, get_changelog, get_example, get_readme, search_packages). However, get_package_score, get_package_metrics, and get_package_info overlap significantly—get_package_metrics explicitly bundles info + score + versions, making it hard to know which tool to call for a simple lookup.
All tools follow a consistent snake_case verb_noun pattern (get_* and search_*). No mixed conventions or vague verbs.
10 tools is well-scoped for a pub.dev package-inspection server. Each operation maps to a distinct facet of package data, and none feels like filler.
The surface covers search, info, versions, score, metrics, dependencies, changelog, example, and readme—a thorough read-only lifecycle. Minor gaps like retrieving a specific version's full metadata or publisher/ownership info are easily worked around.