Skip to main content

MCP server for Granola.ai meeting intelligence

Project description

GranolaAI MCP Server

Python 3.12+ License: MIT MCP

๐ŸŽ™๏ธ AI-Powered Meeting Intelligence for Claude Desktop

An experimental Model Context Protocol (MCP) server that bridges Granola.ai meeting intelligence with Claude Desktop. Access your meeting transcripts, notes, and insights directly through natural language conversations.

โœจ Features

  • ๐Ÿ” Meeting Search โ€” Search meetings by title, content, participants, and transcript content
  • ๐Ÿ“‹ Meeting Details โ€” Get comprehensive meeting metadata with local timezone display
  • ๐Ÿ“ Full Transcript Access โ€” Retrieve complete meeting conversations with speaker identification
  • ๐Ÿ“„ Rich Document Content โ€” Access actual meeting notes, summaries, and structured content
  • ๐Ÿ“Š Pattern Analysis โ€” Analyze patterns across meetings (participants, frequency, topics)
  • ๐ŸŒ Timezone Intelligence โ€” All timestamps automatically display in your local timezone
  • ๐Ÿ”’ 100% Local Processing โ€” No external API calls; all data stays on your machine

๐Ÿ—๏ธ Architecture

flowchart TB
    subgraph Client["๐Ÿ‘ค Client Layer"]
        CD[Claude Desktop]
    end
    
    subgraph MCP["๐Ÿ”Œ MCP Protocol Layer"]
        MCP_STDIO[MCP stdio Transport]
    end
    
    subgraph Server["โš™๏ธ Granola MCP Server"]
        GMCS[GranolaMCPServer]
        
        subgraph Handlers["Request Handlers"]
            LIST[list_tools]
            CALL[call_tool]
        end
        
        subgraph Tools["Available Tools"]
            SEARCH[search_meetings]
            DETAILS[get_meeting_details]
            TRANSCRIPT[get_meeting_transcript]
            DOCS[get_meeting_documents]
            ANALYZE[analyze_meeting_patterns]
        end
        
        subgraph Cache["Cache Management"]
            LOAD[_load_cache]
            PARSE[_parse_cache_data]
            EXTRACT[_extract_document_panel_content]
        end
    end
    
    subgraph Data["๐Ÿ’พ Data Layer"]
        CACHE_FILE[(Granola Cache<br/>cache-v*.json)]
        MODELS[Pydantic Models<br/>MeetingMetadata<br/>MeetingDocument<br/>MeetingTranscript]
    end
    
    CD -->|stdio| MCP_STDIO
    MCP_STDIO -->|MCP Protocol| GMCS
    GMCS --> LIST
    GMCS --> CALL
    CALL --> SEARCH
    CALL --> DETAILS
    CALL --> TRANSCRIPT
    CALL --> DOCS
    CALL --> ANALYZE
    GMCS --> LOAD
    LOAD --> PARSE
    PARSE --> EXTRACT
    PARSE -->|reads| CACHE_FILE
    PARSE --> MODELS

Data Flow

sequenceDiagram
    participant User as ๐Ÿ‘ค User
    participant Claude as ๐Ÿค– Claude Desktop
    participant Server as โš™๏ธ MCP Server
    participant Cache as ๐Ÿ’พ Granola Cache

    User->>Claude: "Search for meetings about quarterly planning"
    Claude->>Server: MCP: search_meetings(query)
    Server->>Cache: Read cache file
    Cache-->>Server: Raw JSON data
    Server->>Server: Parse & validate with Pydantic
    Server->>Server: Search across titles, participants, transcripts
    Server-->>Claude: Matching meetings with metadata
    Claude-->>User: Formatted meeting results

    User->>Claude: "Get transcript from yesterday's meeting"
    Claude->>Server: MCP: get_meeting_transcript(id)
    Server->>Server: Lookup transcript in cache
    Server-->>Claude: Full transcript with speakers
    Claude-->>User: Readable conversation format

๐Ÿ› ๏ธ Tech Stack

