{"type":"mcp_client","name":"ai","description":"The AI SDK is a TypeScript toolkit designed to help you build AI-powered applications using popular frameworks like Next.js, React, Svelte, Vue and runtimes like Node.js. It provides a unified API to interact with model providers and UI hooks for building chatbots.","category":"AI","language":"TypeScript","stars":24853,"forks":2510,"owner":"vercel","github_url":"https://github.com/vercel/ai","homepage":"https://ai-sdk.dev","setup":"You will need Node.js 18+ and pnpm installed on your local development machine.\n\n```shell\nnpm install ai\n```","tools":"### AI SDK Core\n\nThe [AI SDK Core](https://ai-sdk.dev/docs/ai-sdk-core/overview) module provides a unified API to interact with model providers like [OpenAI](https://ai-sdk.dev/providers/ai-sdk-providers/openai), [Anthropic](https://ai-sdk.dev/providers/ai-sdk-providers/anthropic), [Google](https://ai-sdk.dev/providers/ai-sdk-providers/google-generative-ai), and more.\n\nYou will then install the model provider of your choice.\n\n```shell\nnpm install @ai-sdk/openai\n```\n\n### AI SDK UI\n\nThe [AI SDK UI](https://ai-sdk.dev/docs/ai-sdk-ui/overview) module provides a set of hooks that help you build chatbots and generative user interfaces. These hooks are framework agnostic, so they can be used in Next.js, React, Svelte, and Vue.\n\nYou need to install the package for your framework:\n\n```shell\nnpm install @ai-sdk/react\n```","faq":null,"created_at":"2023-05-23T15:04:08+00:00","updated_at":"2025-07-07T16:12:58+00:00","source_url":"https://model-context-protocol.com/clients/ai","related_articles":[]}