pubdev_context 0.2.0 copy "pubdev_context: ^0.2.0" to clipboard
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_package tool — full metadata for a named package: scores, SDK constraints, dependencies, recent versions, and README excerpt; supports optional version pinning
  • get_changelog tool — parsed changelog as a newest-first list of entries with breaking flags; supports from_version lower bound and version_limit cap
  • compare_packages tool — side-by-side ComparisonMatrix for 2–5 packages; partial failures are reported per package without blocking the remaining columns
  • get_symbol_documentation tool — full dartdoc page for a specific API symbol as plain text
  • list_package_source_files tool — file paths in a package tarball with optional directory and fileExtension filters; shares the 1-hour cache entry with get_package_source_file
  • get_package_source_file tool — raw content of a single source file from the pub.dev package tarball; resolves version automatically when omitted; returns closest-filename suggestions on source_file_not_found
  • add-and-setup-package prompt — guides the LLM through reading a package README, explaining its purpose, writing boilerplate initialisation code, and listing native platform setup steps
  • analyze-upgrade-impact prompt — guides the LLM through retrieving changelog entries, identifying breaking changes between two versions, and rewriting affected source code
  • evaluate-alternatives prompt — guides the LLM through searching for packages matching a use case, comparing the top results, and producing a recommendation with a markdown comparison matrix
  • pub://meta/scoring resource — plain-text explanation of pub.dev's 160-point scoring system; embedded at compile time
  • pub://meta/sdk-versions resource — current stable Dart and Flutter SDK versions as a { dart, flutter } JSON object
  • pub://package/{name}/readme resource template — full package README as text/markdown
  • pub://package/{name}/example resource template — package example code as text/markdown
  • pub://package/{name}/api resource template — dartdoc symbol index as application/json
  • pub://package/{name}/changelog resource template — full changelog as text/markdown

0.1.0 - 2026-05-11 #

Added #

  • search_packages tool — 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-level and --cache-dir flags 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
1
likes
160
points
28
downloads

Documentation

API reference

Publisher

verified publisherphilippgerber.li

Weekly Downloads

A pub.dev intelligence MCP server for Dart and Flutter developers. Search, evaluate, compare, and inspect pub.dev packages from any AI agent.

Homepage
Repository (GitHub)
View/report issues

Topics

#mcp #pub-dev #dart #ai #flutter

License

MIT (license)

Dependencies

archive, cli_config, dart_mcp, http

More

Packages that depend on pubdev_context