cd /news/ai-agents/build-an-ai-event-discovery-agent-th… · home topics ai-agents article
[ARTICLE · art-82270] src=serpapi.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Build an AI Event Discovery Agent That Adds Events to Your Calendar in One Click

SerpApi and Anthropic's Claude Code can be used to build an AI event discovery agent that finds conferences, meetups, and webinars matching user preferences and generates a Markdown report with Google Calendar links. The tutorial, published by SerpApi, instructs users to set up a free SerpApi account (250 free search credits per month), install Claude Code via npm, and configure the SerpApi MCP server to enable live event searches. The agent ranks events by relevance and creates calendar links, aiming to save professionals time in discovering relevant events.

read9 min views1 publishedJul 31, 2026
Build an AI Event Discovery Agent That Adds Events to Your Calendar in One Click
Image: Serpapi (auto-discovered)

AI and software professionals often miss valuable conferences, meetups, and webinars because relevant events are scattered across dozens of websites. Instead of manually searching and comparing listings every week, an AI agent can continuously discover events that match your interests, location, and schedule, and then even add them directly to your calendar.

In this tutorial, we'll build an AI-powered Event Discovery Agent using SerpApi MCP and Claude that takes care of discovery and recommendation. You'll be able to give the agent instructions, using which it will discover events and produce a clean markdown report with recommended events.

Follow along and by the end, you'll have built a personalized AI event concierge.

What We'll Build #

The goal is to be able to ask Claude:

Find upcoming AI conferences, meetups, and webinars.

My preferences:
- Located within an hour from San Francisco
- Interested in AI agents, MCP, RAG, and developer tools
- Budget under $500
- Prefer in-person events
- Within the next 90 days

Generate a Markdown report and provide Google Calendar links.

Claude will use SerpApi MCP to search Google events and gather structured event data. Then, it will rank events by relevance, create calendar links and generate a final markdown report.

Example output we aim to see:

Setup #

Create a SerpApi Account

For this tutorial, we're going to use SerpApi's Google Events API.

To begin scraping data, create a free account on serpapi.com. You'll receive 250 free search credits each month to explore the API. Get your SerpApi API key here: https://serpapi.com/manage-api-key

Install Claude Code

https://claude.ai/login

To access Claude Code, you'll need a Claude Pro, Max, or Team

subscriptionOR you can pay per usage via

Claude API.

Install Claude Code:

npm install -g @anthropic-ai/claude-code

Verify the installation:

claude --version

You should see the installed version printed in your terminal.

Configure SerpApi MCP

SerpApi's MCP server allows AI assistants to perform live searches using your SerpApi subscription without requiring custom tool implementation. Claude Code can connect to external MCP Servers like SerpApi's to perform searches.

We'll add the SerpApi MCP server to Claude Code:

claude mcp add --transport http serpapi https://mcp.serpapi.com/YOUR_SERPAPI_API_KEY/mcp

Once configured, Claude Code can access SerpApi tools directly.

Verify the MCP Connection

Run the following command in your terminal:

claude mcp list

You should see output similar to:

Configured MCP servers:

✓ serpapi
  URL: https://serpapi.com/...
  Status: Connected

If the serpapi

server appears in the list, Claude Code has successfully detected the MCP server and can use SerpApi tools during your session. If you don't see the server listed, double-check your MCP configuration and API key, then rerun the setup command.

claude mcp remove serpapi

Create a Project Directory

Create a workspace for the project:

mkdir event-discovery-agent
cd event-discovery-agent

We'll store generated reports here.

For example:

event-discovery-agent/
├── events.md
└── prompts.md

The events.md file will be generated by Claude.

Define the Agent's Instructions #

Here, we provide instructions describing the events we want. This step is important because we're not just searching. We're defining decision criteria.

Think of this as the equivalent of giving requirements to a human assistant.

Without requirements:

Find AI events.

With requirements:

Find AI events focused on developers,
exclude expensive conferences,
prioritize in-person networking opportunities.

The second prompt produces dramatically better results.

Let's create a file called prompts.md

in the event-discovery-agent/

directory and add a detailed prompt there:

Use SerpApi MCP to find upcoming conferences, meetups, and webinars related to AI agents, MCP, RAG, and developer tooling.

Requirements:
- Within 100 miles of San Francisco
- Budget under $500
- Next 90 days
- Prefer in-person events

Create a file called events.md.

For each event include:
- Event title
- Date
- Location
- Event URL
- Why it matches my interests
- Google Calendar link

This prompt is the agent's operating instructions.

Run the Event Discovery Agent #

Start Claude Code

Head over to the event-discovery-agent/

directory and run:

claude

The first time you run it, Claude Code will prompt you to log in. Once you're logged in, you'll see an interactive prompt similar to:

>

You can now chat with Claude Code directly. By default, Claude Code will have access to all files in the event-discovery-agent/

directory.

Send Claude the prompt file

Now simply give Claude Code the prompt:

Read prompts.md and complete the task.

Claude will follow the instructions in prompts.md

and the final output file events.md

(with a curated list of events) will be created in the same directory once Claude finishes.

Behind the Scenes of the Agent #

A software script works great to filter events by date or location. But the agent can evaluate relevance.

For example, suppose an event description contains:

Enterprise AI

Agent Frameworks

RAG Systems

MCP Integrations

Claude can recognize that the event strongly matches the user's interests.

Another event may contain:

Academic Research

AI neural network Theory

Graduate Student Workshop

Even if it technically matches the keyword "AI", Claude may determine that it is less relevant for a software engineer.

The agent thinks about:

  • Is this event relevant?
  • How strongly does it align with preferences?

This reasoning step is what makes the output valuable. Rather than simply listing events, Claude also explains why each one was selected. This is another place where AI adds value beyond simple search results..

Once events have been evaluated, Claude ranks them. Rather than dumping twenty search results into a report, the agent highlights the most useful opportunities first. This makes the final report feel curated rather than generated.

For each event, Claude generates a Google Calendar URL. These URLs contain all event information such as event title, date/time, location etc. When users click the link, Google Calendar opens with a pre-filled event draft. The event can be added to your schedule in one click.

Sample Response #

Claude created an events.md

file after multiple SerpApi requests.

Here's the final result in events.md

at the end of Claude's research:

events.md

Upcoming AI / Developer Events near San Francisco

** Search focus:** AI agents, MCP, RAG, and developer tooling

within ~100 miles of San Francisco · budget under $500 · next 90 days (Jul 14 – Oct 12, 2026) · in-person preferred

**Filters applied:**SerpApi Google Events engine (searched 2026-07-14), with ticket pricing spot-checked via web search.

Source: Note on budget: meetups below are free or low-cost. For the multi-day conferences, ticket tiers vary — I've flagged which ones can stay under $500 (early-bird / expo tiers) and which typically exceed it. Always confirm the current price on the registration page before booking.

✅ Best matches (in-person, near SF, next 90 days, likely under $500)1. Data for AI: One AI, Every Data Model

Wednesday, July 22, 2026, 5:30–8:30 PMDate: AWS Builder Loft, 525 Market St, San Francisco, CALocation:****Event URL:https://datastrato.ai/events/data-for-ai-one-ai-every-data-modelAn evening builder session on constructing a single AI layer over every data model — directly relevant to RAG and the data-infrastructure side of agentic apps. Hosted at the AWS Builder Loft, hands-on developer audience, and free to attend (well under budget).Why it matches:****Google Calendar:https://calendar.google.com/calendar/render?action=TEMPLATE&text=Data for AI%3A One AI%2C Every Data Model&dates=20260722T173000/20260722T203000&ctz=America/Los_Angeles&location=AWS Builder Loft%2C 525 Market St%2C San Francisco%2C CA&details=https%3A%2F%2Fdatastrato.ai%2Fevents%2Fdata-for-ai-one-ai-every-data-model

  1. 19th San Jose Hardware Meetup — AI/ML in Lab Automation

Tuesday, July 21, 2026, 6:00–9:00 PMDate: BigHat Biosciences, 1900 Alameda de las Pulgas, Ste 400, San Mateo, CALocation:****Event URL:https://somo.social/e/19th-san-jose-hardware-meetup-722A free, in-person developer/ML community meetup exploring applied AI and ML pipelines (here, in lab automation). Good for the developer-tooling and applied-ML side of your interests, and a strong local-network opportunity in the Peninsula.Why it matches:****Google Calendar:https://calendar.google.com/calendar/render?action=TEMPLATE&text=19th San Jose Hardware Meetup%3A AI%2FML in Lab Automation&dates=20260721T180000/20260721T210000&ctz=America/Los_Angeles&location=BigHat Biosciences%2C 1900 Alameda de las Pulgas Ste 400%2C San Mateo%2C CA&details=https%3A%2F%2Fsomo.social%2Fe%2F19th-san-jose-hardware-meetup-722

  1. API World 2026 (with AI TechWorld)

Tuesday–Thursday, September 1–3, 2026Date: Santa Clara Convention Center, 5001 Great America Pkwy, Santa Clara, CA (~45 mi from SF)Location:****Event URL:https://apiworld.co/Billed as the world's largest API conference & expo, co-located with AI TechWorld — squarely in the developer-tooling space (APIs, integrations, agent tooling). Choose theWhy it matches: to stay under $500; PRO/PREMIUM passes run higher, so avoid those to honor the budget.free Expo pass or the OPEN tier (early-bird ~$299–$399)****Google Calendar:https://calendar.google.com/calendar/render?action=TEMPLATE&text=2026 API World %26 AI TechWorld&dates=20260901/20260904&ctz=America/Los_Angeles&location=Santa Clara Convention Center%2C 5001 Great America Pkwy%2C Santa Clara%2C CA&details=https%3A%2F%2Fapiworld.co%2F

