okdata — Claude Code MCP server for social data
The okdata MCP server for Claude Code connects an agent to public data from social platforms. It can locate endpoints and fetch posts, account details, comments, and trending lists.
MIT updated 2026-11-15
claude mcp add --transport http mcp https://api.okdata.online/mcpWhat okdata does
okdata gives an agent tools to search for an endpoint, inspect its parameters and price, run a request, and retrieve the rest of a long response. The API covers public social data such as posts, accounts, comments, trending lists, transcripts, and ads.
Paid requests need an OKDATA_API_KEY and are billed per call or returned item; failed calls cost nothing. The remote MCP endpoint uses HTTP. Clients that require a local process can run the @okdata/mcp package with npx.
What it helps with
- find an endpoint for searching social posts
- retrieve comments and account details
- check an endpoint's price before calling it
- fetch the remainder of a long response
Example prompts for the agent
- Find an endpoint for searching TikTok videos and explain its parameters.
- Get comments for this post on X.
- Check my balance and find YouTube trending data.
How to install okdata
1Platform CLI: remote server
claude mcp add --transport http mcp https://api.okdata.online/mcp2Platform CLI
claude mcp add --env OKDATA_API_KEY=<OKDATA_API_KEY> --transport stdio okdata -- npx -y @okdata/mcpReplace <…> with your own values
1Platform CLI: remote server
codex mcp add okdata --url https://api.okdata.online/mcp2Platform CLI
codex mcp add okdata --env OKDATA_API_KEY=<OKDATA_API_KEY> -- npx -y @okdata/mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"okdata": {
"url": "https://api.okdata.online/mcp"
}
}
}{
"mcpServers": {
"okdata": {
"command": "npx",
"args": [
"-y",
"@okdata/mcp"
],
"env": {
"OKDATA_API_KEY": "<OKDATA_API_KEY>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"okdata": {
"type": "http",
"url": "https://api.okdata.online/mcp"
}
}
}{
"servers": {
"okdata": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@okdata/mcp"
],
"env": {
"OKDATA_API_KEY": "<OKDATA_API_KEY>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http okdata https://api.okdata.online/mcp2Platform CLI
gemini mcp add -e OKDATA_API_KEY=<OKDATA_API_KEY> okdata npx -y @okdata/mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about okdata
How do I install okdata in Claude Code?
Add the remote MCP server with claude mcp add --transport http okdata https://api.okdata.online/mcp. Set OKDATA_API_KEY for paid requests.
What does okdata do?
It gives an agent tools to find API endpoints, inspect their parameters and prices, request public social data, and read longer responses.
What does okdata require?
Paid requests require an OKDATA_API_KEY and access to the okdata service. Charges are based on calls or returned items.