---
title: "Connect FeedMCP to Dify & n8n Workflows (Social Media Data MCP & API) | FeedMCP"
description: "Import `https://feedmcp.com/openapi.json` directly into Dify as a custom tool, or wire FeedMCP into n8n via HTTP Request or MCP Client nodes for scheduled "
canonical: "https://feedmcp.com/integrations/dify-n8n/"
---
<p class="crumbs"><a href="/integrations/">Integrations</a> / Dify & n8n Workflows</p>

# Connect FeedMCP to Dify & n8n Workflows (Social Media Data MCP & API)

Import `https://feedmcp.com/openapi.json` directly into Dify as a custom tool, or wire FeedMCP into n8n via HTTP Request or MCP Client nodes for scheduled monitoring.

| Item | Value |
| --- | --- |
| Method | OpenAPI import / HTTP Request node / MCP node |
| MCP URL | `https://api.feedmcp.com/mcp` |
| OpenAPI | https://feedmcp.com/openapi.json |
| Coverage | 21 platforms · 193 endpoints |
| Billing | Pay per call (from $0.0003), failures free, $0.10 trial credit |

## Setup steps

### 1. Create a spend-capped API key

Sign up in the [console](/console/keys/) ($0.10 free trial credit, no card) and create a dedicated API key (`fmk_live_…`) for Dify & n8n Workflows with a spend cap.

### 2. Configure FeedMCP in Dify & n8n Workflows

### Dify
1. Open **Tools → Custom → Create Custom Tool**.
2. Import Schema from URL: `https://feedmcp.com/openapi.json`.
3. Set Auth to **API Key → Bearer** with `fmk_live_YOUR_KEY`.

### n8n
In an **HTTP Request** node:

| Field | Value |
| --- | --- |
| Method | `GET` |
| URL | `https://api.feedmcp.com/v1/tiktok/trends/list` (swap any endpoint path) |
| Authentication | Generic Credential Type → Header Auth |
| Header Name / Value | `Authorization` / `Bearer fmk_live_YOUR_KEY` |
| Recommended headers | `X-Max-Price: 0.02` and `Idempotency-Key: {{$execution.id}}` |

### 3. Verify the connection

Run a test call in Dify or Execute Node in n8n and verify `code: "ok"` with `meta.billing`.

## First prompts to try

| Prompt | Estimated cost |
| --- | --- |
| Daily 9 AM sweep of competitor Meta + TikTok ads summarized to Slack | ~$0.004/day |
| Monitor 5 industry WeChat accounts and archive new articles into Notion/Airtable | Billed per new article |
| Weekly TikTok Shop buyer review digest emailed to your product team | ~$0.01/week |

## Tips & guardrails

Always pass an `Idempotency-Key` (e.g., execution ID + item ID) in scheduled workflows so automatic retries never double-charge.

## Questions

### How much does FeedMCP cost in Dify & n8n Workflows?

Pay per call with no subscription, starting at $0.0003 (most platforms $0.002/call; Xiaohongshu and WeChat $0.02/call). Failed calls are free; $0.10 free trial credit on sign-up.

### How do I prevent Dify & n8n Workflows from overspending?

Set a total spend cap on the API key in the console, and use `X-Max-Price` / `max_price` to cap individual calls.

### Which platforms can Dify & n8n Workflows read through FeedMCP?

All 21 platforms and 193 endpoints: TikTok, YouTube, Instagram, X, Threads, Telegram, Reddit, LinkedIn, Facebook, Pinterest, Meta Ad Library, Google Ads Transparency, Xiaohongshu (RedNote), Douyin, Kuaishou, WeChat Official Accounts, WeChat Channels, WeChat Search, Weibo, Zhihu and Bilibili. See [all endpoints](/apis/).

## Other AI client guides

- [Claude Code](/integrations/claude-code/)：Native remote MCP (Streamable HTTP)
- [Claude (Desktop / Web)](/integrations/claude/)：Remote MCP server (Streamable HTTP)
- [Cursor](/integrations/cursor/)：Native remote MCP (`~/.cursor/mcp.json`)
- [OpenAI Codex CLI](/integrations/codex/)：Native remote MCP (`~/.codex/config.toml`)
- [Windsurf](/integrations/windsurf/)：Native remote MCP (`mcp_config.json`)
- [Cherry Studio](/integrations/cherry-studio/)：GUI remote MCP (Streamable HTTP)
- [ChatGPT (connectors / Custom GPT Actions)](/integrations/chatgpt/)：Remote MCP connector (OAuth sign-in), or Custom GPT Actions (`/openapi.json`)
- [DeepSeek](/integrations/deepseek/)：MCP client (Cherry Studio / Cline) or Function Calling
- [WorkBuddy](/integrations/workbuddy/)：Remote MCP (Streamable HTTP) or `agents.md` setup
- [Doubao & Coze](/integrations/doubao/)：Coze plugin / OpenAPI import + MCP
- [Qwen (Tongyi / Model Studio)](/integrations/qwen/)：Remote MCP (Streamable HTTP) or HTTP tool calling

---

HTML version: https://feedmcp.com/integrations/dify-n8n/
