Skip to main content

granola-tool

CLI tool for querying Granola meeting recordings, viewing AI-generated notes and transcripts, and exporting to Obsidian and a local knowledge base.

Inspired by glebis/claude-skills/granola.

Prerequisites

  • macOS with Granola desktop app (Business or Enterprise plan)
  • Python >= 3.13
  • uv package manager
  • API key: Granola app → Settings → Connectors → API keys

Installation

cd granola-tool
uv sync
export GRANOLA_KEY="grn_your_api_key_here"
uv run granola-tool test api   # verify setup

Commands

granola-tool                        # show recent meetings (default)
granola-tool meeting list           # list meetings with short IDs
granola-tool meeting notes <id>     # view AI-generated notes
granola-tool meeting transcript <id> # view transcript

granola-tool lekhak list [folder]   # browse knowledge base
granola-tool lekhak record <id> <folder>  # export meeting
granola-tool lekhak sync            # find unrecorded meetings
granola-tool lekhak show <slug>     # view exported content
granola-tool lekhak edit <slug>     # open in $EDITOR

granola-tool obsidian export <id>   # export to Obsidian vault
granola-tool obsidian sync          # batch export new meetings

granola-tool test token             # check API key
granola-tool test api               # test connectivity
granola-tool test config            # show configuration

See SKILL.md for full command reference with all options.

Meeting IDs

Meetings can be referenced by:

  • Short ID from list output (e.g., HNWQ)
  • Full note ID (e.g., not_HNWQaVwnQVhGMk)
  • UUID from desktop app (e.g., 44759533-...)
  • Title substring (e.g., "team sync")

Configuration

Environment variables (GRANOLA_* prefix):

Variable Default Description
GRANOLA_KEY (required) API key
GRANOLA_API_BASE https://public-api.granola.ai API endpoint
GRANOLA_VAULT_PATH ~/Documents/ObsidianVault Obsidian vault path
GRANOLA_LEKHAK_PATH ~/knowledge-base/meetings Local knowledge base path

For AI Agents (Claude Code)

This tool is designed to work with both human users and AI agents. To configure it as a Claude Code skill:

  1. Copy SKILL.md to your Claude Code skills directory (.claude/skills/)
  2. The skill provides structured access to all CLI commands
  3. Agents can invoke meeting, obsidian, and lekhak commands programmatically

The skill document includes the full command reference, configuration details, and typical workflows that agents can follow to query meetings, export notes, and manage a local knowledge base.

Development

uv run ruff check src/
uv run mypy src/
uv run pytest

License

MIT — see LICENSE.

Metadata

Release files for granola-tool 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for granola-tool 0.3.2
File Size Uploaded
granola_tool-0.3.2.tar.gz 59.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for granola-tool 0.3.2
File Interpreter ABI Platform
granola_tool-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 83.9 kB

Release files / granola_tool-0.3.2.tar.gz

Download URL granola_tool-0.3.2.tar.gz
Size 59.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7f68e2aa7230a5147add86b2f25aaa619762c8285adb5c979ccb2f915c6686b0
BLAKE2b-256 checksum
How to use checksums
e8003ee95c840eddfbf54c09f721ed421663cf25bac46e3a87044710997c457b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / granola_tool-0.3.2-py3-none-any.whl

Download URL granola_tool-0.3.2-py3-none-any.whl
Size 24.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b47eba9a829b6632861b45c433ab312b238535768e62a78dc1af8895b7d3666
BLAKE2b-256 checksum
How to use checksums
287dc4d00b31fac84d16356d3d21963a4b0865682ff87eec30577a36c4be1118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page