Spark MCP Server logo

Spark MCP Server

Community
feamster

MCP server for accessing Spark Desktop meeting transcripts and emails through the Model Context Protocol.

Publisherfeamster
Repositoryspark-mcp
LanguagePython
Forks
4
Stars
11
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    Spark MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    11 stars and 4 forks from the linked repository.

Spark MCP Server

MCP server for accessing Spark Desktop meeting transcripts and emails through the Model Context Protocol.

Features

  • 📝 Access all meeting transcripts (calendar-based and ad-hoc)
  • 🔍 Full-text search across transcript content
  • 📊 Statistics and analytics about your transcripts
  • 🔒 Read-only access - safe and non-destructive
  • ⚡ Fast local SQLite queries - no network required
  • 🎯 Captures ad-hoc meetings (primary use case)

Requirements

  • macOS (Spark Desktop must be installed)
  • Python 3.10+
  • Spark Desktop for macOS (App Store version)

Installation

bash
# Install in development mode
pip install -e .

Usage

With Claude Desktop

Add to your Claude Desktop MCP settings (~/Library/Application Support/Claude/claude_desktop_config.json):

json
{
  "mcpServers": {
    "spark": {
      "command": "python",
      "args": ["-m", "spark_mcp.server"],
      "cwd": "/Users/feamster/src/spark-mcp"
    }
  }
}

Or if installed via pip:

json
{
  "mcpServers": {
    "spark": {
      "command": "spark-mcp"
    }
  }
}

Restart Claude Desktop, and the tools will be available.

Standalone Testing

bash
# Run the server (communicates via stdio)
python -m spark_mcp.server

Available Tools

1. list_meeting_transcripts

List meeting transcripts with metadata.

Parameters:

  • limit (optional, default: 20): Max results
  • after (optional): Return transcripts with meetingStartDate after this ISO datetime (e.g., '2026-01-30T13:00:00')
  • before (optional): Return transcripts with meetingStartDate before this ISO datetime (e.g., '2026-01-30T16:00:00')

Example:

json
{
  "after": "2026-02-09T09:00:00",
  "before": "2026-02-09T12:00:00",
  "limit": 10
}

Returns:

json
{
  "transcripts": [
    {
      "messagePk": 63336,
      "subject": "Prior Art Review for Patent Claims 416 and 571",
      "sender": "example@example.com",
      "receivedDate": "2025-11-11 15:59:12",
      "meetingStartDate": "2025-11-11T15:00:00.000Z",
      "meetingEndDate": "2025-11-11T16:00:00.000Z",
      "transcriptId": "-8929133086933914113",
      "isCalendarEvent": false,
      "eventSummary": null,
      "textLength": 29893,
      "hasFullText": true
    }
  ],
  "total": 228
}

2. get_meeting_transcript

Get full transcript content.

Parameters:

  • messagePk (optional): Message primary key from list
  • transcriptId (optional): Transcript ID (mtid)

Example:

json
{
  "messagePk": 63336
}

Returns:

json
{
  "messagePk": 63336,
  "subject": "Prior Art Review for Patent Claims 416 and 571",
  "sender": "example@example.com",
  "recipients": "recipient@example.com",
  "receivedDate": "2025-11-11 15:59:12",
  "meetingStartDate": "2025-11-11T15:00:00.000Z",
  "meetingEndDate": "2025-11-11T16:00:00.000Z",
  "transcriptId": "-8929133086933914113",
  "fullText": "the meeting focused on reviewing prior art for patent claims...",
  "metadata": {
    "language": "auto",
    "status": true,
    "autoProcessed": true,
    "isKept": true,
    "eventSummary": null
  }
}

3. search_meeting_transcripts

Full-text search across transcripts.

Parameters:

  • query (required): Search query (FTS5 syntax supported)
  • startDate (optional): Filter after this date
  • endDate (optional): Filter before this date
  • limit (optional, default: 20): Max results
  • includeContext (optional, default: true): Include highlighted excerpts

Example:

json
{
  "query": "neural network AND security",
  "limit": 5
}

FTS5 Query Syntax:

  • word1 AND word2 - Both words must be present
  • word1 OR word2 - Either word present
  • NOT word - Exclude word
  • "exact phrase" - Exact phrase match
  • word* - Prefix match

Returns:

json
{
  "results": [
    {
      "messagePk": 62642,
      "subject": "Meeting Summary",
      "sender": "example@example.com",
      "receivedDate": "2025-11-10 23:04:38",
      "excerpt": "...discussing <mark>neural network</mark> architectures for <mark>security</mark> applications...",
      "relevanceScore": 1.5
    }
  ],
  "total": 5
}

4. get_transcript_statistics

Get overview statistics.

Parameters: None

Returns:

json
{
  "totalTranscripts": 233,
  "calendarMeetings": 37,
  "adHocMeetings": 196,
  "keptTranscripts": 228,
  "deletedTranscripts": 5,
  "withFullText": 225,
  "dateRange": {
    "earliest": "2024-09-01 10:00:00",
    "latest": "2025-11-11 15:59:12"
  },
  "topSenders": [
    {
      "email": "colleague@example.com",
      "count": 45
    }
  ]
}

Data Sources

Databases Used

  1. messages.sqlite - Transcript metadata

    • Location: ~/Library/Containers/com.readdle.SparkDesktop.appstore/Data/Library/Application Support/Spark Desktop/core-data/messages.sqlite
    • Tables: messages, meetTranscriptEvent
    • Size: ~178 MB
  2. search_fts5.sqlite - Full transcript text

    • Location: ~/Library/Containers/com.readdle.SparkDesktop.appstore/Data/Library/Application Support/Spark Desktop/core-data/search_fts5.sqlite
    • Table: messagesfts (FTS5 full-text index)
    • Size: ~232 MB

Transcript Types

Calendar-Based Meetings (37 transcripts):

  • Scheduled meetings with calendar event info
  • Stored in meetTranscriptEvent table
  • Have eventSummary field

Ad-Hoc Meetings (196 transcripts):

  • User-initiated transcriptions
  • Not linked to calendar events
  • This is the primary use case for most users

Total: 228 kept transcripts (233 including deleted)

Safety Features

  • ✅ Read-only database access
  • ✅ No writes or modifications
  • ✅ Graceful handling of schema changes
  • ✅ Safe concurrent access with Spark

Troubleshooting

"Failed to connect to Spark databases"

  1. Verify Spark Desktop is installed (App Store version)
  2. Check database paths exist:
bash
ls -la ~/Library/Containers/com.readdle.SparkDesktop.appstore/Data/Library/Application\ Support/Spark\ Desktop/core-data/

No transcripts found

  • Make sure you have meeting transcripts in Spark
  • Check that transcripts are marked as "kept" (not deleted)
  • Try running get_transcript_statistics to see counts

Empty transcript text

Some transcripts may not have full text cached locally:

  • Recent transcripts may still be syncing
  • Deleted transcripts have no content
  • Check hasFullText field in list results

Development

bash
# Install in development mode
pip install -e .

# Run tests (if you add them)
pytest

Future Enhancements

See PLAN.md for detailed roadmap, including:

  • General email search and processing
  • Alternative data access methods (API, IMAP)
  • Additional analytics and insights
  • Export capabilities

License

MIT

Installation

TypingMind
{
  "mcpServers": {
    "spark-mcp": {
      "command": "spark-mcp",
      "args": []
    }
  }
}

Use Spark MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Spark MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Spark MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Spark MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "spark-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Spark MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Spark MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Spark MCP Server to help me with this task?
Spark MCP Server
Sure. I read it.
Here is what I found using Spark MCP Server.

Frequently asked questions

What is the Spark MCP Server MCP server used for?

Spark MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Spark MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Spark MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Spark MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Spark MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Spark MCP Server MCP to TypingMind?

Spark MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Spark MCP Server MCP provide in TypingMind?

Spark MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Spark MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Spark MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