---
title: "Connect FeedMCP to Claude Code (Social Media Data MCP & API) | FeedMCP"
description: "Add FeedMCP to Claude Code in one CLI command so your coding agent can query public data across 21 social platforms including TikTok, YouTube, X, Xiaohongs"
canonical: "https://feedmcp.com/integrations/claude-code/"
---
<p class="crumbs"><a href="/integrations/">Integrations</a> / Claude Code</p>

# Connect FeedMCP to Claude Code (Social Media Data MCP & API)

Add FeedMCP to Claude Code in one CLI command so your coding agent can query public data across 21 social platforms including TikTok, YouTube, X, Xiaohongshu, Douyin and WeChat—pay per call, failures free.

| Item | Value |
| --- | --- |
| Method | Native remote MCP (Streamable HTTP) |
| 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 Claude Code with a spend cap.

### 2. Configure FeedMCP in Claude Code

```bash
export FEEDMCP_API_KEY="fmk_live_YOUR_KEY"

claude mcp add --transport http feedmcp https://api.feedmcp.com/mcp \
  --header "Authorization: Bearer $FEEDMCP_API_KEY"
```

### 3. Verify the connection

Run `claude mcp list` to verify `feedmcp` is connected, then ask "Use FeedMCP find to locate TikTok comment endpoints"—this check is free.

## First prompts to try

| Prompt | Estimated cost |
| --- | --- |
| Use FeedMCP to pull today's trending lists on X and TikTok and compare top topics | 2 calls, $0.004 total |
| Fetch the transcript and first 3 pages of comments for this YouTube video and write a Markdown summary | 4 calls, $0.008 total |
| Search Reddit and Xiaohongshu for user complaints about portable monitors | 2 calls, $0.022 total |

## Tips & guardrails

Create a dedicated API key with a spend cap (e.g., $5) for Claude Code, and remind the agent in `CLAUDE.md` to quote costs and pass `max_price`.

## Questions

### How much does FeedMCP cost in Claude Code?

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 Claude Code 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 Claude Code 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 (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
- [Dify & n8n Workflows](/integrations/dify-n8n/)：OpenAPI import / HTTP Request node / MCP node

---

HTML version: https://feedmcp.com/integrations/claude-code/
