What is MCP for social data?
MCP for social data means AI clients such as Cursor, Claude and VS Code can call Social Fetch endpoints as tools. MCP (Model Context Protocol) is a standard way to connect AI clients to tools, and Social Fetch offers its whole REST catalog over it with the same billing. You sign in with OAuth by default, or send your API key in the x-api-key header if the client never prompts you.
Glossary · Agents
What's actually on offer
Add the hosted MCP server at https://api.socialfetch.dev/mcp and finish signing in with OAuth in your browser. If the client never prompts, send x-api-key with the key read from an environment variable. Every REST endpoint is available as a tool: 87 platforms and 1112 operations.
Tool names follow the pattern {platform}_{resource}_{action}, for example tiktok_profile_get or youtube_video_transcript_get. Free helper tools include docs_search, docs_read, auth_whoami, billing_balance_get and nl_ask_post.
A concrete call
tiktok_profile_get returns the profile fields, a status saying whether the profile was found, and the request ID, credits charged and version, exactly as REST does. You authenticate with OAuth or the same x-api-key header.
When the question is vague, use nl_ask_post. Choosing the endpoint costs 0 credits and the lookup is billed as usual. The response names the endpoint it used, so you can call that tool directly next time.
How it's used in practice
It's handy for prototyping in Cursor, Claude or VS Code, where you can explore the data without writing HTTP calls by hand. To add it to Claude Code, run `claude mcp add --transport http socialfetch https://api.socialfetch.dev/mcp`.
A common pattern is to use docs_search or nl_ask_post to get your bearings, then fix on a specific tool or REST endpoint for production and CI. Credits come from the signed-in account, the same balance REST uses.
MCP vs plain REST integration
Use the REST API or the @socialfetch/sdk package for servers, CI and backends, with a long-lived API key.
Use MCP in clients that support it. You get a typed list of tools, and OAuth keeps keys out of config files. The catalog, response shape and billing are the same, and only the connection differs. Clients that never prompt for OAuth can still send x-api-key.
Common mistakes
Pasting your API key as plain text in mcp.json. Use OAuth, or set an x-api-key header that reads the key from an environment variable.
Treating every 200 as data. Check whether the profile was found first: a not-found result is a completed answer with no profile in it.
Making up tool names. Use the MCP tool list, docs_search or nl_ask_post.
Same data, same price
MCP gives you the same public data as REST, with the same scope.
Pricing is the same too, with the same credit rules, including charges for not-found results.
MCP supplies the tools, and Agent Skills supply the instructions for using them well. Install both.
Questions. Short answers.
What is MCP for social media data?
MCP lets AI clients call outside tools. Social Fetch offers its REST catalog as typed MCP tools, with OAuth sign-in by default or an API key in the x-api-key header if the client never prompts.
How do I connect Claude to a social data API?
Run `claude mcp add --transport http socialfetch https://api.socialfetch.dev/mcp`, then type `/mcp` to sign in with OAuth. The Social Fetch MCP docs have the details.
Do I put an API key in mcp.json?
OAuth is better. If the client never prompts you to sign in, set an x-api-key header that reads the key from an environment variable. The Social Fetch MCP docs show how.
Are MCP calls billed differently from REST?
No. MCP uses the same credits as REST, returns the same HTTP 402 when you run out, and shows the credits charged on each response. docs_search, docs_read, auth_whoami and billing_balance_get are free on both.
What tools does Social Fetch expose over MCP?
Every REST endpoint as a tool named {platform}_{resource}_{action}, plus docs_search, docs_read, auth_whoami, billing_balance_get and nl_ask_post.
What's the difference between MCP and the /v1/ask endpoint?
They do the same routing job: POST /v1/ask over REST, nl_ask_post over MCP. Choosing the endpoint costs 0 credits, and the lookup it runs is billed as usual.
Should I use MCP or REST in production?
Use the REST API or SDK with an API key for servers and CI. Use MCP in AI clients for prototyping and agent workflows.
Does MCP give access to different or more data than REST?
No. Social Fetch's MCP tools cover the same public data and platforms as REST, and report not-found and private results the same way.
Keep reading. Related pages.
Try it on real data.
100 free credits when you sign up, no card needed. Make your first request in the Playground.
No credit cardSign up in 30 seconds withGoogleGitHub