{
  "markdown": "# CoinMarketCap Extension for Gemini CLI\n\nThe CoinMarketCap extension for Gemini CLI brings real-time and historical cryptocurrency market data to your command line. Query prices, market caps, exchange data, trending coins, and more — without leaving your terminal.\n\n## Prerequisites\n\nYou will need either:\n\n- A **CoinMarketCap API key** (`X-CMC-MCP-API-KEY`), or\n- A **CoinMarketCap account** for OAuth-based authentication (a browser window will open on first use)\n\n## Installation\n\nInstall the extension by running the following command from your terminal:\n\n```\ngemini extensions install https://github.com/openCMC/mcp-gemini-cli-extension\n```\n\n## Authentication\n\n### API Key (recommended)\n\nAfter installation, set your API key via the extension settings:\n\n```\ngemini extensions settings coinmarketcap\n```\n\nWhen prompted for **CoinMarketCap API Key**, enter your key. It is stored securely in your system keychain and injected at runtime.\n\nAlternatively, export it as an environment variable before running Gemini CLI:\n\n```\nexport CMC_API_KEY=your_api_key_here\n```\n\n### OAuth\n\nIf no API key is configured, a browser window will open automatically on first use to complete OAuth sign-in. This is handled transparently by the extension.\n\n## Usage\n\nOnce installed, you can ask Gemini about crypto market data naturally. Here are some examples:\n\n**Get the current price of a coin:**\n\n> \"What is the current price of Bitcoin?\"\n\n**Check market leaders:**\n\n> \"Show me the top 10 coins by market cap.\"\n\n**Track volume and momentum:**\n\n> \"What's the 24h trading volume for Ethereum?\"\n> \"Which coins are trending right now?\"\n\n**Explore listings:**\n\n> \"List all new coins added in the last 7 days.\"\n\n**Get macro market data:**\n\n> \"What is the current crypto Fear & Greed index?\"\n> \"What are today's global crypto market stats?\"\n\n**Historical OHLCV data:**\n\n> \"Give me OHLCV data for SOL over the last 30 days.\"\n\n## Resources\n\n- [CoinMarketCap API Documentation](https://coinmarketcap.com/api/documentation/v1/): Full reference for available data endpoints.\n- [GitHub Issues](https://github.com/openCMC/mcp-gemini-cli-extension/issues): Report bugs or request features.\n\n## Important Security Consideration: Indirect Prompt Injection Risk\n\nWhen exposing any language model to untrusted data, there is a risk of an [indirect prompt injection attack](https://en.wikipedia.org/wiki/Prompt_injection).\n\n- Never use this extension alongside untrusted tools in the same session.\n- Always review actions taken by Gemini CLI on your behalf to ensure they align with your intentions.\n- Your API key grants access to your CoinMarketCap account quota — do not share it or commit it to source control.\n\n## 📄 Legal\n\n- **License**: [Apache License 2.0](./LICENSE)\n- **Terms of Service**: [CoinMarketCap Terms](https://coinmarketcap.com/terms/)\n- **Privacy Policy**: [CoinMarketCap Privacy Policy](https://coinmarketcap.com/privacy/)\n",
  "bytes": 2911,
  "sha": "c5911b2f5dc615ed7db9eb9fd4e6a6d9c115e975dc557c7f7177ea0cb931f9e2",
  "repo_slug": "opencmc/mcp-gemini-cli-extension",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_opencmc_mcp_gemini_cli_extension_7cd34fed/readme"
}