mcpField
C
cryptoprice

cryptoprice

Local
github.com/CloudCorpRecordsFinance0Updated 2w ago

About cryptoprice

cryptoprice is a CLI and stdio MCP server for querying public cryptocurrency data from CoinGecko. It provides current and historical market data, coin search, global figures, and trending results without requiring an API key.

Key features

  1. 01Check CoinGecko API status
  2. 02Get current prices and coin details
  3. 03List and search coins and exchanges
  4. 04Retrieve historical market charts
  5. 05View global and trending data

Use cases

  1. 01Check prices across coins and currencies
  2. 02Look up coin details and exchange matches
  3. 03Review historical market movements
  4. 04Inspect global market figures and trending assets

MCP support

It runs as a stdio MCP server and exposes tools for CoinGecko status, prices, coin data, search, charts, global figures, and trending results. No API key is required.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"cloudcorprecords-cryptoprice": {
"command": "npx",
"args": [
"-y",
"@reneturcios/cryptoprice"
]
}
}
}
Run commandnpx -y @reneturcios/cryptoprice

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@reneturcios/cryptoprice0.1.0
ocighcr.io/cloudcorprecords/cryptoprice:0.1.0

Tools

8

Saved tool list · updated 1w ago

This tool takes no parameters.

Details

From the project README

cryptoprice

cryptoprice reads public cryptocurrency data from CoinGecko: whether the API is up, what coins cost right now, the full record for a single coin, the complete coin list, search across coins and exchanges, historical market charts, the global market picture, and what is trending. One binary serves a command-line interface and a stdio MCP server.

No API key is needed. CoinGecko's free tier is keyless, so cryptoprice works with nothing configured. If you do have a demo key, set COINGECKO_API_KEY and it will be sent as the x-cg-demo-api-key header; when the variable is absent or empty, no key header is sent and nothing fails for lack of a key. Free-tier rate limits apply to upstream calls.

Install

npx @reneturcios/cryptoprice ping

Or run the container image:

docker run -i ghcr.io/cloudcorprecords/cryptoprice

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

cryptoprice ping
cryptoprice price bitcoin,ethereum usd,eur --change
cryptoprice coin bitcoin
cryptoprice coins --platform
cryptoprice search "wrapped bitcoin"
cryptoprice chart ethereum eur 30
cryptoprice global
cryptoprice trending

cryptoprice --version

Each command prints the upstream JSON payload. Exit codes: 0 on success, 1 when a call fails (including an upstream API error such as a rate limit), 2 for usage errors.

MCP server

One bin serves both faces. The mcp subcommand starts a stdio MCP server:

npx -y @reneturcios/cryptoprice mcp

MCP client configuration:

{
  "mcpServers": {
    "cryptoprice": {
      "command": "npx",
      "args": ["-y", "@reneturcios/cryptoprice", "mcp"]
    }
  }
}
Tools
ToolInputWhat it returns
ping(none)The CoinGecko API status.
get_priceids, vs_currencies (required), include_24hr_change (optional)Current prices, optionally with 24h change.
get_coinid (required)Full data for one coin: description, links, and market data.
list_coinsinclude_platform (optional)All coins with IDs, symbols, and names.
search_coinsquery (required)Coins, exchanges, and categories matching the query.
get_market_chartid, vs_currency, days (required)Historical prices, market caps, and volumes.
get_global_data(none)Total market cap, volume, and dominance.
get_trending(none)Trending coins, NFTs, and categories.

All calls use the CoinGecko API under https://api.coingecko.com/api/v3. Identifiers such as ids and id are CoinGecko IDs (for example bitcoin), not symbols.

Development

npm install
npm run build   # tsc -> dist/
npm test        # node test runner over test/*.test.ts, no network (fake fetch fixtures)
npm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.