mcpField
S
SearchPipe

SearchPipe

リモート
searchpipe.tech検索0今日更新
リポジトリ公式サイト

SearchPipe について

SearchPipeは、AIエージェントを構築する開発者向けのウェブ検索API兼マネージドMCPサーバーです。出典URL付きの順位付き検索結果を返し、AI生成の回答やページ本文も任意で含められます。

主な機能

  1. 01順位付きウェブ検索結果
  2. 02出典URLと結果スコア
  3. 03任意のAI生成回答
  4. 04任意のページ全文
  5. 05Streamable HTTPによるリモート接続

活用シーン

  1. 01最新のウェブ情報に基づくエージェント回答
  2. 02調査用の出典リンク取得
  3. 03検索結果への回答の添付

MCP 対応

Streamable HTTPのリモートエンドポイントを通じて、MCPクライアントに`searchpipe_search`ツールを提供します。APIキーはURLまたはAuthorizationヘッダーで指定できます。

設定

リモートサーバーはインストール不要です。クライアントを選んで設定をコピーするか、ワンクリックで導入できます。

エンドポイントhttps://searchpipe.tech/mcp/
インストールコマンドをコピー
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

コマンドはターミナルで実行し、JSON は各クライアントの MCP 設定に貼り付けて再起動します。認可が必要なサーバーは初回接続時にログインを求めます。

すべてのエンドポイント
Streamable HTTPhttps://searchpipe.tech/mcp/認証が必要

ツール

2
パラメーター型必須説明
querystringはい
api_keyanyいいえ
max_resultsintegerいいえ
include_answerbooleanいいえ
include_raw_contentbooleanいいえ

詳細

SearchPipe インテグレーション

MCP SearchPipe

AI エージェントを構築する開発者向けのウェブ検索 API および MCP サーバーである SearchPipe の公式インテグレーションパッケージです。

このリポジトリには以下が含まれます。

  • リモート MCP エンドポイント — Streamable HTTP を使って、任意の MCP クライアントを SearchPipe に接続できます(ローカルへのインストールは不要です)
  • LangChain SDK — リトリーバー、ツール、回答コンポーネント用の pip install langchain-searchpipe
  • Python SDK — Search API 用の公式軽量クライアント、pip install searchpipe
  • TypeScript SDK — 依存関係ゼロの公式クライアント(ESM + CJS)、npm install searchpipe

SearchPipe サーバー自体は searchpipe.tech で提供されるマネージドサービスです。ご要望に応じてセルフホストにも対応します。

MCP アクセス(リモート)

MCP クライアントの設定(Claude Desktop、Cursor、Windsurf など)に追加してください。

{
  "mcpServers": {
    "searchpipe": {
      "url": "https://searchpipe.tech/mcp/?api_key=sp-your-api-key-here"
    }
  }
}

または、URL パラメーターの代わりに Authorization ヘッダーを使用してください。

{
  "mcpServers": {
    "searchpipe": {
      "url": "https://searchpipe.tech/mcp/",
      "headers": {
        "Authorization": "Bearer sp-your-api-key-here"
      }
    }
  }
}

すぐにコピーして使えるテンプレートについては、claude_desktop_config.json.example をご覧ください。

LangChain インテグレーション

pip install langchain-searchpipe

使用例(リトリーバー、ツール、回答コンポーネント)の詳細は、langchain-searchpipe/README.md をご覧ください。

公式 SDK

どちらの SDK も POST /search を使用する軽量なラッパーです。パラメーターとレスポンス形式は REST API と同じです。

Python(sdks/python/):

pip install searchpipe
from searchpipe import SearchPipe

client = SearchPipe(api_key="sp-YOUR_KEY")
resp = client.search("FastAPI tutorial", max_results=5, include_answer=True)
print(resp.answer)
for r in resp.results:
    print(r.score, r.title, r.url)

JavaScript / TypeScript(sdks/typescript/):

npm install searchpipe
import { SearchPipe } from "searchpipe";

const client = new SearchPipe({ apiKey: "sp-YOUR_KEY" });
const resp = await client.search({ query: "FastAPI tutorial", maxResults: 5, includeAnswer: true });
console.log(resp.answer);

どちらもデフォルトで https://searchpipe.tech を使用し、SEARCHPIPE_API_KEY からキーを読み込みます。API、エラークラス、セルフホストのオプションについては、各 SDK の README をご覧ください。

API キーの取得

  1. searchpipe.tech で登録します
  2. メールアドレスを確認します
  3. ダッシュボード → API Keys に移動し、sp- キーをコピーします
  4. 新規アカウントには、サービスを試すための無料クレジットが付与されます

ツールスキーマ

searchpipe_search

AI が生成する回答を任意で含めて、ウェブ検索を実行します。

パラメーター型必須デフォルト説明
querystring✅—検索クエリ
max_resultsinteger—5結果の件数(1~20)
include_answerboolean—falseAI が生成する回答を含めます
include_raw_contentboolean—falseページの全文を含めます
api_keystring——API キー(または環境変数/URL パラメーターを使用)

戻り値:query、answer、results[] を含む Tavily 形式の SearchResponse。

リンク

ライセンス

MIT

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。