OC

opencmc/coinmarketcap-cli

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

20 stars 品質 61 トレンド 24MIT

市場データ、履歴、監視、AI エージェントのワークフローの公式 CoinMarketCap CLI.

概要

安定した識別子、機械読み取り可能なペイロード、再現可能なワークフローを心配する人やエージェントのためのリサーチグレード、ターミナルネイティブ CoinMarketCap アクセス。 シンボルの曖昧さ、ペイロードの形状をシフトし、ブラウザ主導のワークフローが分析や自動化のためにあまりにも脆弱であるとき、cmcを使用してください。 規範的な CoinMarketCap ID を解決し、予測可能な stdout を維持し、ツールを変更することなく、検査、スクリプト、TUI 間で移動します。 リポジトリは、Claude Code と OpenClaw の専用のスキルを保有しているので、同じ cmc コマンド サーフェスはターミナルワークフローやエージェントネイティブ ツール プロンプトで直接使用できます。 cmc は、ワークフローがターミナルに住んでいるときに最も適しています。また、複数の可動部分で繰り返し、高データボリュームなアクセスが必要です。 出力を安定させ、手動 HTTP 配管を削減し、エージェントに検査、エクスポート、スクリプトを強制できる単一のコマンド サーフェスを与えます.

概要(AI 翻訳)

安定した識別子、機械読み取り可能なペイロード、再現可能なワークフローを心配する人やエージェントのためのリサーチグレード、ターミナルネイティブ CoinMarketCap アクセス。

シンボルの曖昧性、ペイロード形状のシフト、ブラウザ主導のワークフローが、解析や自動化の難しすぎる場合に[[[cmc]を使用します。 規範的な CoinMarketCap ID を解決し、予測可能な stdout を維持し、ツールを変更することなく、検査、スクリプト、TUI 間で移動します。

リポジトリは、Claude Code と OpenClaw の専用のスキルも用意しています。そのため、同じ [[cmc]] コマンドサーフェスは、ターミナルワークフローやエージェントネイティブのプロンプトで直接使用できます。

右ランタイムを選択します

[cmc は、ワークフローがターミナルに住んでいるときに最も適しています。また、いくつかの移動部品で、リピート可能な高データボリュームアクセスをしたいです。 出力を安定させ、手動 HTTP 配管を削減し、エージェントに検査、エクスポート、スクリプトを強制できる単一のコマンド サーフェスを与えます。

| ランニングタイム | ベストフィット | お問い合わせ お問い合わせ | CMC CLI | ターミナル・ファースト・アナリスト・パワー・ユーザー・エージェント | 安定的なJSON/table output, CSVエクスポート, [--dry-run]], TUI, エージェント・ネイティブ・ワークフローのClaude Code/OpenClawをバンドル |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

cmc - CoinMarketCap CLI

Research-grade, terminal-native CoinMarketCap access for people and agents that care about stable identifiers, machine-readable payloads, and reproducible workflows.

Use cmc when symbol ambiguity, shifting payload shapes, and browser-driven workflows are too fragile for your analysis or automation. Resolve to canonical CoinMarketCap IDs, keep stdout predictable, and move between inspection, scripting, and TUI without changing tools.

The repository also ships dedicated skills for Claude Code and OpenClaw, so the same cmc command surface can be used directly in terminal workflows or through agent-native tool prompts.

Choose The Right Runtime

cmc is the best fit when your workflow lives in the terminal and you want repeatable, high-data-volume access with fewer moving parts. It keeps output stable, reduces manual HTTP plumbing, and gives agents a single command surface they can inspect, export, and script against.

Runtime Best fit Why choose it
CMC CLI Terminal-first analysts, power users, and agents Stable JSON/table output, CSV export, --dry-run, TUI, and bundled Claude Code/OpenClaw skills for agent-native workflows
CMC Pro API Apps and services that want direct HTTP integration Lowest-level control when you are already building around the API and managing requests yourself
CMC MCP MCP-capable assistants and IDEs Convenient when the model should call CoinMarketCap tools inside an MCP runtime

If you need repeatable inspection, bulk pulls, or agent workflows that stay close to the shell, the CLI is usually the most ergonomic choice. If you are embedding CoinMarketCap data into a product or an MCP-native assistant, the API or MCP layer may be a better runtime match.

Try This First

No API key needed for these; they run on the Keyless Public API (see Keyless mode):

cmc price --id 1,1027
cmc api /v3/fear-and-greed/latest

These three show the core value quickly. All but --with-chain-stats also work without a key:

# Stable identity resolution
cmc resolve --id 1

# Quote plus chain-level enrichment in machine-readable form
cmc price --id 1 --with-info --with-chain-stats -o json | jq '.[] | .name, .symbol, .chain_stats'

# Chain-scoped discovery that is hard to do safely by hand
cmc search --chain ethereum --address 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Install

Homebrew and the shell installer are the primary paths.

# Homebrew
brew install openCMC/CoinMarketCap-CLI/cmc

# Shell installer (defaults to ~/.local/bin)
curl -sSfL https://raw.githubusercontent.com/openCMC/CoinMarketCap-CLI/main/install.sh | sh

If cmc is not on your PATH after the shell installer:

export PATH="$HOME/.local/bin:$PATH"

Build from source if you want the binary directly from the repository:

git clone [email protected]:openCMC/CoinMarketCap-CLI.git
cd CoinMarketCap-CLI
go build -o ./cmc .
./cmc version
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add opencmc/coinmarketcap-cli
MCP 初心者?mcpskill.org のガイドから始めましょう →