Component Technology
Language Python 3.12+
MCP SDK mcp>=1.0.0
Data Validation Pydantic 2.x
Package Manager uv (recommended) or pip
Build System Hatchling
Release Automation python-semantic-release

๐Ÿ“ฆ Installation

Prerequisites

  • uv package manager
  • macOS with Granola.ai installed

Claude Desktop

Add to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "granola": {
      "command": "uvx",
      "args": ["granola-mcp-server"]
    }
  }
}

Then restart Claude Desktop.

Claude Code

claude mcp add granola -- uvx granola-mcp-server

Cursor

Add Granola MCP to Cursor

Updating

uvx caches the package after first run. To update to the latest version:

uvx --refresh granola-mcp-server

Then restart your MCP client.

Manual installation (alternative)

If you prefer to install from source:

cd ~
git clone https://github.com/proofgeist/granola-mcp-server
cd granola-mcp-server
uv sync

Then configure your MCP client to run the server directly:

{
  "mcpServers": {
    "granola": {
      "command": "uv",
      "args": ["--directory", "/Users/YOUR_USERNAME/granola-mcp-server", "run", "granola-mcp-server"]
    }
  }
}

To update a source install: git pull && uv sync

pip (alternative)

pip install granola-mcp-server

Then configure your MCP client to run granola-mcp-server.

Environment Variables

Variable Description Default
GRANOLA_PARSE_PANELS Enable parsing of document panels for rich notes 1 (enabled)
TZ Override local timezone detection Auto-detected

Set GRANOLA_PARSE_PANELS=0 to disable document panel parsing if you encounter issues.

๐Ÿš€ Usage

Once configured, restart Claude Desktop and start interacting with your Granola meetings using natural language:

Search & Discovery

  • "Search for meetings about quarterly planning"
  • "Show me yesterday's meetings"
  • "Find meetings with David from this week"
  • "List all my recent standup meetings"

Transcript Access

  • "Get the transcript from yesterday's IA meeting"
  • "What was discussed in the Float rollback planning meeting?"
  • "Show me the full conversation from the David Tanner meeting"

Content Analysis

  • "Analyze participant patterns from last month"
  • "What documents are associated with the product review meeting?"
  • "Search for mentions of 'schema labeling' in meeting transcripts"

Available Tools

Tool Description Parameters
search_meetings Search meetings by title, content, participants query (string), limit (int, optional)
get_meeting_details Get detailed information about a meeting meeting_id (string)
get_meeting_transcript Get full transcript with speaker identification meeting_id (string)
get_meeting_documents Get documents and notes associated with a meeting meeting_id (string)
analyze_meeting_patterns Analyze patterns across meetings pattern_type (enum: topics/participants/frequency), date_range (optional)

๐Ÿงช Development

Running Tests

# Run panel parsing test
uv run python test_server.py

# Test with real cache file
uv run python test_real_cache.py

Running the Server Directly

uv run granola-mcp-server

Or using the run script:

uv run python run_server.py

Project Structure

granola-mcp-server/
โ”œโ”€โ”€ granola_mcp_server/
โ”‚   โ”œโ”€โ”€ __init__.py          # Package initialization
โ”‚   โ”œโ”€โ”€ server.py            # Main MCP server implementation (~750 lines)
โ”‚   โ””โ”€โ”€ models.py            # Pydantic data models
โ”œโ”€โ”€ .github/
โ”‚   โ””โ”€โ”€ workflows/
โ”‚       โ””โ”€โ”€ release.yml      # Semantic release automation
โ”œโ”€โ”€ tests/
โ”‚   โ”œโ”€โ”€ test_server.py       # Unit tests with synthetic cache
โ”‚   โ””โ”€โ”€ test_real_cache.py   # Integration tests with real data
โ”œโ”€โ”€ pyproject.toml           # Python package configuration + semantic-release config
โ”œโ”€โ”€ run_server.py            # Entry point wrapper
โ”œโ”€โ”€ INSTALL.md               # Detailed installation guide
โ”œโ”€โ”€ LICENSE                  # MIT License
โ””โ”€โ”€ README.md                # This file

