finance_ai_report
Generate AI-powered stock analysis reports with price action, fundamentals, competitive positioning, and investment outlook using Claude AI.
Instructions
Get Claude AI-powered stock analysis including price action, fundamentals, competitive position, and investment outlook. Costs $0.25 USDC per request via x402 on Base.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock ticker (e.g., AAPL, MSFT, GOOGL) |
Implementation Reference
- src/index.ts:258-260 (handler)Handler function for the finance_ai_report tool that fetches the AI report from the finance API.
async ({ symbol }) => { const data = await apiFetch(`${FINANCE_API}/api/v1/market/ai-report/${symbol.toUpperCase()}`); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; - src/index.ts:247-257 (registration)Registration of the finance_ai_report tool with its metadata and input schema.
server.registerTool( "finance_ai_report", { title: "Get AI Stock Report", description: `Get Claude AI-powered stock analysis including price action, fundamentals, competitive position, and investment outlook. Costs $0.25 USDC per request via x402 on Base.`, inputSchema: { symbol: z.string().min(1).max(10).describe("Stock ticker (e.g., AAPL, MSFT, GOOGL)"), }, annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }, },