⚠️ Strong topic match, but tickets typically exceed $500

These are excellent for AI agents / RAG / dev-tooling content and are in-person near SF within the window, but standard passes generally run above the $500 budget. Listed for awareness — check for free expo passes, community/scholarship tickets, or day passes that might fit.

  1. GenAI Summit SF 2026 (co-located with AGI Summit — "The Rise of Agentic Intelligence")

Saturday–Sunday, July 18–19, 2026Date: Palace of Fine Arts, 3301 Lyon St, San Francisco, CALocation:****Event URL:https://www.eventbrite.com/e/genai-summit-sf-2026-tickets-1985545163032Large generative-AI gathering; the paired AGI Summit track focuses explicitly on agentic intelligence. Great for AI-agents content — but full passes typically exceed $500 (look for an early-bird code or expo/hackathon pass to fit budget).Why it matches:****Google Calendar:https://calendar.google.com/calendar/render?action=TEMPLATE&text=GenAI Summit SF 2026&dates=20260718/20260720&ctz=America/Los_Angeles&location=Palace of Fine Arts%2C 3301 Lyon St%2C San Francisco%2C CA&details=https%3A%2F%2Fwww.eventbrite.com%2Fe%2Fgenai-summit-sf-2026-tickets-1985545163032

  1. The AI Conference 2026

Tuesday–Thursday, September 29 – October 1, 2026Date: Pier 48 (Sheds A & B), San Francisco, CALocation:****Event URL:https://aiconference.com/Applied-AI conference with a dedicated** Why it matches:**track plus LLMs and infrastructure — 120+ speakers, builder-heavy. Highly on-topic; standard passes generally run ~$1,000+, so only fits budget via a discounted/early team ticket.agentic AI****Google Calendar:https://calendar.google.com/calendar/render?action=TEMPLATE&text=The AI Conference 2026&dates=20260929/20261002&ctz=America/Los_Angeles&location=Pier 48%2C San Francisco%2C CA&details=https%3A%2F%2Faiconference.com%2F

  1. Salesforce Dreamforce 2026

Tuesday–Thursday, September 15–17, 2026Date: Moscone Center, 747 Howard St, San Francisco, CALocation:****Event URL:https://www.salesforce.com/dreamforce/Heavy focus on Agentforce and enterprise AI agents. Relevant to the AI-agents theme, but the full pass (~$1,999) is well over budget — included only if a free/community or expo pass becomes available.Why it matches:****Google Calendar:https://calendar.google.com/calendar/render?action=TEMPLATE&text=Salesforce Dreamforce 2026&dates=20260915/20260918&ctz=America/Los_Angeles&location=Moscone Center%2C 747 Howard St%2C San Francisco%2C CA&details=https%3A%2F%2Fwww.salesforce.com%2Fdreamforce%2F

Notes & tips

"Graph Exchange — Agentic AI Memory" (GraphRAG + AI agents, AWS Builder Loft SF) and "AI Loves Data SF: GenAI & Intelligent Agents" are near-perfect matches but fall onClosest topic fit found:— just outside the 90-day window. Worth setting a reminder to register when they open.** Nov 5 & Nov 18, 2026**, watch the AWS Builder Loft (525 Market St) calendar and lu.ma / Meetup groups for "AI agents," "MCP," and "RAG" — these tend to be posted only 2–4 weeks ahead, so re-run this search monthly.For free, on-topic meetups on short notice- Google Calendar links are pre-filled with title, date, location, and the event URL. Times are set to America/Los_Angeles; multi-**day conferences are added as all-day spans.

Sources: SerpApi Google Events, API World, GenAI Summit (Eventbrite), The AI Conference.

Because Claude Code can create files directly, the output becomes a reusable artifact rather than a temporary chat response. Every week or month, you can rerun the workflow and generate an updated report.

Conclusion #

In this project, we used Claude Code and SerpApi MCP to build an AI-powered Event Discovery Agent. Through a single prompt, Claude was able to discover conferences and meetups using SerpApi, evaluate each event against user-defined preferences, generate Google Calendar links, and compile the results into a clean Markdown report.

I hope you found this useful. If you have any questions, feel free to reach out at contact@serpapi.com.

── more in #ai-agents 4 stories · sorted by recency
── more on @serpapi 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/build-an-ai-event-di…] indexed:0 read:9min 2026-07-31 ·