Let your agent set it up

Paste this into the agent you already use. It tells the agent where DataSea is and how to sign you in.

Connect to DataSea for me. Add the remote MCP server https://api.datasea.io/mcp (Streamable HTTP with OAuth sign-in; no API key needed), then open the sign-in so I can approve access. If I don't have an account, I can sign up at https://app.datasea.io/signup and claim 500 free Web Context credits. Setup steps for each client: https://developers.datasea.io/examples/agent-clients.md

Connect your client

Every client uses the same server URL. Approve only the permissions you need; you can connect again later with more.

Claude (web, desktop, and mobile)

Open Settings → Connectors, choose Add custom connector, paste the server URL, then Connect and sign in to DataSea.

Server URL
https://api.datasea.io/mcp

ChatGPT

Add a custom MCP connector with the server URL and OAuth authentication, then connect your DataSea account. Custom connectors depend on your ChatGPT plan and workspace settings.

Server URL
https://api.datasea.io/mcp

Claude Code

Add the server, then run /mcp in Claude Code and choose Authenticate.

Claude Code
claude mcp add --transport http datasea https://api.datasea.io/mcp

Codex CLI

Add the server, then sign in.

Codex CLI
codex mcp add datasea --url https://api.datasea.io/mcp
codex mcp login datasea

Cursor

Add this to mcp.json, then choose Connect next to datasea in Cursor's MCP settings.

Cursor
{
  "mcpServers": {
    "datasea": { "url": "https://api.datasea.io/mcp" }
  }
}

VS Code

Add this to .vscode/mcp.json, then start the server and sign in when VS Code asks.

VS Code
{
  "servers": {
    "datasea": { "type": "http", "url": "https://api.datasea.io/mcp" }
  }
}

Gemini CLI

Add the server, then run /mcp auth datasea in Gemini CLI.

Gemini CLI
gemini mcp add --transport http datasea https://api.datasea.io/mcp

Things to ask

  • Scrape https://example.com/pricing and return every plan as JSON with its price and a source quote.
  • Crawl the docs at https://example.com/docs, up to 50 pages, and save each page as Markdown.
  • Search the web for the latest release notes of a library I use and summarize what changed.
  • How many DataSea Web Context credits do I have left?

Tools and credits

datasea_search, datasea_scrape, datasea_map, datasea_crawl spend Web Context credits at the published cost per operation. datasea_get_job, datasea_get_job_pages, datasea_cancel_job, datasea_get_usage, datasea_doctor are free.

Every account with a verified email can claim 500 free credits once. Results from web pages are marked as untrusted data so your agent treats them as content, not instructions.

Prefer a local server or a plain API? Install the stdio MCP server with an API key, or call the REST API directly.

Reading this as an agent?

Plain-text summaries and machine-readable references, no JavaScript needed: