New: the Scrapier MCP server. Every scraper in Claude Code with one command. See how →
GET/api/v2/baidu-search/

Baidu Search Scraper MCP Server

Give Claude, Cursor and ChatGPT a tool for any public Baidu page of results. One command connects it; every call returns typed JSON. 1 credit per page of results.

Free API key · 1 credit per page of results · failed calls free

Last updated
Live agent run
Copy for your AI agent
Install

Connect in one command

Quick answerScrapier's MCP server gives Claude, Cursor and any MCP client tools for public Baidu pages of results, returned as JSON. One command connects it. Each call costs 1 credit.
terminal
claude mcp add -t http scrapier \
  https://mcp.scrapier.io/mcp \
  --header "X-API-Key: YOUR_API_KEY"
Then ask: "Get the Baidu page of results for 机器学习"
Connect

Custom connector

Connect any client that supports remote MCP with one URL and your API key.

Custom connector

Any MCP client

Paste one URL into any client that supports remote MCP and send your Scrapier API key in an X-API-Key header.

https://mcp.scrapier.io/mcp
Where to paste it
  • ClaudeSettings → Connectors → Add
  • ChatGPTSettings → Apps → Developer mode → Create
  • CursorSettings → MCP → Add new server
Step-by-step setup ↓
Setup

Setup in Claude, Cursor, Windsurf and ChatGPT

Pick your client. Three steps, under a minute.

  1. Get a free API key from your Scrapier dashboard.
  2. Run the command below in your terminal.
  3. Restart Claude Code and run /mcp to see the tools.
terminal
claude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY"
claude · ~/project
› /mcp
Manage MCP servers
● scrapier · connected · 6 tools
└ search_endpoints
└ run_scrape
└ …4 more
›

Verify the connection

Ask "List your Baidu tools". The agent should find run_scrape and search_endpoints.

Tools

Baidu MCP Tools

Use search_endpoints to discover, run_scrape to call.

ToolReturnsInputsKey fieldsCredits
run_scrapeRun the page of results scraperendpoint="baidu-search", query="..."title, link, displayed_link, snippet, position1

Output fields

run_scrape · 200 OK
{
  "success": true,
  "data": {
    "query": "机器学习",
    "page": 1,
    "page_size": 10,
    "organic_results": [
      {
        "title": "什么是机器学习? - 百度百科",
        "link": "https://baike.baidu.com/item/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0",
        "displayed_link": "baike.baidu.com",
        "snippet": "机器学习是人工智能的一个分支,它使计算机能够通过数据学习,而不是通过明确的编程指令...",
        "position": 1,
        "keyword": "机器学习"
      }
    ],
    "answer_box": [],
    "next_cursor": "eyJoIjoiYWJjMTIzZGVmNDU2IiwicG4iOjEwLCJxIjoi5py65Zmo5a2m5LmgIiwidHAiOiIifQ"
  }
}
Examples

Example Prompts and Tool Calls

The prompt, the tool call, the JSON and the answer.

Get page of results data

Get the page of results data for 机器学习.
⚙ run_scrape(endpoint="baidu-search", query="机器学习")
run_scrape(endpoint="baidu-search", query="机器学习")
{
  "title": "什么是机器学习? - 百度百科",
  "link": "https://baike.baidu.com/item/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0",
  "displayed_link": "baike.baidu.com",
  "snippet": "机器学习是人工智能的一个分支,它使计算机能够通过数据学习,而不是通过明确的编程指令..."
}
Here are the page of results details from the Scrapier API.
Workflows

Agent Workflows

Baidu data pipeline

  1. input list
  2. run_scrape
  3. filter results
  4. export

Feed a list, pull each page of results, filter by criteria, export the result.

Compare

Baidu Scraper MCP vs the Official Baidu MCP

Scrapier Baidu MCPThis pageOfficial Baidu APIApify actor over MCP
Data returnedAny public page of results, typed JSONYour own accounts and insightsVaries by actor
Auth neededOne Scrapier keyBaidu app + business accountApify token
Cost model1 credit per callFree once approvedCompute units per run
Rate limits3 parallel per keyPer-user hourly quotaPer actor
Best forResearch, enrichment, monitoringOwn-account analyticsCustom one-off crawls

Limits

  • Public data only — private pages of results return identity fields only
  • Counts are live at call time; no history unless you store it
Billing

Credits, Rate Limits and Security

Credits per call1
Parallel requests3 per key
AuthOne Scrapier key, no Baidu login
  • Your key stays in your client config, never in prompts
  • No Baidu account or cookies are used
  • Failed calls cost 0 credits
  • Rotate or revoke keys any time from the dashboard

See full pricing →

Troubleshooting

Troubleshooting

Tools not showing

Restart the client after editing its config. In Claude Code run /mcp; in Cursor check the server toggle is on.

401 invalid key

The key is missing or mistyped. Copy it again from the dashboard.

429 rate limit

You exceeded your plan's parallel requests. The agent should wait for Retry-After.

Timeout on large requests

Batch in smaller groups, or raise the client timeout to 210 seconds.

FAQ

Frequently Asked Questions

Is there a Baidu scraper MCP server?

Yes. Scrapier's MCP server exposes Baidu page of results tools to Claude, Cursor, Windsurf and ChatGPT. One command connects it and every call returns typed JSON.

How do I scrape Baidu pages of results with Claude?

Run <code>claude mcp add -t http scrapier https://mcp.scrapier.io/mcp</code> with your API key, then ask Claude for any public page of results. It calls <code>run_scrape</code> and reads the JSON directly.

Does it need a Baidu login?

No. The server reads public data only and uses no Baidu account or cookies.

How much does a Baidu MCP call cost?

1 credit per call — about $1.58 per 1,000 pages of results on the Pro plan. Failed calls are free.

Can ChatGPT use the Baidu scraper?

Yes. Add Scrapier as a custom connector in ChatGPT's developer mode and the same tools appear in chat.

More servers

Related MCP Servers

Give your agent Baidu data

1 tool · JSON · one key