Skip to main content
Glama
Meetily MCP Server
by yepashkov
README.md
# Meetily MCP Server

MCP server that exposes meeting transcripts and AI-generated summaries from the
[Meetily](https://github.com/Zackriya-Solutions/meetily) desktop app to AI
assistants (OpenCode, GitHub Copilot, Claude Desktop, etc.).

## Prerequisites

- Meetily used at least once, so its SQLite database exists. The server reads it directly; the app does not need to be running.
- Database path, first match wins: `MEETILY_DB_PATH`; macOS `~/Library/Application Support/com.meetily.ai/meeting_minutes.sqlite`; Linux `$XDG_DATA_HOME/com.meetily.ai/meeting_minutes.sqlite` (default `~/.local/share`).
- Python 3.11+ and [uv](https://docs.astral.sh/uv/). Run with `uv run --directory <repo> python server.py`.

---

## Tools

### `list_meetings`
Returns all recorded meetings: ID, title, creation date.  
Use this first to see what is available.

```
list_meetings()
→ meeting-1714567890  "Team Standup 2024-04-21"  2024-04-21T09:00:00
→ meeting-1714481490  "Project Kickoff"          2024-04-20T14:30:00
```

---

### `search_meetings(query)`
**Keyword / substring search** across all transcript segments.  
Implemented as a SQL `LIKE '%query%'` on the Meetily SQLite database.

**What it is:** fast, exact-text matching — finds the word or phrase you type.  
**What it is NOT:** semantic / vector search. Searching *"login timeout bug"*
will **not** match a segment that says *"authentication problem in the gateway"* unless
those exact words appear.

Returns matching excerpts (±100 chars of context) grouped by meeting, each with
`meeting_id` on a separate line so it can be passed directly to follow-up tools.

**Best for:** looking up a known term, name, ticket number, acronym, or phrase
that was literally spoken in a meeting.

---

### `get_meeting_transcript(meeting_id)`
Returns the full verbatim transcript with timestamps.  
Use when you need the exact wording of a discussion.

---

### `get_meeting_summary(meeting_id)`
Returns the Meetily AI-generated summary for one meeting.  
Sections: Session Summary, Key Items & Decisions, Action Items, Next Steps,
Critical Deadlines, Participants.  
Much cheaper in tokens than the full transcript.

Summaries are generated inside the Meetily app (Settings → choose LLM →
open a past meeting → Summarize). If no summary exists yet the tool says so.

---

### `browse_all_summaries`
Fetches summaries for **every** meeting in a single call.  
This is the closest thing to semantic search available without a vector database:
the AI assistant reads all summaries and identifies which meetings are relevant
to a natural-language question — no exact keyword needed.

**When to use:**
- "What meetings discussed delivery delays?" (concept, not exact word)
- "Which meeting had a decision about the database migration?"
- Any question where you don't know the exact phrasing used

**Trade-off:** one HTTP call per meeting, plus large token output. Practical for
up to ~30–50 meetings. For large archives consider pairing it with
`search_meetings` to pre-filter.

---

## Typical workflows

### Keyword lookup (fast)
```
search_meetings("rate limit")
→ finds meeting-1714481490
get_meeting_summary("meeting-1714481490")
```

### Conceptual / semantic lookup
```
browse_all_summaries()
→ AI reads all summaries, identifies meeting-1714481490 as relevant
get_meeting_transcript("meeting-1714481490")   ← if more detail needed
```

### Deep dive
```
list_meetings()
get_meeting_summary("meeting-1714567890")
get_meeting_transcript("meeting-1714567890")
```

---

## Configuration

### OpenCode (`~/.config/opencode/opencode.json`)
```json
"mcp": {
  "meetings": {
    "type": "local",
    "command": ["python3", "/path/to/meetings_mcp/server.py"],
    "environment": {}
  }
}
```

### Claude Desktop (`~/Library/Application Support/Claude/claude_desktop_config.json`)
```json
"mcpServers": {
  "meetings": {
    "command": "python3",
    "args": ["/path/to/meetings_mcp/server.py"]
  }
}
```

### VS Code / GitHub Copilot (`.vscode/mcp.json` or user settings)
```json
"mcp": {
  "servers": {
    "meetings": {
      "type": "stdio",
      "command": "python3",
      "args": ["/path/to/meetings_mcp/server.py"]
    }
  }
}
```

---

## Why no real semantic search?

Meetily stores transcripts in SQLite with no embedding index. Adding true vector
search would require either:

- Running a local embedding model (e.g. `sentence-transformers`) and building an
  in-process FAISS/ChromaDB index at startup — viable but adds ~500 MB of
  dependencies and cold-start time.
- Indexing into a persistent vector store (Chroma, Qdrant, pgvector) and keeping
  it in sync with the Meetily DB.

For the current use case (AI assistant, not a search UI) the `browse_all_summaries`
approach is sufficient: the LLM is already a better semantic matcher than any
lightweight embedding model, and the summaries are compact enough to fit in context.

## License

MIT