Prepare for meetings with company and attendee research notes, integrated with Google Calendar through MCP
Prepare for meetings with company and attendee research notes, integrated with Google Calendar through MCP
Download a full demo video by clicking here
This repository demonstrates how to build a meeting preparation agent with real-time web access, leveraging Tavily's advanced search capabilities. This agent will connect to your Google Calendar via MCP, extract meeting information, and use Tavily search for profile research on the meeting attendees and general information on the companies you are meeting with.
The project is designed for easy customization and extension, allowing you to:
backend/)agent.py: Agentic flow (MCP + LangChain-Tavily ReAct agent)ui/): React-based UI for meeting insightsapp.py): FastAPI server for API endpoints and streamingPython version: 3.13.2 (local development)
See google-calendar-mcp for full details.
Google Cloud Setup:
gcp-oauth.keys.json in the root of google-calendar-mcp directory.gcp-oauth.keys.json.This file should look like:
{
"installed": {
"client_id": "",
"project_id": "",
"auth_uri": "",
"token_uri": "",
"auth_provider_x509_cert_url": "",
"client_secret": "",
"redirect_uris": ["http://localhost"]
}
}Install the MCP:
cd google-calendar-mcp
npm installSet config path:
GOOGLE_CALENDAR_CONFIG=/mcp-use-case/google-calendar-mcp/build/index.jsRun the notebook mcp-test.ipynb to check that your MCP setup is working before proceeding.
By default, the agent prepares a meeting brief using public web research on attendees and the companies you are meeting with.
To ground the briefing in your real relationship with meeting attendees, enable iGPT. iGPT retrieves internal-only context from your connected email and returns meeting-relevant internal context passed into the LangGraph flow.
A typical enriched brief may include:
The agent sends company and attendee information (derived from your Google Calendar events) to iGPT and asks it to retrieve relevant prior internal context.
Key rule enforced in the iGPT step:
You need two things:
IGPT_API_KEY (created in the Hub)IGPT_USER (the user value you choose inside the Playground)You can still connect your email through the Playground, even if you don’t have an iGPT app yet.
user value (this is your end-user identifier)demo_useruser✅ Important: The user value you used in Connect Datasource is the same value you must use later when calling iGPT (and what you should place in IGPT_USER).
In the Playground “Ask” screen (e.g. /v1/recall/ask) you will see a user field.
That value must match the one you used when connecting the datasource.
.envSet IGPT_USER to the exact same user value you used in the Playground:
IGPT_API_KEY=your-igpt-api-key
IGPT_USER=your-playground-user-valueLinks
python3 -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activatepython3 -m pip install -r requirements.txtexport TAVILY_API_KEY="your-tavily-api-key"
export OPENAI_API_KEY="your-openai-api-key"
export GROQ_API_KEY="your-groq-api-key"
export GOOGLE_CALENDAR_CONFIG="/mcp-use-case/google-calendar-mcp/build/index.js"python app.pycd uinpm installnpm run start.env file example:
TAVILY_API_KEY=your-tavily-api-key
OPENAI_API_KEY=your-openai-api-key
GROQ_API_KEY=your-groq-api-key
GOOGLE_CALENDAR_CONFIG=your-google-configPOST /api/analyze-meetings: Handles streamed LangGraph executionFeel free to submit issues and enhancement requests!
Questions, feedback, or want to build something custom? Reach out!
No open issues yet, or sync has not completed.