Binance TypeScript MCP Server

Fetch real-time cryptocurrency prices from the Binance API

README.md

TypeScript MCP Project

This project implements a Model Context Protocol server using TypeScript.

Getting Started

  1. Build:
npm install
  1. Add to .vscode/mcp.json:
{
	"servers": {
		"binance-ts-mcp": {
			"command": "npx",
			"args": [
				"-y",
				"/FULL_PATH_GOES_HERE/typescript_mcp"
			]
		}
	},
	"inputs": []
}
  1. Type "what's the BTC price now" into Copilot, and you'll see it use this mcp to answer

  2. Debug with npx @modelcontextprotocol/inspector node /home/presence/AndroidStudioProjects/mcp-course/typescript_mcp/src/binance_mcp.ts

  3. Optionally, publish it to npmjs.com

Tools, resources

This project has a tool that connects to the Binance API to give the price of a given crypto symbol.

MCP resources provide easy access to files, database tables, API results, e.g. this project writes MCP activity log to a file resource.

Dependencies

  • @modelcontextprotocol/sdk: Core MCP functionality
  • zod: Runtime type checking
  • typescript: Development dependency for TypeScript compilation
  • @types/node: Type definitions for Node.js

Tools 1

get_crypto_priceFetches the current price of a specified cryptocurrency symbol from the Binance API.

Try it

What is the current BTC price?
Can you check the price of Ethereum right now?
What's the price of BNB?

Frequently Asked Questions

What are the key features of Binance TypeScript MCP?

Real-time cryptocurrency price retrieval from Binance. Logs MCP server activity to local file resources. Built with TypeScript and the Model Context Protocol SDK. Supports natural language queries for crypto market data.

What can I use Binance TypeScript MCP for?

Quickly checking current crypto prices during a coding session. Monitoring market trends directly within an AI-powered IDE. Integrating live financial data into AI-assisted research workflows.

How do I install Binance TypeScript MCP?

Install Binance TypeScript MCP by running: npx -y /FULL_PATH_GOES_HERE/typescript_mcp

What MCP clients work with Binance TypeScript MCP?

Binance TypeScript MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Binance TypeScript MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Open Conare