Skip to main content
Glama
anysearch-ai

AnySearch

Official
by anysearch-ai

AnySearch MCPサーバー

一般的なウェブ検索、バーティカルドメイン検索(23ドメイン)、並列バッチ検索、およびフルページURLコンテンツ抽出をサポートする統合リアルタイム検索MCPサーバー。

機能

  • 一般的なウェブ検索 — オープンエンドな自然言語クエリ

  • バーティカルドメイン検索 — 23のドメイン(金融、学術、セキュリティ、法律、コードなど)にわたる構造化クエリ

  • 並列バッチ検索 — 1回の呼び出しで最大5つの独立したクエリを実行

  • URLコンテンツ抽出 — ページ全体のコンテンツを取得し、Markdownとして抽出

  • 匿名アクセス — APIキーなしで動作可能(レート制限は低くなります)

Related MCP server: Scout

APIキーの設定

APIキーは任意ですが、推奨されます。キーがなくても、匿名アクセスを介してすべての機能が動作しますが、レート制限が低くなります。

APIキーの取得

https://anysearch.com/console/api-keys にアクセスして、無料のAPIキーを作成してください。

キーの優先順位

優先度

ソース

1 (最高)

--api_key CLIフラグ / Authorization ヘッダー

2

環境変数 ANYSEARCH_API_KEY

3

.env ファイル (ANYSEARCH_API_KEY=<key>)

4

匿名アクセス (低いレート制限)

キーの動作

シナリオ

動作

キーなし

匿名アクセスで続行(低いレート制限)

キーあり

Authorization: Bearer <key> ヘッダー経由で送信、高いレート制限

キーが枯渇、自動登録キーが返された場合

エージェントはユーザーに確認を求め、新しいキーを保存する必要がある

キーが枯渇、新しいキーなし

ユーザーに通知し、新しいAPIキーの設定を提案する

MCPトランスポート

AnySearch MCPサーバーは、Streamable HTTPトランスポート(MCP仕様 2025-03-26)をネイティブサポートしています。SSEおよびstdioクライアントはプロキシ経由で接続可能です。

トランスポート

ネイティブ?

最適な用途

Streamable HTTP

はい

OpenCode, Claude Desktop (2025.6+), ウェブベースのクライアント

SSE

プロキシ経由

Cursor, Windsurf

stdio

プロキシ経由

Claude Desktop (レガシー), VS Code Copilot, Cline

インストール

Streamable HTTP (推奨 — プロキシ不要)

Streamable HTTPトランスポート(MCP仕様 2025-03-26以降)をサポートするエージェントの場合:

OpenCode (~/.opencode/config.json またはプロジェクトの opencode.json):

{
  "mcp": {
    "anysearch": {
      "type": "streamable-http",
      "url": "https://api.anysearch.com/mcp",
      "headers": {
        "Authorization": "Bearer ${ANYSEARCH_API_KEY}"
      }
    }
  }
}

Claude Desktop (2025.6以降, claude_desktop_config.json):

{
  "mcpServers": {
    "anysearch": {
      "type": "streamable-http",
      "url": "https://api.anysearch.com/mcp",
      "headers": {
        "Authorization": "Bearer ${ANYSEARCH_API_KEY}"
      }
    }
  }
}

APIキーがない場合は、headersセクションを省略してください。サーバーは自動的に匿名アクセスを使用します。

stdio (プロキシ経由)

stdioトランスポートのみをサポートするエージェントの場合。2つのプロキシオプションがあります:

オプションA: mcp-remote (推奨)

mcp-remote — Streamable HTTPを自動検出し、最もシンプルな設定が可能です:

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "anysearch": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.anysearch.com/mcp",
        "--header",
        "Authorization: Bearer ${ANYSEARCH_API_KEY}"
      ]
    }
  }
}

VS Code Copilot (.vscode/mcp.json):

{
  "servers": {
    "anysearch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.anysearch.com/mcp",
        "--header",
        "Authorization: Bearer ${ANYSEARCH_API_KEY}"
      ]
    }
  }
}

Cline (VS Code設定):

{
  "mcpServers": {
    "anysearch": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.anysearch.com/mcp",
        "--header",
        "Authorization: Bearer ${ANYSEARCH_API_KEY}"
      ]
    }
  }
}

APIキーがない場合は、"--header" および "Authorization: Bearer ..." 引数を省略してください。

オプションB: supergateway

supergateway — より多くのトランスポートオプションがあり、SSE出力をサポートします:

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "anysearch": {
      "command": "npx",
      "args": [
        "-y",
        "supergateway",
        "--streamableHttp",
        "https://api.anysearch.com/mcp",
        "--oauth2Bearer",
        "${ANYSEARCH_API_KEY}"
      ]
    }
  }
}

APIキーがない場合は、"--oauth2Bearer" およびキー引数を省略してください。

SSE (プロキシ経由)

SSEトランスポートのみをサポートするエージェント(Cursor, Windsurf)の場合。ローカルのSSEプロキシサーバーを実行する必要があります:

プロキシの起動

npx -y supergateway \
  --streamableHttp https://api.anysearch.com/mcp \
  --outputTransport sse \
  --port 8000 \
  --oauth2Bearer <your_api_key>

APIキーがない場合は、--oauth2Bearer フラグを省略してください。

次に、エージェントを設定します:

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "anysearch": {
      "type": "sse",
      "url": "http://localhost:8000/sse"
    }
  }
}

