Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
AI apps (MCP): each meeting's attendees with their emails, and the calendar event it is linked to (title, times, calendar)
christianmat00234cfbaeca
diff --git a/README.md b/README.mdindex 787bbbbd..b6f58b5d 100644--- a/README.md+++ b/README.md@@ -38,7 +38,7 @@- **Answers with sources.** Yogurt answers questions across meetings and links to the source.- **Folders and search.** You can find meetings by folder, title, notes or transcript.- **Copy and export.** You can copy notes or transcripts, or save both as Markdown.-- **Local MCP server.** When you turn this on, apps on your computer can read your notes, transcripts and saved audio.+- **Local MCP server.** When you turn this on, apps on your computer can read your notes, transcripts, saved audio and each meeting's calendar details (attendees' names and emails).- **Automatic stop.** By default, Yogurt stops recording when it detects that your call has ended.## Watch the demo@@ -123,7 +123,7 @@ Meeting data stays local; Yogurt goes online for model downloads and update chec<br>-> In **Settings → AI apps**, turn on access, copy the helper command, and add it as a local MCP server in your assistant app. Access is off by default. The app can read your meetings, notes and transcripts, but cannot change them. It may send what it reads to its own online model. Turn access off in Yogurt to stop further reads.+> In **Settings → AI apps**, turn on access, copy the helper command, and add it as a local MCP server in your assistant app. Access is off by default. The app can read your meetings (including their calendar details: the event, and attendees' names and emails), notes and transcripts, but cannot change them. It may send what it reads to its own online model. Turn access off in Yogurt to stop further reads.</details>@@ -131,7 +131,7 @@ Meeting data stays local; Yogurt goes online for model downloads and update chec<br>-> Access is off until you enable it in **Settings → AI apps**. Apps get read-only access to meetings, notes and transcripts. Mac and Linux use a socket in your profile folder with `0600` permissions, so only your user account can open it. Windows uses a named pipe with a new random name each launch, stored only in your profile folder. There is no per-app token, so any app running under your account can read while access is on. Settings shows connected apps by their self-reported names.+> Access is off until you enable it in **Settings → AI apps**. Apps get read-only access to meetings (with their calendar event and attendees' names and emails), notes and transcripts. Mac and Linux use a socket in your profile folder with `0600` permissions, so only your user account can open it. Windows uses a named pipe with a new random name each launch, stored only in your profile folder. There is no per-app token, so any app running under your account can read while access is on. Settings shows connected apps by their self-reported names.</details>diff --git a/app/src/main/mcp/server.ts b/app/src/main/mcp/server.tsindex 7c3ddd08..f3ca34e1 100644--- a/app/src/main/mcp/server.ts+++ b/app/src/main/mcp/server.ts@@ -28,9 +28,9 @@ const id = { type: 'string', description: 'The meeting id, from list_meetings orconst readOnly = { readOnlyHint: true, destructiveHint: false, openWorldHint: false }/** The tools, in this computer's words: a Mac records AAC in .m4a, Windows and Linux Ogg Opus (a backup can bring either) */export const mcpTools = (platform: string) => [- { name: 'list_meetings', description: 'Meetings recorded in Yogurt, newest first: id, title, start and end (ISO times), people invited, call app. Optional query finds meetings by words in their title, transcript or notes.',+ { name: 'list_meetings', description: 'Meetings recorded in Yogurt, newest first: id, title, start and end (ISO times), people invited (attendees: name and email from the calendar), call app. Optional query finds meetings by words in their title, transcript or notes.',inputSchema: { type: 'object', properties: { query: { type: 'string' }, limit: { type: 'number', description: 'Most to return (default 20, at most 100)' }, before: { type: 'string', description: 'Only meetings that started before this ISO time, to page back' } } } },- { name: 'get_meeting', description: "One meeting: its details, the notes the person typed (myNotes) and Yogurt's written summary (Markdown).",+ { name: 'get_meeting', description: "One meeting: its details, its attendees with their emails, the calendar event it is linked to (calendar_event: title, start, end, calendar; null when none), the notes the person typed (myNotes) and Yogurt's written summary (Markdown).",inputSchema: { type: 'object', properties: { id }, required: ['id'] } },{ name: 'get_transcript', description: 'What was said in a meeting, line by line with who said it. format "text" (default): "[mm:ss] Name: words" lines. format "lines": JSON with start_ms, end_ms, speaker, is_me and text. "Them" is the other side of the call when the call app gave no name.',inputSchema: { type: 'object', properties: { id, format: { type: 'string', enum: ['text', 'lines'] } }, required: ['id'] } },@@ -53,7 +53,13 @@ const text = (v: unknown) => (typeof v === 'string' && v.trim() ? v.trim() : undexport function createMcp(d: McpDeps): Mcp {const mac = (d.platform ?? 'darwin') === 'darwin'const listed = mcpTools(d.platform ?? 'darwin')- const summary = (m: Meeting) => ({ id: m.id, title: m.title, start: iso(m.startedAt), end: iso(m.endedAt), people: m.attendees.map((a) => a.name), app: m.app, recording: m.state === 'recording' })+ // the calendar's people with their emails (null when the calendar gave none): another app can write to them or match them+ const summary = (m: Meeting) => ({ id: m.id, title: m.title, start: iso(m.startedAt), end: iso(m.endedAt), people: m.attendees.map((a) => a.name),+ attendees: m.attendees.map((a) => ({ name: a.name, email: a.email ?? null })), app: m.app, recording: m.state === 'recording' })+ /** the calendar event the meeting is linked to, as last read (it stays without calendar access); null for none */+ const calendarEvent = (m: Meeting) => (m.eventId+ ? { title: m.eventTitle ?? null, start: iso(m.eventStartedAt ?? null), end: iso(m.eventEndedAt ?? null), calendar: m.eventCalendarName ?? null }+ : null)const meetingOf = (v: unknown) => {const m = typeof v === 'string' ? d.store.meeting(v) : undefined// a meeting in the Trash is gone as far as AI apps can tell@@ -75,7 +81,7 @@ export function createMcp(d: McpDeps): Mcp {async get_meeting(a) {const m = meetingOf(a.id)const n = d.store.notes(m.id)- return JSON.stringify({ ...summary(m), myNotes: n.mine, summary: n.enhanced }, null, 2)+ return JSON.stringify({ ...summary(m), calendar_event: calendarEvent(m), myNotes: n.mine, summary: n.enhanced }, null, 2)},async get_transcript(a) {const m = meetingOf(a.id)diff --git a/app/test/mcp.test.ts b/app/test/mcp.test.tsindex 587d59bf..9e18f36f 100644--- a/app/test/mcp.test.ts+++ b/app/test/mcp.test.ts@@ -101,6 +101,23 @@ describe('the MCP server', () => {expect((await json(mcp, 'list_meetings', { limit: 1 })).map((m: { id: string }) => m.id)).toEqual([newer.id])expect((await json(mcp, 'list_meetings', { query: 'travel' })).map((m: { id: string }) => m.id)).toEqual([older.id])})+ it("shares each meeting's calendar people with their emails", async () => {+ const { mcp, older, newer } = setup()+ const all = await json(mcp, 'list_meetings')+ expect(all.find((m: { id: string }) => m.id === older.id).attendees).toEqual([{ name: 'Ann Lee', email: '[email protected]' }])+ expect(all.find((m: { id: string }) => m.id === newer.id).attendees).toEqual([])+ expect((await json(mcp, 'get_meeting', { id: older.id })).attendees).toEqual([{ name: 'Ann Lee', email: '[email protected]' }])+ })+ it('gives the calendar event a meeting is linked to: its title, times and calendar; null when it has none', async () => {+ const { mcp, store, older } = setup()+ const linked = store.createMeeting({ title: 'Weekly sync', startedAt: Date.parse('2026-11-03T15:02:00Z'), endedAt: Date.parse('2026-11-03T15:31:00Z'), eventId: 'evt-1',+ eventStartedAt: Date.parse('2026-11-03T15:00:00Z'), eventEndedAt: Date.parse('2026-11-03T15:30:00Z'), eventTitle: 'Weekly sync with Acme', eventCalendarName: 'Work',+ app: 'Meet', state: 'done', attendees: [{ name: 'Dana Smith', email: '[email protected]' }, { name: 'Bo Park', email: null }] })+ const m = await json(mcp, 'get_meeting', { id: linked.id })+ expect(m.calendar_event).toEqual({ title: 'Weekly sync with Acme', start: '2026-11-03T15:00:00.000Z', end: '2026-11-03T15:30:00.000Z', calendar: 'Work' })+ expect(m.attendees).toEqual([{ name: 'Dana Smith', email: '[email protected]' }, { name: 'Bo Park', email: null }])+ expect((await json(mcp, 'get_meeting', { id: older.id })).calendar_event).toBeNull()+ })it('gives a meeting with its own notes and the written summary', async () => {const { mcp, older } = setup()expect(await json(mcp, 'get_meeting', { id: older.id })).toMatchObject({ id: older.id, title: 'Budget review', myNotes: 'travel flat', summary: '## Budget\n- Travel stays flat.' })