Skip to main content
Glama
Peteroooooooo

multi-api-web-search

Multi-API Web Search (MCP)

Universal multi-model web search MCP server with precision capability probing, dual-mode routing, and multi-engine consensus.

MCP Compatible Node.js License: MIT

Features

  • Dual-Mode Routing: Benchmark and dispatch between Native Grounding (fast, silent retrieval) and Explicit Tool (web_search tool calling with rich citations).

  • Multi-Engine Consensus: Query multiple models concurrently (Hybrid), cross-verify perspectives, and deduplicate citations.

Related MCP server: perplexity-mcp

Quick Start

1. Install

git clone https://github.com/Peteroooooooo/multi-api-web-search-mcp.git
cd multi-api-web-search-mcp
npm install

2. Configure API (.env)

cp .env.example .env

Edit .env:

MULTI_WEB_SEARCH_BASE_URL=https://api.your-provider.com/v1
MULTI_WEB_SEARCH_API_KEY=sk-your-key-here

3. Benchmark & Configure

  • Windows: Double-click doctor.bat

  • Linux / macOS:

    npm run doctor

Select your preferred model or input multiple indices (e.g. 1, 5, 2) for Consensus mode. The wizard writes optimal configurations directly into .env.

MCP Client Configuration

Claude Code (~/.claude.json)

{
  "mcpServers": {
    "multi-api-web-search": {
      "type": "stdio",
      "command": "node",
      "args": ["D:/path/to/multi-api-web-search-mcp/src/index.js"],
      "env": {
        "MULTI_WEB_SEARCH_BASE_URL": "https://api.your-provider.com/v1",
        "MULTI_WEB_SEARCH_API_KEY": "sk-your-key",
        "MULTI_WEB_SEARCH_MODEL": "hybrid",
        "MULTI_WEB_SEARCH_HYBRID_MODELS": "grok-chat-fast,gemini-3.8-flash,gpt-5-6",
        "MULTI_WEB_SEARCH_FORCE_NATIVE": "gpt-5,gemini"
      }
    }
  }
}

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "multi-api-web-search": {
      "command": "node",
      "args": ["D:/path/to/multi-api-web-search-mcp/src/index.js"],
      "env": {
        "MULTI_WEB_SEARCH_BASE_URL": "https://api.your-provider.com/v1",
        "MULTI_WEB_SEARCH_API_KEY": "sk-your-key",
        "MULTI_WEB_SEARCH_MODEL": "gemini-3.8-flash",
        "MULTI_WEB_SEARCH_FORCE_NATIVE": "gpt-5,gemini"
      }
    }
  }
}

Environment Variables

Variable

Required

Default

Description

MULTI_WEB_SEARCH_BASE_URL

Yes

-

OpenAI-compatible endpoint base URL

MULTI_WEB_SEARCH_API_KEY

Yes

-

API key

MULTI_WEB_SEARCH_MODEL

No

gemini-3.8-flash

Default search model (or hybrid)

MULTI_WEB_SEARCH_HYBRID_MODELS

No

grok-chat-fast,gemini-3.8-flash

Comma-separated models for consensus search

MULTI_WEB_SEARCH_FORCE_NATIVE

No

-

Comma-separated models forced to use Native Grounding (prevents 504 timeouts)

MULTI_WEB_SEARCH_TIMEOUT_MS

No

90000

Upstream request timeout in ms

Tool Parameters

The MCP server registers multi_api_web_search and alias web_search:

  • query (string, required): Search query.

  • model (string, optional): Override search model for this request (e.g. grok, gemini, gpt-5-6, hybrid).

  • max_sources (number, optional): Maximum sources to return (default: 15).

License

MIT

Available Tools

2 tools

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 2 tool updatesv2.3.0
    • First observedmulti_api_web_search
    • First observedweb_search

TDQS

C2.8/5.0
Disambiguation1/5

Both tools have the exact same description and purpose, differing only in the name prefix. An agent cannot reliably choose between them because they appear to be identical duplicates.

Naming Consistency2/5

Both names use snake_case, but 'web_search' and 'multi_api_web_search' are near-duplicates with no clear convention. The prefixed variant is inconsistent with the generic one, making the naming feel redundant rather than patterned.

Tool Count2/5

Two tools exist but they appear to serve the exact same function. One tool would be appropriate for this simple search server; the extra tool is redundant and does not earn its place.

Completeness5/5

For a web search server, the tool surface covers the core capability of performing live internet searches. No additional operations like create, update, or delete are relevant to this domain, so there are no obvious gaps.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Enables web search and site-specific search capabilities through the Deepsearch model. Provides unified access to broad web retrieval and targeted site search functionality within the MCP ecosystem.
    2
    18
    5
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to perform web searches and retrieve real-time information using Perplexity AI's Sonar models, with support for multiple search modes and easy integration with MCP clients.
    5
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to perform web searches with full content retrieval and multi-engine provenance, including trust scoring and local corpus persistence, via MCP integration.
    3
    2
    Apache 2.0

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/Peteroooooooo/multi-api-web-search-mcp'

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