Windsurf (~/.codeium/windsurf/mcp_config.json):

{
  "mcpServers": {
    "anysearch": {
      "serverUrl": "http://localhost:8000/sse"
    }
  }
}

SSEプロキシは、エージェントがアクティブな間、実行し続ける必要があります。バックグラウンドサービスとして実行することを検討してください。

エージェントクイックリファレンス

エージェント

トランスポート

設定場所

プロキシが必要?

プロキシツール

OpenCode

Streamable HTTP

opencode.json

いいえ

Claude Desktop (2025.6+)

Streamable HTTP

claude_desktop_config.json

いいえ

Claude Desktop (レガシー)

stdio

claude_desktop_config.json

はい

mcp-remote

Cursor

SSE

.cursor/mcp.json

はい

supergateway

VS Code Copilot

stdio

.vscode/mcp.json

はい

mcp-remote

Windsurf

SSE

mcp_config.json

はい

supergateway

Cline

stdio

VS Code設定

はい

mcp-remote

利用可能なツール

検索クエリを実行します(一般またはバーティカルドメイン)。

パラメータ

必須

説明

query

string

はい

検索クエリ。バーティカル検索の場合は list_domainsquery_format に従う

domain

string

いいえ

バーティカルドメイン (例: finance, academic, security)

sub_domain

string

いいえ

サブドメインルーティングキー (例: finance.us_stock)。バーティカル検索に必須

sub_domain_params

object

いいえ

サブドメインスキーマごとの追加パラメータ

content_types

string[]

いいえ

フィルタ: web, news, code, doc, academic, data, image, video, audio

zone

string

いいえ

cn または intl。サブドメインが zone=CN を指定している場合に必須

max_results

integer

いいえ

1–100, デフォルト 10

freshness

string

いいえ

day, week, month, year

list_domains

バーティカルドメインディレクトリを照会します。利用可能な sub_domains とそのクエリ形式を発見するために、バーティカル検索の前に呼び出す必要があります

パラメータ

必須

説明

domain

string

いずれか

照会する単一ドメイン

domains

string[]

いずれか

最大5つのドメインをバッチ処理

Markdownテーブルを返します: sub_domain | description | query_format | params_schema | zone

2〜5つの独立した検索クエリを並列で実行します。単一の失敗が他をブロックすることはありません。

パラメータ

必須

説明

queries

object[]

はい

1〜5つのクエリオブジェクト。各フィールドは search と同じ

extract

URLからページ全体のコンテンツを取得し、Markdownとして返します。50,000文字で切り捨てられます。HTMLページのみ。

パラメータ

必須

説明

url

string

はい

ターゲットURL (http:// または https://)

意思決定フロー

User query
  |
  +-- Has structured identifiers? (Stock:/CVE:/DOI:/IATA:/patent etc.)
  |     YES -> 1) list_domains -> discover sub_domain & query_format
  |             2) search with domain + sub_domain + zone
  |
  +-- Multiple independent intents?
  |     YES -> batch_search
  |
  +-- Need deeper content than snippets?
  |     YES -> extract the URL
  |
  +-- Otherwise -> search (general)

バーティカル検索の制約

バーティカル検索の前に、ターゲットドメインに対して list_domains を呼び出し、以下に従う必要があります

  1. query_format — クエリ文字列の正確な形式(例: 自然言語ではなく、生のティッカー)

  2. params_schema — オプションの追加パラメータ用のJSONスキーマ

  3. zoneCN の場合、検索呼び出しで zone: "cn" を設定する必要がある

  4. sub_domain の選択 — ユーザーの意図に最適なサブドメインの説明と一致させる

サポートされているドメイン

code tech fashion travel home ecommerce gaming film music finance academic legal business ip security education health religion geo environment energy ugc

一般検索

{ "query": "quantum computing breakthroughs 2025", "max_results": 5, "freshness": "month" }

バーティカル検索 (株価)

{ "query": "AAPL", "domain": "finance", "sub_domain": "finance.us_stock", "max_results": 5 }

バッチ検索

{
  "queries": [
    { "query": "AAPL", "domain": "finance", "sub_domain": "finance.us_stock" },
    { "query": "python async http client", "domain": "code", "sub_domain": "code.general" }
  ]
}

URL抽出

{ "url": "https://en.wikipedia.org/wiki/Quantum_computing" }

セキュリティ上の注意

  • 検索クエリ、抽出されたURL、およびAPIキーは https://api.anysearch.com に送信されます

  • プロバイダーを信頼していない限り、機密情報(パスワード、個人データ、企業秘密)を含むクエリには使用しないでください

  • チャットにAPIキーを直接貼り付けることは避け、環境変数または .env ファイルを使用してください

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
19dResponse time
Release cycle
Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Provides LLMs with real-time web search and content extraction capabilities, including text/news search, full-text URL reading, and targeted technical documentation search.
    3
    23
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI agents to perform comprehensive search across 27 search engines including web, academic, code, community, package managers, video, images, podcasts, and maps, with multi-modal support, caching, and security features.
    14
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to perform unified web searches, GitHub, and GitLab searches with caching, reranking, and fallback across multiple providers.
    4
    58
    19
    MIT

View all related MCP servers

Related MCP Connectors

  • The best web search for your AI Agent

  • LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.

  • Web search for AI agents — one tool across 6 engines, routed to the cheapest + cached.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/anysearch-ai/anysearch-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server