Repository navigation
fmp-tools v0.0.1 - Initial Release
This PR adds a new FMP Tools library that provides AI framework integration for the fmp-node-api library.
Changes
- Added
fmp-toolspackage with tools for AI frameworks - Added
@fmp/typesinternal package for shared TypeScript types - Added Vercel AI SDK integration with streaming support
- Added example Vercel AI chat application
- Updated Turbo and ESLint to latest versions
- Enhanced monorepo structure and dependencies
- Added comprehensive test suite and documentation
Usage
import { openai } from '@ai-sdk/openai';
import { streamText, convertToModelMessages } from 'ai';
import { fmpTools } from 'fmp-tools/vercel-ai';
const result = streamText({
model: openai('gpt-4o-mini'),
messages: convertToModelMessages(messages),
tools: fmpTools,
});The tools cover most FMP API endpoints including quotes, financial statements, market data, economic indicators, ETFs, calendars, and trading activity.