RS

rmmargt/searchapi-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

74 stars 10 forks 品質 71 トレンド 0MIT

rmmargt/searchapi-mcp は [https://github.com/rmmargt/searchapi-mcp.] からインポートされた MCP サーバー候補です

概要

rmmargt/searchapi-mcp は [https://github.com/rmmargt/searchapi-mcp.] からインポートされた MCP サーバー候補です

概要(AI 翻訳)

SearchAPI.io による包括的な検索機能を提供する、Model Context Protocol (MCP) サーバーです。 AIアシスタントがGoogle、マップ、フライト、ホテル、およびビルトインキャッシュ、リトライロジック、およびサーキットブレーカで検索できるようにします。

一 通 通 通 通 通 通 通 通 通 通 通 通 通 通 通 Google Google Google Google Google Google Google Google Google Google 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 内 。 。 。 内 。 内 。 。 。 。 。 。 内 。 内 内 内 内 内 。 。 。 内 。 。 内 。 。 。 。 。 内 。 。 。 内 内 内 内 内 内 内 内 内 内 内 。 。 。 内 内 内 内 内 。

特徴 • クイックスタート • インストール • 設定 • 利用可能なツール

お問い合わせ

##特徴

の ANSI の検索エンジン

-Google Search - Web結果、ナレッジグラフ、回答ボックス、関連質問 -Googleのビデオ - 期間、ソース、およびアップロード時間によるフィルタリングによるビデオ検索

  • Google AIモード - 引用された情報源および構造化された内容のAIによって生成される概観
  • Googleマップ - プレイス、ビジネス、レビュー、および場所の詳細
  • Googleマップの場所 - 特定の場所(時間、写真、アメニティ)の詳細な情報 -Googleイベント - コンサート、会議、フェスティバル、および地域の活動を見つける
  • Googleフライト - 包括的なフィルタリングと価格のカレンダーでフライト検索
  • Googleフライトの場所検索 - 空港コードの検索と自動補完

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

SearchAPI MCP Server


Features

🔍 Search Engines

  • Google Search - Web results, knowledge graph, answer boxes, related questions
  • Google Videos - Video search with filtering by duration, source, and upload time
  • Google AI Mode - AI-generated overviews with cited sources and structured content
  • Google Maps - Places, businesses, reviews, and location details
  • Google Maps Place - Detailed information for specific locations (hours, photos, amenities)
  • Google Events - Find concerts, conferences, festivals, and local activities
  • Google Flights - Flight search with comprehensive filtering and price calendars
  • Google Flights Location Search - Airport code lookup and autocomplete
  • Google Travel Explore - Discover destinations and travel inspiration
  • Google Hotels - Accommodation search with amenities, ratings, and price filters

🏗️ Production-Ready Architecture

  • Connection Pooling - Efficient HTTP connection management with httpx
  • Response Caching - Configurable TTL-based caching with LRU eviction
  • Retry Logic - Exponential backoff for transient failures
  • Circuit Breaker - Fail-safe pattern preventing cascading failures
  • Metrics Collection - Request counts, latencies, cache hit rates, error tracking
  • Health Checks - Monitor API connectivity and service status

⚙️ Configuration & Monitoring

  • Pydantic Validation - Type-safe configuration with environment variable support
  • Structured Logging - Configurable log levels with detailed request tracing
  • Resource Management - Automatic cleanup and graceful shutdown
  • Environment Variables - Flexible configuration for different deployments

Quick Start

Prerequisites

The fastest way to get started is using uvx:

# Set your API key
export SEARCHAPI_API_KEY="your_api_key_here"

# Run directly with uvx (no installation needed)
GitHub で README 全文を見る

インストール

uvx --directory /absolute/path/to/searchAPI-mcp python mcp_server_refactored.py
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "searchapi": { "command": "uvx", "args": [ "--directory", "/absolute/path/to/searchAPI-mcp", "python", "mcp_server_refactored.py" ], "env": { "SEARCHAPI_API_KEY": "your_api_key_here" } } } }