by anysearch-ai
Unified real-time search MCP server supporting general web search, vertical domain search, parallel batch search, and full-page URL content extraction.
# Add to your Claude Code skills
git clone https://github.com/anysearch-ai/anysearch-mcp-serverGuides for using mcp servers skills like anysearch-mcp-server.
Last scanned: 11/28/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-11-28T22:15:00.350Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}anysearch-mcp-server is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by anysearch-ai. Unified real-time search MCP server supporting general web search, vertical domain search, parallel batch search, and full-page URL content extraction. It has 2,070 GitHub stars.
Yes. anysearch-mcp-server passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/anysearch-ai/anysearch-mcp-server" and add it to your Claude Code skills directory (see the Installation section above).
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh anysearch-mcp-server against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
English | 简体中文
Unified real-time search MCP server supporting general web search, vertical domain search, parallel batch search, and page body extraction.
Official MCP setup docs: https://www.anysearch.com/docs/mcp-install
To use AnySearch's skill service, see the AnySearch skill repository.
To use the AnySearch API, see the official AnySearch API documentation.
An API key is optional but recommended. Without a key, all features still work via anonymous access, but anonymous access is rate-limited per client IP and counted against the daily free quota.
Current public quotas: Free 1,000 calls/day, up to 10 QPS; Pro up to 20 QPS; Student/Developer plans 2,000 calls/day, 20 QPS (https://www.anysearch.com/pricing). Actual quotas and concurrency limits depend on your account and the server response.
The agent can register the user and obtain an API key in a single call — no verification code, no manual signup. Ask the user for a real email address: it becomes the account username. Obtain the user's explicit consent before registering; do not ask the user to paste the key into chat, and do not echo, print, or commit the key.
curl -s -X POST "https://api.anysearch.com/v1/auth/email/register" \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]"}'
Success response (code: 0) returns the account info and a one-time plaintext API key:
{
"code": 0,
"message": "success",
"data": {
"username": "[email protected]",
"email": "[email protected]",
"login_url": "https://www.anysearch.com/login",
"api_key": {
"id": "key_xxxxxxxx",
"key": "as_sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"key_prefix": "as_sk_xxxxxx...",
"name": "default",
"rate_limit": 20,
"quota_limit": 0,
"expires_at": null,
"created_at": "2026-06-23T10:23:00Z"
}
}
}
Quota fields such as rate_limit are account-specific response values; do not treat the example as a fixed plan.
On success the agent should:
login_url.data.api_key.key into a private MCP config or the ANYSEARCH_API_KEY environment variable as the Authorization: Bearer <key> value. It is shown only once (it can also be retrieved later from the dashboard).Errors can be expressed through the HTTP status, application-level code, or message, and may return a non-zero code with HTTP 200; do not assume every error uses code: -1, and do not rely on HTTP status alone:
| message pattern | what to do |
|---|---|
"invalid_email" |
ask the user to re-enter the email |
"email_already_registered" |
email is taken — tell the user to sign in at login_url; do not retry |
"Rate limited" |
prefer a retry delay from Retry-After, data.retry_after_seconds, or the message; if none is provided, stop repeated requests and retry later or use anonymous access |
"Key creation failed." |
account created but key failed — extract the email and URL from the message ("Key creation failed. Your account <email> was created; sign in at <url>.") and tell the user to sign in there to create a key manually |
"Internal server error." |
retry later or fall back to anonymous |
The email must be real and reachable.
Alternatively, visit https://anysearch.com/console/api-keys to create a free API key.
The remote MCP endpoint supports only these two modes:
| Priority | Source |
|---|---|
| 1 (highest) | Authorization: Bearer <key> request header (the key can be injected by the client from ANYSEARCH_API_KEY) |
| 2 | Anonymous access (rate-limited per IP and counted against the daily free quota) |
The
--api_keyCLI flag and.envfile reading apply only to local CLI/SDK clients, not to the hosted MCP endpoint.
| Scenario | Behavior |
|---|---|
| No key | Anonymous access; rate-limited per client IP and counted against the daily free quota |
| Has key | Sent via the Authorization: Bearer <key> header; uses the key's paid quota and higher concurrency |
| Key invalid, disabled, or expired | Returns HTTP 401 or 403; does not silently fall back to anonymous access |
| Quota exhausted | Returns HTTP 402 |
| Rate limited | Returns HTTP 429; wait according to Retry-After or the retry time in the response body |
The production endpoint is:
https://api.anysearch.com/mcp
It natively uses Streamable HTTP. Current OpenCode, Claude Code, Cursor, VS Code, Cline, OpenAI Codex, Google Antigravity, DeepSeek Harness, Hermes Agent, and OMP releases can connect to it directly; no SSE or stdio proxy is needed. Official MCP docs: AnySearch MCP Server Setup.
The configurations below follow each client's current official documentation. Use a client version that supports remote HTTP; configuration locations and environment-variable syntax may vary by client version, so check the client's official documentation.
The API key is optional. Where a client documents environment-variable or secret storage for custom headers, the examples use the recommended authenticated setup. Where it does not, the example stays anonymous and explains how to add authentication only in private user configuration. To use anonymous access elsewhere, remove only the Authorization entry and keep X-Anysearch-Client.
Official docs: MCP servers and configuration locations.
Use ~/.config/opencode/opencode.json for a global configuration or opencode.json in the project root. On Windows, the global path is %USERPROFILE%\.config\opencode\opencode.json.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"anysearch": {
"type": "remote",
"url": "https://api.anysearch.com/mcp",
"enabled": true,
"oauth": false,
"headers": {
"Authorization": "Bearer {env:ANYSEARCH_API_KEY}",
"X-Anysearch-Client": "mcp/1.0.0"
}
}
}
}
OpenCode uses {env:NAME} for environment-variable substitution. "oauth": false prevents an unnecessary OAuth discovery flow for this API-key-authenticated server.
After saving, restart OpenCode, then run opencode mcp list and confirm that anysearch is shown as connected.
Official docs: Connect Claude Code to tools via MCP.
For a private, user-wide installation, run:
claude mcp add --transport http anysearch https://api.anysearch.com/mcp --scope user --header "Authorization: Bearer <your_api_key>" --header "X-Anysearch-Client: mcp/1.0.0"
The user scope stores the server in ~/.claude.json and makes it available across all projects on the machine. The --header above writes the key in plaintext to the configuration; if you do not want a plaintext key, use the project-level .mcp.json below and set ANYSEARCH_API_KEY before starting Claude Code. For anonymous access, omit the Authorization --header option.
On Windows PowerShell, the environment variable syntax is
$env:ANYSEARCH_API_KEY, and quoting and variable expansion differ from bash. The${VAR}form in the CLI command is not guaranteed by official documentation; use.mcp.jsonfor variable expansion.
For a shareable project configuration, create .mcp.json in the project root:
{
"mcpServers": {
"anysearch": {
"type": "http",
"url": "https://api.anysearch.com/mcp",
"headers": {
"Authorization": "Bearer ${ANYSEARCH_API_KEY}",
"X-Anysearch-Client": "mcp/1.0.0"
}
}
}
}
Claude Code expands ${VAR} and ${VAR:-default} in .mcp.json, including inside url and headers. Set ANYSEARCH_API_KEY before starting Claude Code. Project-scoped servers require approval when first opened interactively.
Verify the connection with:
claude mcp get anysearch
claude mcp list
Inside Claude Code, /mcp shows the server status and available tools.
Official docs: Model Context Protocol.
Use .cursor/mcp.json for a project or ~/.cursor/mcp.json globally:
{
"mcpServers": {
"anysearch": {
"url": "https://api.anysearch.com/mcp",
"headers": {
"Authorization": "Bearer ${env:ANYSEARCH_API_KEY}",