Granola Local Archive
MCP server that exposes local Granola meeting notes, summaries, and transcripts to AI assistants via SQLite-backed search and retrieval.
README
Granola Local Archive
Unofficial project. Not affiliated with, endorsed by, or maintained by Granola.
This project is intended for macOS installations where the Granola desktop app has already written local cache data to disk.
Local MCP server and SQLite-backed index for chatting with Granola-generated notes, summaries, and transcripts already present on the local machine.
What It Does
- Exposes local Granola content to Codex, Cursor, and other MCP clients so you can ask questions about meetings and folders.
- Reads local notes, summaries, transcripts, folders, and folder attachments from the Granola cache already on disk.
- Indexes notes and transcript text in SQLite FTS5 for fast local search.
- Returns grounded snippets and meeting metadata through MCP tools optimized for date range and folder-scoped queries.
- Takes compressed snapshots of
~/Library/Application Support/Granola/cache-v4.jsononly when it changes. - Stores current sidecars plus versioned history for meetings, transcripts, and folders.
- Generates a daily hydration queue for meetings that still have no local transcript.
- Preserves already archived meetings even if they later disappear from Granola's live cache.
Layout
Most runtime state is stored under archive/:
snapshots/: gzip snapshots of rawcache-v4.jsoncold-backups/: weekly tarballs of the Granola application support directory, excluding ephemeral cachescurrent/: current sidecars for meetings, transcripts, and foldershistory/: prior versions of those sidecarsreports/: daily reconciliation reportsstate/: SQLite index, manifest, and hydrate queue
Setup
Clean clone bootstrap:
python3 -m venv .venv
.venv/bin/python -m pip install --upgrade pip setuptools
.venv/bin/python -m pip install -e . --no-build-isolation
The wrapper scripts below assume .venv/ exists:
zsh ./ops/run-archive.sh stats
Run the first full local sync:
zsh ./ops/run-archive.sh sync --mode daily
Cheap hourly check:
zsh ./ops/run-archive.sh sync --mode hourly
See the current transcript hydration queue:
zsh ./ops/run-archive.sh hydrate-queue
Main use case:
zsh ./ops/run-mcp.sh
Manual Transcript Hydration
Granola appears to fetch some older transcripts on demand and then persist them back into cache-v4.json.
Recommended flow:
- Run
hydrate-queueand pick 5 to 10 meetings. - Open each meeting in Granola and expand the transcript.
- Wait a few seconds for the note to finish hydrating.
- Run
sync --mode hourly. - The new transcript will be detected and archived automatically.
If Granola shows a transcript in the UI but never persists it into cache-v4.json, import a copied transcript manually:
pbpaste | zsh ./ops/run-archive.sh import-transcript --meeting "Weekly Sync" --created-at 2025-10-08
You can also read from a file:
zsh ./ops/run-archive.sh import-transcript --meeting-id meeting-123 --file /tmp/transcript.txt
Manual transcript imports are stored under archive/manual/transcripts/ and are re-applied on future syncs, so a later cache update will not remove them.
MCP Usage
Start the local MCP server:
zsh ./ops/run-mcp.sh
Available tools:
search_meetingslist_meetingsget_meetingget_meeting_transcriptlist_foldersget_foldersearch_foldersearch_evidencesearch_unlistedget_folder_attachmentsstats
Recommended usage for grounded answers:
list_meetingsfor strict folder/date scopingsearch_evidencefor exact snippets before claiming decisions, people, or next stepsget_meetingorget_meeting_transcriptonly when deeper context is needed
Conceptually, the archive layer is there to make the MCP reliable over time. The primary user-facing surface is the MCP server, not the backup job itself.
Client Setup
Cursor
{
"mcpServers": {
"granola-local": {
"command": "/bin/zsh",
"args": ["/path/to/granola-local-archive/ops/run-mcp.sh"]
}
}
}
Cursor also supports install deeplinks. Because this MCP server runs from your local checkout, a public README cannot ship a universal one-click button with the correct absolute path for every machine.
Generate a local Cursor install link from your clone:
.venv/bin/python ./ops/generate-cursor-install-link.py
Open it directly on macOS:
open "$(.venv/bin/python ./ops/generate-cursor-install-link.py --raw)"
The helper can also print Markdown for an Add to Cursor button if you want to reuse it in your own docs:
.venv/bin/python ./ops/generate-cursor-install-link.py --markdown
Codex
Configure a stdio MCP server that points at the same launcher:
/bin/zsh /path/to/granola-local-archive/ops/run-mcp.sh
Claude Code
claude mcp add-json granola-local \
'{"type":"stdio","command":"/bin/zsh","args":["/path/to/granola-local-archive/ops/run-mcp.sh"]}' \
--scope user
Claude Desktop
Add the server to your Claude Desktop MCP config:
{
"mcpServers": {
"granola-local": {
"command": "/bin/zsh",
"args": ["/path/to/granola-local-archive/ops/run-mcp.sh"],
"env": {}
}
}
}
OpenCode
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"granola-local": {
"type": "local",
"enabled": true,
"command": ["/bin/zsh", "/path/to/granola-local-archive/ops/run-mcp.sh"]
}
}
}
ChatGPT
ChatGPT custom connectors currently target remote MCP servers over Streamable HTTP or SSE, not a local stdio process. This project would need a small HTTP adapter before it can be connected directly to ChatGPT.
Other MCP Clients
Untested stdio clients such as Windsurf or VS Code / GitHub Copilot should work with the same command and args pattern shown above.
GitHub Agents
This repository ships with custom GitHub Copilot agent profiles under .github/agents/:
security-review: checks for privacy, file access, subprocess, MCP exposure, and CI/supply-chain risksmcp-review: checks MCP protocol behavior, grounding quality, and tool contract reliabilityrelease-readiness: checks whether the repository is ready for a public release
Use them from the repository's Agents tab on GitHub, or from any GitHub Copilot surface that supports repository custom agents. Select the repository and branch first, then choose the agent and give it a focused task such as:
Review this PR for security issues.Review the MCP server for protocol or grounding problems.Check whether this branch is ready for a public release.
launchd Templates
Templates are under ops/launchd/ and are rendered locally during install:
- hourly sync every 3600 seconds
- daily reconciliation at 07:30 local time
Use ./ops/manage-launchd.sh to install or remove them:
zsh ./ops/manage-launchd.sh install
zsh ./ops/manage-launchd.sh status
zsh ./ops/manage-launchd.sh run-now daily
zsh ./ops/manage-launchd.sh uninstall
clear-logs truncates the archive scheduler logs without touching snapshots or reports.
Shareable Repo Hygiene
- Runtime data under
archive/is local state, not project source. - macOS installation state under
~/Library/LaunchAgentsis local state, not project source. - The project reads optional hydration priority folders from
GRANOLA_PRIORITY_FOLDERS, for example:
export GRANOLA_PRIORITY_FOLDERS="Folder A,Folder B"
- Before publishing, run:
zsh ./ops/check-public-hygiene.sh
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.