Skip to content

pranavkafle/serp-api-chatbot

Repository files navigation

SerpApi MCP Chatbots

A production-ready, multi-bot chat UI powered by Vercel AI SDK agents and the SerpApi MCP server.

Features · Quick start · Configuration · Repo layout


Features

  • 20 specialized bots with curated prompts and suggested actions.
  • Native agent loop with tool calling (Vercel AI SDK ToolLoopAgent).
  • SerpApi MCP integration for search engines, news, images, jobs, and more.
  • Bot picker UI + per-chat bot attribution.
  • Persistent chat history with Postgres + NextAuth.
  • SerpApi MCP prompt generator and docs in serp_api_mcp/.

Quick start

pnpm install
pnpm dev

Open http://localhost:3000

Configuration

Required env vars (see .env.example):

  • GOOGLE_GENERATIVE_AI_API_KEY
  • SERP_API_KEY
  • AUTH_SECRET
  • POSTGRES_URL
  • BLOB_READ_WRITE_TOKEN

Repo layout

  • app/ - Next.js App Router UI and API routes
  • components/ - chat UI components
  • lib/ - bot registry + prompt catalog
  • db/ - Drizzle schema and queries
  • serp_api_mcp/ - SerpApi MCP prompt generator + docs

About

Multi-bot chat UI powered by Vercel AI SDK agents and SerpApi MCP.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages