npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

asset-price-mcp

v1.2.0

Published

An MCP-compatible service that provides real-time asset prices including precious metals, cryptocurrencies, and more

Readme

资产价格 MCP 服务器 (asset-price-mcp)

English | 中文 | 日本語

概述

一个用于检索和展示当前资产价格信息的 MCP 服务器。此服务器提供工具来检索各种资产(包括贵金属和加密货币)的实时价格信息,便于大型语言模型访问和显示这些数据。

功能

  • 支持查询黄金、白银等贵金属价格 (来源: Gold API)
  • 支持查询加密货币价格 (来源: CoinGecko, Gold API)
  • 智能路由查询请求到可用的数据源
  • 自动缓存以提高响应速度和减少 API 调用

请注意,asset-price-mcp 目前处于开发阶段。

工具

get_asset_price

查询特定资产的价格。

参数:

  • symbol (可选): 资产代码 (如 "XAU", "BTC", "ETH")。如果不提供,默认返回主要资产价格列表。
  • currency (可选): 计价货币,默认为 "USD"。

list_assets

列出所有支持查询的资产列表。

入门

许多代码编辑器和其他 AI 客户端使用配置文件来管理 MCP 服务器。

可以通过在配置文件中添加以下内容来配置 asset-price-mcp 服务器。

MacOS/Linux

{
  "mcpServers": {
    "Asset Price MCP": {
      "command": "npx",
      "args": ["-y", "asset-price-mcp"]
    }
  }
}

Windows

{
  "mcpServers": {
    "Asset Price MCP": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "asset-price-mcp"]
    }
  }
}

构建

npm run build

许可证

此 MCP 服务器根据 MIT 许可证授权。这意味着您可以自由使用、修改和分发此软件,但需遵守 MIT 许可证的条款和条件。有关更多详细信息,请参阅项目仓库中的 LICENSE 文件。