
一个模型上下文协议(MCP)服务器,提供来自Nobitex API的加密货币市场数据访问。
概览
这是一个模型上下文协议(MCP)服务器,提供从Nobitex API访问加密货币市场数据的访问。 - 获取特定加密货币对的市场统计- 获取全球加密货币市场统计 - getMarketStats:获取特定加密货币市场对的统计数据- getGlobalStats:获取全球加密货币市场统计数据 1. 打开 Claude 桌面设置 2.进入“开发者”部分,点击“编辑配置” 3.在您的 claude_desktop_config.json 中添加以下内容: 把 /path/to/this/repo 替换成你电脑上该仓库的实际路径。 evals 包加载一个 mcp 客户端,然后运行 index.ts 文件,因此无需在测试间重建。你可以通过在 npx 命令前缀加载环境变量。完整文档可以在这里找到。 - “当前比特币以里亚尔的价格是多少?”- “当前全球加密货币市场状况如何?”
概述(AI 翻译)
这是一个模型上下文协议(MCP)服务器,提供从Nobitex API访问加密货币市场数据的访问。
✨ 特色
- 获取特定加密货币对的市场统计数据
- 获取全球加密货币市场统计数据
🛠️ 工具
getMarketStats:获取特定加密货币市场对的统计数据getGlobalStats:获取全球加密货币市场统计数据
🚀 布置
-
安装依赖:
-
运行服务器:
🔗 使用 Claude Desktop
要将此服务器添加到Claude Desktop:
- 打开 Claude 桌面设置
- 进入“开发者”部分,点击“编辑配置”
- 在你的
claude_desktop_config.json中添加以下内容:
将/path/to/this/repo替换为你电脑上该仓库的实际路径。
- 重启 Claude 桌面
正在进行评估
evals 包加载一个 mcp 客户端,然后运行 index.ts 文件,因此无需在测试间重建。你可以通过在 npx 命令前缀加载环境变量。完整文档可以在这里找到。
示例提示
- “当前比特币以里亚尔为单位的价格是多少?”
- “当前全球加密货币市场状况如何?”
本页由 AI 翻译,技术细节请以原文为准。
README
📊 Nobitex Market Data MCP Server
This is a Model Context Protocol (MCP) server that provides access to cryptocurrency market data from the Nobitex API.
✨ Features
- Get market statistics for specific cryptocurrency pairs
- Get global cryptocurrency market statistics
🛠️ Tools
getMarketStats: Fetch statistics for a specific cryptocurrency market pairgetGlobalStats: Fetch global cryptocurrency market statistics
🚀 Setup
-
Install dependencies:
npm install -
Run the server:
npm run start
🔗 Usage with Claude Desktop
To add this server to Claude Desktop:
- Open Claude Desktop settings
- Go to the “Developer” section and click “Edit Config”
- Add the following to your
claude_desktop_config.json:
{
"mcpServers": {
"nobitex": {
"command": "npm",
"args": [
"--prefix",
"/path/to/this/repo",
"run",
"start"
]
}
}
}
Replace /path/to/this/repo with the actual path to this repository on your computer.
- Restart Claude Desktop
Running evals
The evals package loads an mcp client that then runs the index.ts file, so there is no need to rebuild between tests. You can load environment variables by prefixing the npx command. Full documentation can be found here.
OPENAI_API_KEY=your-key npx mcp-eval evals.ts tools/market.tools.ts
Example Prompts
- “What are the current Bitcoin prices in rials?”
- “What is the current global cryptocurrency market status?”
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"nobitex": {
"command": "npm",
"args": [
"--prefix",
"/path/to/this/repo",
"run",
"start"
]
}
}
}