RM

ratevert/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

3 stars 0 forks 质量 59 趋势 18MIT

ratevert/mcp 是从 https://github.com/ratevert/mcp. 导入的 MCP 候选服务器

概览

ratevert/mcp 是从 https://github.com/ratevert/mcp. 导入的 MCP 候选服务器

概述(AI 翻译)

Ratevert MCP 是一个公开的只读模型上下文协议 用于搜索和兑换货币、股票、加密货币、ETF 和 资金。它为需要标准资产身份的AI代理设计,即 准确的当前转换率、源代码的新鲜度(如有)以及 Ratevert URL 引用。

托管端点为:

它不需要API密钥。公开使用受限速率,需要比较请求 最多可包含四个资产(一个来源加三个目标)。

工具

工具 它的作用
search_assets 查找一个典型的Ratevert货币、股票、ETF、基金或加密资产。
get_rate 返回两个具有规范对 URL 的资产当前的一单位速率。
convert_amount 转换一个指定金额,返回准确的速率、四舍五入的显示值、新鲜度和源URL。
compare_assets 在一次请求中比较一个源资产与最多三个目标资产。

联系一位代理人

在任何兼容MCP的客户端中使用同一个远程可流式HTTP端点。

克劳德·科德

ChatGPT、Codex、OpenClaw 和 Hermes

在客户端配置中添加一个远程HTTP MCP服务器,命名为Ratevert。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Ratevert MCP

Ratevert MCP is a public, read-only Model Context Protocol server for searching and converting currencies, stocks, crypto, ETFs, and funds. It is designed for AI agents that need a canonical asset identity, an exact current conversion, source freshness when available, and a Ratevert URL to cite.

The hosted endpoint is:

https://ratevert.com/api/mcp

It requires no API key. Public usage is rate-limited and a comparison request may include up to four total assets (one source plus three targets).

Tools

Tool What it does
search_assets Finds a canonical Ratevert currency, stock, ETF, fund, or crypto asset.
get_rate Returns the current one-unit rate for two assets with a canonical pair URL.
convert_amount Converts one stated amount and returns the exact rate, rounded display value, freshness, and source URL.
compare_assets Compares one source asset with up to three target assets in one request.

Connect an agent

Use the same remote Streamable HTTP endpoint in any MCP-compatible client.

Claude Code

claude mcp add --transport http ratevert https://ratevert.com/api/mcp

ChatGPT, Codex, OpenClaw, and Hermes

Add a remote HTTP MCP server in the client configuration, name it Ratevert, and set the URL to https://ratevert.com/api/mcp. ChatGPT availability depends on the account and Developer Mode features provided by OpenAI; Ratevert is not published as a ChatGPT store plugin.

The official MCP Registry listing is com.ratevert/mcp. Use that as the public distribution channel; the hosted Streamable HTTP URL remains https://ratevert.com/api/mcp.

Human documentation and connection guidance: ratevert.com/mcp.

Run locally

Requirements:

  • Node.js 20 or newer
  • npm 10 or newer
npm ci
cp .env.example .env
npm start

The server binds to 127.0.0.1:3010 by default, exposing http://127.0.0.1:3010/mcp. It calls RATEVERT_MCP_API_BASE_URL for public Ratevert API data. When you host it behind a reverse proxy, keep RATEVERT_MCP_TRUST_PROXY limited to that known proxy and overwrite incoming forwarding headers at the proxy boundary.

Validate

npm test
npm run verify:release
npm pack --dry-run

For a deployed endpoint:

RATEVERT_MCP_TEST_URL=https://ratevert.com/api/mcp npm run smoke

Do not enable the optional rate-limit loop in production without using a separate test address: it intentionally sends repeated requests.

Data and limitations

Ratevert MCP is informational and read-only. Market data may be delayed or unavailable. Results include a retrieval timestamp and source freshness when the upstream asset data exposes it. The service is not investment, trading, tax, or payment advice.

Security

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →