Use DataXAPI in 扣子 Coze: the MCP server in 5 fields
Give 扣子 Coze public data from 21 platforms. Fill in 5 fields once: 5 tools, 224 endpoints, from $0.0003 a call, and a failed call is never charged. Can 扣子 Coze read Xiaohongshu and Douyin? Yes: once connected it reads their public data itself, in three steps.
https://api.dataxapi.com/mcp- A remote address: nothing to deploy, no platform account to sign in to
- Give the key a daily and a monthly spending limit; your AI cannot go past it
- Every call is in the console's call log, its source marked MCP
DataXAPI is connected with 5 tools: find finds the endpoint for a question, describe shows its parameters and price, call runs it (the only one that is charged), read_more re-reads a result for 24 hours, and account shows your balance. The catalog has 224 endpoints on 21 platforms.
Check it works. Ask it to list the tools. This is the reply to expect; none of it costs anything.
- Setup
- 5 fieldstyped into the client once
- Where it is kept
- In the clientthe client keeps the key you type in
- Tools
- 5 toolsonly
callis charged - Transport
- Streamable HTTPone address, one header
Connected in three steps
No code to writeSign up and get a key
Sign in with a 6-digit code sent to your email, or with Google. Free trial on sign-up: up to 333 calls at $0.0003. No card.
dx_…shown in full once, when it is madeSend this to your AI
It reads the setup page and connects the MCP server itself. Put your own key where it says dx_….
Just ask
Your AI runs the endpoint it needs with call, looking it up with find first when it is not sure, and answers with links. Every call is in the console's call log.
Set it up
Three steps inside 扣子 Coze. Written from the client's own documentation.
- Endpoint
https://api.dataxapi.com/mcp- Header
Authorization: Bearer dx_…- Transport
- Streamable HTTP
- Authentication
- API key, as a bearer token
- Server
api.dataxapi.com/mcp
扣子 CozeCoze's developer platform: a workspace's Library → +Resource → Plugin, of the type MCP; once it is made and published, add it to an agent or a workflow
Open the place MCP servers are added
Coze's developer platform: a workspace's Library → +Resource → Plugin, of the type MCP; once it is made and published, add it to an agent or a workflow
Fill in the fields
Each as written here. The key is typed into the client and kept by it.
https://api.dataxapi.com/mcpService → Service token / API keyHeaderAuthorizationBearer, a space, and your API keySave, then ask it to list the tools
You should get the five below.
Claude Code1 command · ~/.claude.json
Put your key in the environment
Claude Code reads it from there. Add the line to your shell profile to keep it.
export DATAXAPI_API_KEY="dx_…"Add the server
One command, or the same entry written into ~/.claude.json.
dataxapi setup --client claude-code
{
"mcpServers": {
"dataxapi": {
"type": "http",
"url": "https://api.dataxapi.com/mcp",
"headers": {
"Authorization": "Bearer ${DATAXAPI_API_KEY}"
}
}
}
}Restart Claude Code
Then ask it to list the DataXAPI tools. You should get the five below.
5 tools · only call is chargedSetup steps for Claude Code →
Cursor1 command · ~/.cursor/mcp.json
Put your key in the environment
Cursor reads it from there. Add the line to your shell profile to keep it.
export DATAXAPI_API_KEY="dx_…"Add the server
One command, or the same entry written into ~/.cursor/mcp.json.
dataxapi setup --client cursor
{
"mcpServers": {
"dataxapi": {
"url": "https://api.dataxapi.com/mcp",
"headers": {
"Authorization": "Bearer ${env:DATAXAPI_API_KEY}"
}
}
}
}Restart Cursor
Then ask it to list the DataXAPI tools. You should get the five below.
5 tools · only call is chargedSetup steps for Cursor →
Codex1 command · ~/.codex/config.toml
Put your key in the environment
Codex reads it from there. Add the line to your shell profile to keep it.
export DATAXAPI_API_KEY="dx_…"Add the server
One command, or the same entry written into ~/.codex/config.toml.
dataxapi setup --client codex
[mcp_servers.dataxapi] url = "https://api.dataxapi.com/mcp" bearer_token_env_var = "DATAXAPI_API_KEY"
Restart Codex
Then ask it to list the DataXAPI tools. You should get the five below.
5 tools · only call is chargedSetup steps for Codex →
n8nThe MCP Client Tool node, attached as a tool to an AI Agent node of a workflow
Open the place MCP servers are added
The MCP Client Tool node, attached as a tool to an AI Agent node of a workflow
Fill in the fields
Each as written here. The key is typed into the client and kept by it.
https://api.dataxapi.com/mcpHTTP StreamableBearer Authyour API keySave, then ask it to list the tools
You should get the five below.
5 tools · only call is chargedSetup steps for n8n →
Cherry StudioSettings → MCP Servers → Add Server
Open the place MCP servers are added
Settings → MCP Servers → Add Server
Fill in the fields
Each as written here. The key is typed into the client and kept by it.
dataxapiStreamable HTTPhttps://api.dataxapi.com/mcpOne header: Authorization, with the value Bearer, a space, and your API keySave, then ask it to list the tools
You should get the five below.
5 tools · only call is chargedSetup steps for Cherry Studio →
TraeIn the IDE or the Agent window: Settings → MCP → Add (top right) → Create Manually, then the JSON below, and Confirm
Open the place MCP servers are added
In the IDE or the Agent window: Settings → MCP → Add (top right) → Create Manually, then the JSON below, and Confirm
Fill in the fields
Each as written here. The key is typed into the client and kept by it.
{"mcpServers":{"dataxapi":{"url":"https://api.dataxapi.com/mcp","headers":{"Authorization":"Bearer your API key"}}}}Save, then ask it to list the tools
You should get the five below.
5 tools · only call is chargedSetup steps for Trae →
DifyIntegrations → Tools → MCP → add an MCP server (HTTP)
Open the place MCP servers are added
Integrations → Tools → MCP → add an MCP server (HTTP)
Fill in the fields
Each as written here. The key is typed into the client and kept by it.
https://api.dataxapi.com/mcpDataXAPIdataxapiAuthorization: Bearer, a space, and your API keySave, then ask it to list the tools
You should get the five below.
5 tools · only call is chargedSetup steps for Dify →
ChatGPTChatGPT on the web: Plugins → + → Add custom MCP server; the name, the MCP address and OAuth as its authentication; tick the risk notice and choose Create as a plugin
Open the place MCP servers are added
ChatGPT on the web: Plugins → + → Add custom MCP server; the name, the MCP address and OAuth as its authentication; tick the risk notice and choose Create as a plugin
Fill in the fields
One address. You sign in to DataXAPI and approve; no key is copied anywhere.
DataXAPIhttps://api.dataxapi.com/mcpOAuth: sign in to DataXAPI and approveSave, then ask it to list the tools
You should get the five below.
5 tools · only call is chargedSetup steps for ChatGPT →
ClaudeOn the web or in the desktop app: Customize → Connectors → + Add → Add custom connector, with the name and the MCP address, and Sign in now as its authentication (on Team and Enterprise, an owner adds it first under Organization settings → Connectors)
Open the place MCP servers are added
On the web or in the desktop app: Customize → Connectors → + Add → Add custom connector, with the name and the MCP address, and Sign in now as its authentication (on Team and Enterprise, an owner adds it first under Organization settings → Connectors)
Fill in the fields
One address. You sign in to DataXAPI and approve; no key is copied anywhere.
DataXAPIhttps://api.dataxapi.com/mcpOAuth: sign in to DataXAPI and approveSave, then ask it to list the tools
You should get the five below.
5 tools · only call is chargedSetup steps for Claude →
Feishu (Lark)Feishu aily (Doubao work partner): an agent's settings → MCP services → Add custom MCP service
Open the place MCP servers are added
Feishu aily (Doubao work partner): an agent's settings → MCP services → Add custom MCP service
Fill in the fields
Each as written here. The key is typed into the client and kept by it.
https://api.dataxapi.com/mcpStreamable HTTPAuthorization, set to be typed by each user: Bearer, a space, and their own API keySave, then ask it to list the tools
You should get the five below.
5 tools · only call is chargedSetup steps for Feishu (Lark) →
A first conversation
A question, the calls it made, and what each one cost.
Tips for 扣子 Coze
- Give it its own key. Create a key named “扣子 Coze” with a daily budget in the console. When the budget is used up, calls stop; nothing else on your account is touched.
- Let the free tools run without asking. If 扣子 Coze asks before it runs a tool, allow
find,describe,read_moreandaccount. Leavecallon “ask” if you want to approve every charge. - Answers fit the context. A DataXAPI answer stops at about 20 KB on an item boundary and says how to read on;
read_moregets the rest at no charge. - Cap what a call may cost. Ask it to pass
max_pricewith every call. A call that could cost more is refused before anything is charged.
{ query: "tiktok account recent videos" }FreeFound tiktok.users.videos.list · TikTok user videos · $0.0020 a call{ capability: "tiktok.users.videos.list", username: "nasa", max_price: "0.01" }$0.0020Up to 10 videos · compact viewThe latest videos come back in the standard shape, each with its link, text, date and counts. Your AI answers from them, links each video and says what the call cost.
- url
- type
- text
- lang
- published_at
- author.name
- metrics.likes
- metrics.comments
- metrics.shares
What to know about 扣子 Coze
- This is coze.cn's developer platform. In the 扣子 assistant itself there is also Extensions → MCP → Add custom MCP, where the server is pasted as JSON with its
url; its page does not say whether a header is read there. coze.com's documents list no MCP plugin type. - The plugin has one key, used by everyone who uses the plugin: keep it to yourself, do not publish it to a store, and give the key a daily budget.
- After saving, run one tool in the plugin's test run (
findcosts nothing), then publish it; only a published plugin can be added to an agent.
The first call
Add the plugin to an agent and ask in its chat: “Use DataXAPI to find popular Xiaohongshu notes about sunscreen.”
From 扣子 Coze's own documentation, read on 2026-10-29. Menus move: if a step differs, the client's page is right. docs.coze.cn/guides_create_a_plugin_based_on_mcp · docs.coze.cn/mcp · www.coze.com/open/docs/guides/plugin
If something is off
find works, call says unauthorizedThe key did not reach the service from 扣子 Coze. The two free tools need no key, so they still answer.Check that the key is where the entry reads it from, and that it starts with dx_. Then restart.call says insufficient_balance or key_budget_exceededThe balance, or this key's budget, does not cover the price of the call. Nothing was charged.Ask it to run account, then top up or raise the key's budget.What you can ask
Under each question: the endpoint your AI calls, and what one call costsThe 5 tools your AI gets
findFinds the endpoint for a question.describeReads up to 5 endpoints in full: parameters, fields, price.callRuns one endpoint and returns one page of data.read_moreRe-reads a result for 24 hours.accountBalance, usage and receipts.Price
Full price list →Charged per call from your balance. No subscription, and the balance does not expire. Top up from $10, by card or Alipay.
Clients
Any other client that speaks remote MCP connects with the address and a key.
Give 扣子 Coze the market.
Free trial on sign-up: up to 333 calls at $0.0003. Sign-up takes an email and no card. A failed call is never charged.