EG

episkey-g/groksearch-rs

Developer tools

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

462 stars 51 forks 品質 80 トレンド 28MIT

episkey-g/groksearch-rsは、https://github.com/episkey-g/groksearch-rs.からインポートされたMCPサーバー候補です。

概要

episkey-g/groksearch-rsは、https://github.com/episkey-g/groksearch-rs.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

Grok / OpenAI互換ウェブ検索用の軽量Rust MCPサーバーで、Tavily、Exa、TinyFish、Firecrawlなどの順序付けられたソースチェーンが補助ソース、フェッチ、マップを行っています。

grok-search-rsはMCPサーバーで、stdioでローカルに運用します(クライアントが起動し、直接実行しません)またはモバイル/マルチデバイスアクセス用のリモートストリーミング可能なHTTPサービス(セルフホスティング参照)として運用します。ツールセット(web_search、get_sources、web_fetch、web_map、doctor)を公開し、2つのアップストリームトランスポートをサポートしているため、xAIの公式APIやOpenAI互換リレーのいずれかに接続できます。


特徴

  • 🔎 引用された情報源を含むライブウェブ検索、フォローアップget_sourcesコール用にキャッシュ。オプトインinclude_contentは、トップソースを1回の通話で完全な抽出テキストで充実させます。

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

README

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

GrokSearch-rs

A lightweight Rust MCP server for Grok / OpenAI‑compatible web search, backed by an ordered source chain — Tavily, Exa, TinyFish, Firecrawl — for supplemental sources, fetch, and map.

grok-search-rs is an MCP server — run it locally over stdio (your client launches it; you do not run it directly) or as a remote Streamable HTTP service for mobile / multi‑device access (see self-hosting). It exposes one set of tools (web_search, get_sources, web_fetch, web_map, doctor) and supports two upstream transports so you can plug into either xAI’s official API or any OpenAI‑compatible relay.


Features

  • 🔎 Live web search with cited sources, cached for follow‑up get_sources calls. Opt‑in include_content enriches the top sources with full extracted text in one call.
  • 📏 Response budgeting — web_search keeps responses inside agent context limits: only the top max_inline_sources carry inline text, a whole‑response char budget (response_max_chars, default 45k — sized to stay under the MCP client token ceiling after JSON serialization) trims tail sources with recovery notes, response_format: "concise" | "detailed" picks the payload size, and get_sources pages through cached sources with offset/limit. The session cache always keeps full content.
  • 🧩 Structured web_fetch — GitHub issues/PRs/releases, StackExchange/MathOverflow, arXiv, and Wikipedia URLs are parsed by specialist extractors into clean Markdown (title, state/labels, release notes, accepted‑answer ordering, abstracts, vote‑sorted answers). Specialist extractors need no API key. Anything else falls back to the generic source chain (Tavily → Exa → TinyFish → Firecrawl, as configured) — so with no source provider configured, ordinary URLs cannot be fetched at all, only the specialist families above. Output carries source_type and a fallback_reason when a specialist was skipped.
  • 🔀 Two transports — native xAI Responses (/v1/responses) or any OpenAI‑compatible chat‑completions gateway (/v1/chat/completions). Pick by env vars; no flag.
  • 🔐 Optional Grok OAuth mode — login/status/logout commands store a local xAI OAuth token for Responses auth, so the MCP server can run without GROK_SEARCH_API_KEY.
  • 🌐 Optional remote mode — build with --features http to serve the same tools over Streamable HTTP (multi‑tenant, bring‑your‑own‑key via request headers) for mobile / multi‑device access. See self-hosting.
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →