crypto_ai_report
Generate AI-powered cryptocurrency investment analysis reports with price action, fundamentals, and outlook insights for informed trading decisions.
Instructions
Get a Claude AI-written investment analysis report for any cryptocurrency. Includes price action, fundamentals, and outlook. Costs $0.25 USDC per request via x402 on Base.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Crypto symbol (e.g., BTC, ETH, SOL) |
Implementation Reference
- src/index.ts:105-120 (handler)Implementation of the 'crypto_ai_report' tool. It is registered on the server and its handler fetches data from a Crypto API endpoint.
server.registerTool( "crypto_ai_report", { title: "Get Crypto AI Report", description: `Get a Claude AI-written investment analysis report for any cryptocurrency. Includes price action, fundamentals, and outlook. Costs $0.25 USDC per request via x402 on Base.`, inputSchema: { symbol: z.string().min(1).max(10).describe("Crypto symbol (e.g., BTC, ETH, SOL)"), }, annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }, }, async ({ symbol }) => { const data = await apiFetch(`${CRYPTO_API}/api/v1/llm-report/${symbol.toUpperCase()}`); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } );