spreshapp-mcp
Connects Claude to SpreshApp's Facebook ad intelligence platform, enabling competitor research, ad angle analysis, brand ad tracking, and library search directly from Claude.
README
<p align="center"> <img src="assets/logo.png" width="72" alt="SpreshApp logo" /> </p>
<h1 align="center">spreshapp-mcp</h1>
<p align="center"> MCP server that connects Claude to SpreshApp's Facebook ad intelligence platform. <br /> <a href="https://www.npmjs.com/package/spreshapp-mcp"><img src="https://img.shields.io/npm/v/spreshapp-mcp" alt="npm version" /></a> <img src="https://img.shields.io/badge/node-%3E%3D20-brightgreen" alt="Node 20+" /> <img src="https://img.shields.io/badge/MCP-compatible-blue" alt="MCP compatible" /> </p>
Ask Claude to research competitors, decode winning ad angles, track brand ad history, and analyze your saved ad library, all directly from your Claude Desktop or Claude Code session.
<p align="center"> <img src="assets/feature-mcp.png" alt="SpreshApp MCP in Claude Code" width="800" /> </p>
Requirements
- Node.js >= 20
- A SpreshApp account
Setup
Claude Desktop
Add this to your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"spreshapp": {
"command": "npx",
"args": ["-y", "spreshapp-mcp"]
}
}
}
Restart Claude Desktop after saving.
Claude Code
claude mcp add spreshapp -- npx -y spreshapp-mcp
VS Code (with MCP extension)
{
"mcp": {
"servers": {
"spreshapp": {
"command": "npx",
"args": ["-y", "spreshapp-mcp"]
}
}
}
}
Authentication
Authenticate once before starting the MCP server:
npx -y spreshapp-mcp login
This opens your browser to log in with your SpreshApp account (OAuth 2.0 with PKCE). After login, credentials are saved to ~/.spreshapp/credentials.json (file mode 600) and refreshed automatically before each session.
For headless or remote agent environments, use a SpreshApp API key from the dashboard instead of browser OAuth:
npx -y spreshapp-mcp login --no-browser
This prints setup instructions for the user and agent. The user can create or copy a key at spreshapp.com/app/api-access. Keys start with sk_sprs_.
Set the key in the MCP server environment:
SPRESHAPP_API_KEY=sk_sprs_... npx -y spreshapp-mcp
OAuth token variables are still supported for advanced setups: SPRESHAPP_ACCESS_TOKEN, SPRESHAPP_REFRESH_TOKEN, SPRESHAPP_CLIENT_ID, and SPRESHAPP_TOKEN_EXPIRES_AT.
Check auth status:
npx -y spreshapp-mcp status
To log in again:
npx -y spreshapp-mcp logout
npx -y spreshapp-mcp login
Available Tools
Ad tools
| Tool | Description |
|---|---|
ad_search |
Search Facebook ads by keyword, niche, or industry |
ad_search_expand_query |
Expand a search query to surface more relevant ads |
ad_get |
Fetch full details for a specific ad |
ad_get_analysis |
Retrieve saved AI analysis for an ad |
ad_analyze |
Run AI analysis on any ad |
ad_analyze_batch |
Analyze multiple ads in one call |
ad_chat |
Chat with Claude about an ad's creative strategy |
Brand tools
| Tool | Description |
|---|---|
brand_search |
Search for brands in SpreshApp |
brand_get_overview |
Get a brand's full profile and stats |
brand_get_status |
Get the current tracking status for a brand |
brand_get_ad_history |
Get historical ad volume data for a brand |
brand_list_active_ads |
List all ads a brand is currently running |
brand_follow |
Start tracking a brand |
Library tools
| Tool | Description |
|---|---|
search_ads |
Search your saved ad library |
get_folder_ads |
Get ads from a specific folder |
list_folders |
List all your saved folders |
get_tags |
List tags used across your library |
get_pages |
List saved Facebook pages |
Example prompts
Find 10 high-performing Facebook video ads in the fitness niche and summarize the angles used.
Research Nike's current Facebook ad strategy, how many ads are they running and what are the themes?
Open my "Inspiration" folder and identify the top 3 creative hooks.
Track the brand glossier.com and show me their ad history over the last 30 days.
Troubleshooting
| Symptom | Fix |
|---|---|
| Browser did not open | Copy the URL printed to the terminal and open it manually |
| "Authentication expired" error | Delete ~/.spreshapp/credentials.json and re-run |
| "Not subscribed to any plan" | Visit spreshapp.com/pricing |
| "Daily limit reached" | Quota resets at midnight UTC, or upgrade your plan |
| "Feature not available" | Your current plan does not include this tool, upgrade at spreshapp.com/pricing |
License
UNLICENSED — proprietary software. See spreshapp.com for terms.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。