Skip to main content
Glama

get_pub_package_info

Retrieve package details from pub.dev, including version information, metadata, and README content for Flutter/Dart development.

Instructions

Get package information from pub.dev including README content.

DEPRECATED: This tool is deprecated. Please use flutter_docs() instead with the "pub:" prefix (e.g., flutter_docs("pub:provider")).

Args: package_name: Name of the pub.dev package (e.g., "provider", "bloc", "dio") version: Optional specific version to fetch (e.g., "6.0.5", "2.5.1") tokens: Maximum token limit for response (default: 6000, min: 500)

Returns: Package information including version, description, metadata, and README

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
package_nameYes
versionNo
tokensNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adamsmaka/flutter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server