๐Ÿ”’ Security & Privacy

Feature Status
100% Local Processing โœ… All data stays on your machine
No External API Calls โœ… No data sent to external services
Granola Permissions Respected โœ… Uses existing Granola.ai access controls
Read-Only Access โœ… Server only reads from Granola's cache

๐Ÿ“Š Performance

  • Fast Loading: Sub-2 second cache loading for hundreds of meetings
  • Rich Content: Extracts 25,000+ character transcripts and meeting notes
  • Efficient Search: Multi-field search across titles, content, participants, and transcripts
  • Memory Optimized: Lazy loading with intelligent content parsing
  • Production Ready: Successfully processes real Granola data (11.7MB cache files)
  • Scalable: Handles large datasets with 500+ transcript segments per meeting

๐Ÿ› Troubleshooting

Common Issues

"Cache file not found"

# Ensure Granola.ai is installed and has processed some meetings
ls -la ~/Library/Application\ Support/Granola/cache-v*.json

"uv command not found"

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

Server not appearing in Claude Desktop

  • Check Claude Desktop logs: ~/Library/Logs/Claude/mcp-server-granola.log
  • Restart Claude Desktop after config changes

Meeting notes appear empty

  • Granola sometimes stores rich notes inside documentPanels rather than notes_plain
  • This server reads those panels by default; set GRANOLA_PARSE_PANELS=0 to disable

Manual installation issues

These apply only if you installed from source (git clone) rather than via uvx.

"Permission denied" or "Operation not permitted"

  • This happens when the server is installed in ~/Documents or other protected macOS folders
  • Move the installation to your home directory:
    mv ~/Documents/granola-mcp-server ~/granola-mcp-server
    cd ~/granola-mcp-server
    uv sync
    
    Then update the path in claude_desktop_config.json
  • Or grant Claude Desktop Full Disk Access in System Settings > Privacy & Security

"Current directory does not exist"

  • This error occurs when using uv run with the --directory flag
  • Ensure the path in your Claude config points to the actual clone location

"Failed to spawn process" or "No such file or directory"

  • Run uv sync in the project directory to rebuild the venv
  • Verify the script exists: ls -la ~/granola-mcp-server/.venv/bin/granola-mcp-server

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Please ensure your code follows the existing style and includes appropriate tests.

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) 2025 Proof+Geist

๐Ÿ™ Acknowledgments

  • Granola.ai for the amazing meeting intelligence app
  • Anthropic for Claude and the Model Context Protocol
  • Astral for the uv package manager

โš ๏ธ Disclaimer: This is an experimental project. Granola's cache format may change without notice. Use at your own risk.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

granola_mcp_server-1.4.0.tar.gz (51.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

granola_mcp_server-1.4.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file granola_mcp_server-1.4.0.tar.gz.

File metadata

  • Download URL: granola_mcp_server-1.4.0.tar.gz
  • Upload date:
  • Size: 51.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for granola_mcp_server-1.4.0.tar.gz
Algorithm Hash digest
SHA256 f2603477b19a13364fea7eb3f9dfdbfc5800733863750c0221430f9278e5f5f4
MD5 ed83559dd4c8becf4de649e0974dc873
BLAKE2b-256 967fb2600251660a3230691085302f94bc45ed43ecda17227b50ec1d5fdfb1d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for granola_mcp_server-1.4.0.tar.gz:

Publisher: release.yml on proofgeist/granola-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file granola_mcp_server-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for granola_mcp_server-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eeffef3ae699d62dfcfd4c6478ad490aaefe0127a19d5667272737935caa3fd0
MD5 02299be5a44d67aef63fa8d467e592c3
BLAKE2b-256 ec02f03410970d745f3d8ce6ce181f025219db8c83424ae477ab00ff551b5e7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for granola_mcp_server-1.4.0-py3-none-any.whl:

Publisher: release.yml on proofgeist/granola-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page