get_btci
Retrieve Bithumb Index (BTMI, BTAI) data for cryptocurrency market analysis and trading decisions.
Instructions
Get Bithumb Index (BTMI, BTAI) information (Public)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/bitThumb/index.ts:104-107 (handler)The main handler function getBtci() in ApiBithumb class that performs the HTTP request to Bithumb's 'btci' public endpoint and casts the response to IGetBtci interface.public async getBtci(): Promise<IGetBtci> { const res = <IGetBtci>await this.requestPublic('btci'); return res; }
- src/index.ts:107-111 (registration)Tool registration in the MCP server's tools list, defining name, description, and empty input schema.{ name: 'get_btci', description: 'Get Bithumb Index (BTMI, BTAI) information (Public)', inputSchema: { type: 'object' } // No parameters },
- src/index.ts:309-311 (handler)Dispatch handler in the MCP CallToolRequestSchema that invokes the bithumbApi.getBtci() method.case 'get_btci': result = await this.bithumbApi.getBtci(); break;
- TypeScript interface defining the expected response structure for the getBtci API call.export interface IGetBtci extends IBithumbResponse { data: { btai: IBtciData; btmi: IBtciData; date: string; }; }