{"slug": "build-an-ai-event-discovery-agent-that-adds-events-to-your-calendar-in-one-click", "title": "Build an AI Event Discovery Agent That Adds Events to Your Calendar in One Click", "summary": "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.", "body_md": "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.\n\nIn 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.\n\nFollow along and by the end, you'll have built a personalized AI event concierge.\n\n## What We'll Build\n\nThe goal is to be able to ask Claude:\n\n```\nFind upcoming AI conferences, meetups, and webinars.\n\nMy preferences:\n- Located within an hour from San Francisco\n- Interested in AI agents, MCP, RAG, and developer tools\n- Budget under $500\n- Prefer in-person events\n- Within the next 90 days\n\nGenerate a Markdown report and provide Google Calendar links.\n```\n\nClaude 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.\n\nExample output we aim to see:\n\n## Setup\n\n### Create a SerpApi Account\n\nFor this tutorial, we're going to use [SerpApi's Google Events API](https://serpapi.com/google-events-api).\n\nTo begin scraping data, create a [free account on serpapi.com](https://serpapi.com/users/sign_up). 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](https://serpapi.com/manage-api-key)\n\n### Install Claude Code\n\n[https://claude.ai/login](https://claude.ai/login)\n\nTo access Claude Code, you'll need a Claude Pro, Max, or Team\n\n[subscription](https://www.anthropic.com/pricing)OR you can pay per usage via\n\n[Claude API](https://www.anthropic.com/pricing#api).\n\nInstall Claude Code:\n\n```\nnpm install -g @anthropic-ai/claude-code\n```\n\nVerify the installation:\n\n```\nclaude --version\n```\n\nYou should see the installed version printed in your terminal.\n\n### Configure SerpApi MCP\n\n[SerpApi's MCP server](https://github.com/serpapi/serpapi-mcp) 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.\n\nWe'll add the SerpApi MCP server to Claude Code:\n\n```\nclaude mcp add --transport http serpapi https://mcp.serpapi.com/YOUR_SERPAPI_API_KEY/mcp\n```\n\nOnce configured, Claude Code can access SerpApi tools directly.\n\n### Verify the MCP Connection\n\nRun the following command in your terminal:\n\n```\nclaude mcp list\n```\n\nYou should see output similar to:\n\n```\nConfigured MCP servers:\n\n✓ serpapi\n  URL: https://serpapi.com/...\n  Status: Connected\n```\n\nIf the `serpapi`\n\nserver 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.\n\n`claude mcp remove serpapi`\n\n### Create a Project Directory\n\nCreate a workspace for the project:\n\n```\nmkdir event-discovery-agent\ncd event-discovery-agent\n```\n\nWe'll store generated reports here.\n\nFor example:\n\n```\nevent-discovery-agent/\n├── events.md\n└── prompts.md\n```\n\nThe events.md file will be generated by Claude.\n\n## Define the Agent's Instructions\n\nHere, we provide instructions describing the events we want. This step is important because we're not just searching. We're defining decision criteria.\n\nThink of this as the equivalent of giving requirements to a human assistant.\n\n**Without requirements**:\n\n```\nFind AI events.\n```\n\n**With requirements**:\n\n```\nFind AI events focused on developers,\nexclude expensive conferences,\nprioritize in-person networking opportunities.\n```\n\nThe second prompt produces dramatically better results.\n\nLet's create a file called `prompts.md`\n\nin the `event-discovery-agent/`\n\ndirectory and add a detailed prompt there:\n\n```\nUse SerpApi MCP to find upcoming conferences, meetups, and webinars related to AI agents, MCP, RAG, and developer tooling.\n\nRequirements:\n- Within 100 miles of San Francisco\n- Budget under $500\n- Next 90 days\n- Prefer in-person events\n\nCreate a file called events.md.\n\nFor each event include:\n- Event title\n- Date\n- Location\n- Event URL\n- Why it matches my interests\n- Google Calendar link\n```\n\nThis prompt is the agent's operating instructions.\n\n## Run the Event Discovery Agent\n\n### Start Claude Code\n\nHead over to the `event-discovery-agent/`\n\ndirectory and run:\n\n```\nclaude\n```\n\nThe 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:\n\n```\n>\n```\n\nYou can now chat with Claude Code directly. By default, Claude Code will have access to all files in the `event-discovery-agent/`\n\ndirectory.\n\n### Send Claude the prompt file\n\nNow simply give Claude Code the prompt:\n\n```\nRead prompts.md and complete the task.\n```\n\nClaude will follow the instructions in `prompts.md`\n\nand the final output file `events.md`\n\n(with a curated list of events) will be created in the same directory once Claude finishes.\n\n## Behind the Scenes of the Agent\n\nA software script works great to filter events by date or location. But the agent can evaluate relevance.\n\nFor example, suppose an event description contains:\n\nEnterprise AI\n\nAgent Frameworks\n\nRAG Systems\n\nMCP Integrations\n\nClaude can recognize that the event strongly matches the user's interests.\n\nAnother event may contain:\n\nAcademic Research\n\nAI neural network Theory\n\nGraduate Student Workshop\n\nEven if it technically matches the keyword \"AI\", Claude may determine that it is less relevant for a software engineer.\n\nThe agent thinks about:\n\n- Is this event relevant?\n- How strongly does it align with preferences?\n\nThis 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..\n\nOnce 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.\n\nFor 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.\n\n## Sample Response\n\nClaude created an `events.md`\n\nfile after multiple SerpApi requests.\n\nHere's the final result in `events.md`\n\nat the end of Claude's research:\n\n`events.md`\n\n**Upcoming AI / Developer Events near San Francisco**\n\n** Search focus:** AI agents, MCP, RAG, and developer tooling\n\n**within ~100 miles of San Francisco · budget under $500 · next 90 days (Jul 14 – Oct 12, 2026) · in-person preferred**\n\n**Filters applied:****SerpApi Google Events engine (searched 2026-07-14), with ticket pricing spot-checked via web search.**\n\n**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.\n\n✅ Best matches (in-person, near SF, next 90 days, likely under $500)1. Data for AI: One AI, Every Data Model\n\nWednesday, July 22, 2026, 5:30–8:30 PM**Date:** AWS Builder Loft, 525 Market St, San Francisco, CA**Location:****Event URL:**[https://datastrato.ai/events/data-for-ai-one-ai-every-data-model](https://datastrato.ai/events/data-for-ai-one-ai-every-data-model)An 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](https://calendar.google.com/calendar/render?action=TEMPLATE&text=Data%20for%20AI%3A%20One%20AI%2C%20Every%20Data%20Model&dates=20260722T173000/20260722T203000&ctz=America/Los_Angeles&location=AWS%20Builder%20Loft%2C%20525%20Market%20St%2C%20San%20Francisco%2C%20CA&details=https%3A%2F%2Fdatastrato.ai%2Fevents%2Fdata-for-ai-one-ai-every-data-model)\n\n2. 19th San Jose Hardware Meetup — AI/ML in Lab Automation\n\nTuesday, July 21, 2026, 6:00–9:00 PM**Date:** BigHat Biosciences, 1900 Alameda de las Pulgas, Ste 400, San Mateo, CA**Location:****Event URL:**[https://somo.social/e/19th-san-jose-hardware-meetup-722](https://somo.social/e/19th-san-jose-hardware-meetup-722)A 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](https://calendar.google.com/calendar/render?action=TEMPLATE&text=19th%20San%20Jose%20Hardware%20Meetup%3A%20AI%2FML%20in%20Lab%20Automation&dates=20260721T180000/20260721T210000&ctz=America/Los_Angeles&location=BigHat%20Biosciences%2C%201900%20Alameda%20de%20las%20Pulgas%20Ste%20400%2C%20San%20Mateo%2C%20CA&details=https%3A%2F%2Fsomo.social%2Fe%2F19th-san-jose-hardware-meetup-722)\n\n3. API World 2026 (with AI TechWorld)\n\nTuesday–Thursday, September 1–3, 2026**Date:** Santa Clara Convention Center, 5001 Great America Pkwy, Santa Clara, CA (~45 mi from SF)**Location:****Event URL:**[https://apiworld.co/](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 the**Why 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](https://calendar.google.com/calendar/render?action=TEMPLATE&text=2026%20API%20World%20%26%20AI%20TechWorld&dates=20260901/20260904&ctz=America/Los_Angeles&location=Santa%20Clara%20Convention%20Center%2C%205001%20Great%20America%20Pkwy%2C%20Santa%20Clara%2C%20CA&details=https%3A%2F%2Fapiworld.co%2F)\n\n⚠️ Strong topic match, but tickets typically exceed $500\n\nThese 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.\n\n4. GenAI Summit SF 2026 (co-located with AGI Summit — \"The Rise of Agentic Intelligence\")\n\nSaturday–Sunday, July 18–19, 2026**Date:** Palace of Fine Arts, 3301 Lyon St, San Francisco, CA**Location:****Event URL:**[https://www.eventbrite.com/e/genai-summit-sf-2026-tickets-1985545163032](https://www.eventbrite.com/e/genai-summit-sf-2026-tickets-1985545163032)Large 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](https://calendar.google.com/calendar/render?action=TEMPLATE&text=GenAI%20Summit%20SF%202026&dates=20260718/20260720&ctz=America/Los_Angeles&location=Palace%20of%20Fine%20Arts%2C%203301%20Lyon%20St%2C%20San%20Francisco%2C%20CA&details=https%3A%2F%2Fwww.eventbrite.com%2Fe%2Fgenai-summit-sf-2026-tickets-1985545163032)\n\n5. The AI Conference 2026\n\nTuesday–Thursday, September 29 – October 1, 2026**Date:** Pier 48 (Sheds A & B), San Francisco, CA**Location:****Event URL:**[https://aiconference.com/](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](https://calendar.google.com/calendar/render?action=TEMPLATE&text=The%20AI%20Conference%202026&dates=20260929/20261002&ctz=America/Los_Angeles&location=Pier%2048%2C%20San%20Francisco%2C%20CA&details=https%3A%2F%2Faiconference.com%2F)\n\n6. Salesforce Dreamforce 2026\n\nTuesday–Thursday, September 15–17, 2026**Date:** Moscone Center, 747 Howard St, San Francisco, CA**Location:****Event URL:**[https://www.salesforce.com/dreamforce/](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](https://calendar.google.com/calendar/render?action=TEMPLATE&text=Salesforce%20Dreamforce%202026&dates=20260915/20260918&ctz=America/Los_Angeles&location=Moscone%20Center%2C%20747%20Howard%20St%2C%20San%20Francisco%2C%20CA&details=https%3A%2F%2Fwww.salesforce.com%2Fdreamforce%2F)\n\nNotes & tips\n\n\"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 on**Closest 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.\n\n*Sources: **SerpApi Google Events**, **API World**, **GenAI Summit (Eventbrite)**, **The AI Conference**.*\n\nBecause 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.\n\n## Conclusion\n\nIn 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.\n\nI hope you found this useful. If you have any questions, feel free to reach out at [contact@serpapi.com](mailto:contact@serpapi.com).", "url": "https://wpnews.pro/news/build-an-ai-event-discovery-agent-that-adds-events-to-your-calendar-in-one-click", "canonical_source": "https://serpapi.com/blog/build-an-ai-event-discovery-agent/", "published_at": "2026-07-31 17:52:00+00:00", "updated_at": "2026-07-31 17:59:38.034124+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools"], "entities": ["SerpApi", "Anthropic", "Claude Code", "Google Events API", "MCP server"], "alternates": {"html": "https://wpnews.pro/news/build-an-ai-event-discovery-agent-that-adds-events-to-your-calendar-in-one-click", "markdown": "https://wpnews.pro/news/build-an-ai-event-discovery-agent-that-adds-events-to-your-calendar-in-one-click.md", "text": "https://wpnews.pro/news/build-an-ai-event-discovery-agent-that-adds-events-to-your-calendar-in-one-click.txt", "jsonld": "https://wpnews.pro/news/build-an-ai-event-discovery-agent-that-adds-events-to-your-calendar-in-one-click.jsonld"}}