pubdev_context 0.2.0
pubdev_context: ^0.2.0 copied to clipboard
A pub.dev intelligence MCP server for Dart and Flutter developers. Search, evaluate, compare, and inspect pub.dev packages from any AI agent.
Changelog #
All notable changes to pubdev_context are documented here.
Format follows Keep a Changelog.
0.2.0 - 2026-05-21 #
Added #
get_packagetool — full metadata for a named package: scores, SDK constraints, dependencies, recent versions, and README excerpt; supports optional version pinningget_changelogtool — parsed changelog as a newest-first list of entries withbreakingflags; supportsfrom_versionlower bound andversion_limitcapcompare_packagestool — side-by-sideComparisonMatrixfor 2–5 packages; partial failures are reported per package without blocking the remaining columnsget_symbol_documentationtool — full dartdoc page for a specific API symbol as plain textlist_package_source_filestool — file paths in a package tarball with optionaldirectoryandfileExtensionfilters; shares the 1-hour cache entry withget_package_source_fileget_package_source_filetool — raw content of a single source file from the pub.dev package tarball; resolves version automatically when omitted; returns closest-filename suggestions onsource_file_not_foundadd-and-setup-packageprompt — guides the LLM through reading a package README, explaining its purpose, writing boilerplate initialisation code, and listing native platform setup stepsanalyze-upgrade-impactprompt — guides the LLM through retrieving changelog entries, identifying breaking changes between two versions, and rewriting affected source codeevaluate-alternativesprompt — guides the LLM through searching for packages matching a use case, comparing the top results, and producing a recommendation with a markdown comparison matrixpub://meta/scoringresource — plain-text explanation of pub.dev's 160-point scoring system; embedded at compile timepub://meta/sdk-versionsresource — current stable Dart and Flutter SDK versions as a{ dart, flutter }JSON objectpub://package/{name}/readmeresource template — full package README astext/markdownpub://package/{name}/exampleresource template — package example code astext/markdownpub://package/{name}/apiresource template — dartdoc symbol index asapplication/jsonpub://package/{name}/changelogresource template — full changelog astext/markdown
0.1.0 - 2026-05-11 #
Added #
search_packagestool — search pub.dev by keyword with optional SDK, platform, and sort filters- In-memory TTL response cache with per-entry expiry (5-minute TTL for search results)
- CLI configuration via
--log-leveland--cache-dirflags with env var fallback - Stdio transport over stdin/stdout (via
dart_mcp ^0.5.1)
dart_mcp Compatibility #
| pubdev_context | dart_mcp |
|---|---|
0.2.x |
^0.5.1 |
0.1.x |
^0.5.1 |