This is a Model Context Protocol (MCP) server that provides access to cryptocurrency market data from the Nobitex API.
- Get market statistics for specific cryptocurrency pairs
- Get global cryptocurrency market statistics
getMarketStats: Fetch statistics for a specific cryptocurrency market pairgetGlobalStats: Fetch global cryptocurrency market statistics
-
Install dependencies:
npm install
-
Run the server:
npm run start
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
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- "What are the current Bitcoin prices in rials?"
- "What is the current global cryptocurrency market status?"