Λογότυπο MetaSearchMCP

MetaSearchMCP

Κοινότητα
gefsikatsinelou

Open-source metasearch backend, MCP server, and AI search API for LLM agents. Python FastAPI search gateway with Google search via SerpBase and Serper, multi-engine search aggregation, structured JSON output, provider fallback, deduplication, and SearXNG alternative architecture for agent workflows.

Εκδότηςgefsikatsinelou
ΑποθετήριοMetaSearchMCP
ΓλώσσαPython
Forks
2
Αστέρια
58
Διαθέσιμα εργαλεία
0
Τύπος μεταφοράςstdio, streamable-http
Κατηγορίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Συνδέστε εργαλεία σε ροές εργασίας AI

    Το MetaSearchMCP παρέχει δυνατότητες MCP που μπορούν να χρησιμοποιηθούν από συμβατές εφαρμογές-πελάτες AI και πράκτορες AI.

  • 0 διαθέσιμα εργαλεία

    Περιηγηθείτε παρακάτω στις ενέργειες που μπορούν να κληθούν, μαζί με τα ονόματα και τις περιγραφές τους, όταν παρέχονται από τον διακομιστή.

  • Ρυθμίσεις έτοιμες για αντιγραφή

    Χρησιμοποιήστε τα αποσπάσματα εγκατάστασης για να ρυθμίσετε αυτόν τον διακομιστή στην εφαρμογή-πελάτη MCP που προτιμάτε.

  • Δείκτες ενδιαφέροντος για τον ανοιχτό κώδικα

    58 αστέρια και 2 διακλαδώσεις στο συνδεδεμένο αποθετήριο.

MetaSearchMCP

Open-source metasearch backend for MCP, AI agents, and LLM workflows.

MetaSearchMCP aggregates results from multiple search providers, normalizes them into a stable JSON schema, and exposes both an HTTP API and an MCP server for agent tooling.

Positioning

  • MCP-first metasearch backend
  • Structured search API for AI pipelines
  • Multi-provider search orchestration with deduplication and fallback
  • Python FastAPI alternative to browser-first metasearch projects

Why It Exists

Most search aggregators are designed around browser UX: HTML pages, pagination, and interactive result cards. Agents and LLM workflows need a different contract: predictable JSON, stable field names, partial-failure tolerance, and provider-level execution metadata.

MetaSearchMCP is built for that machine-consumable workflow. The design is centered on search orchestration, normalized contracts, and MCP integration.

Core Features

  • Concurrent multi-provider aggregation
  • Unified result schema for web, academic, developer, and knowledge sources
  • Provider-level timeout isolation and partial-failure handling
  • Result deduplication across engines
  • Provider selection by explicit names or semantic tags such as web, academic, code, and google
  • Final result caps for agent-friendly payload sizing
  • HTTP API with OpenAPI docs
  • MCP server over stdio for Claude Desktop, Cline, Continue, and similar clients
  • Configurable provider allowlist via environment variables

Google Support

Google support now includes a direct scraper provider implemented inside this project.

The direct Google implementation uses browser-like requests, consent cookie handling, locale-aware query parameters, and resilient HTML result parsing. It is implemented locally in this repository.

Currently supported Google providers:

ProviderEnv varNotes
Direct GoogleALLOW_UNSTABLE_PROVIDERS=truePrimary path; HTML scraping, best effort, may be blocked from datacenter IPs
serpbase.devSERPBASE_API_KEYPay-per-use; typically cheaper for low-volume usage
serper.devSERPER_API_KEYIncludes a free tier, then pay-per-use

Provider priority for /search/google is now google first, then google_serpbase, then google_serper.

Supported Providers

Google

ProviderNameMethod
Direct GooglegoogleHTML scraping with browser-like request handling
SerpBasegoogle_serpbaseHosted Google SERP API
Serpergoogle_serperHosted Google SERP API

Web Search

ProviderNameMethod
DuckDuckGoduckduckgoHTML scraping
BingbingRSS feed
YahooyahooHTML scraping, best effort
BravebraveOfficial Search API
You.comyoucomOfficial Search API
MwmblmwmblPublic JSON API
MarginaliamarginaliaPublic JSON API, no key required
EcosiaecosiaHTML scraping
MojeekmojeekHTML scraping
StartpagestartpageHTML scraping, best effort
QwantqwantInternal JSON API, best effort
YandexyandexHTML scraping, best effort
BaidubaiduJSON endpoint, best effort
SeznamseznamHTML scraping (Czech web), no key required
NavernaverHTML scraping (Korean web), no key required
AhmiaahmiaHTML scraping (Tor .onion services), no key required

Knowledge And Reference

ProviderNameMethod
WikipediawikipediaMediaWiki API
WikidatawikidataWikidata API
WikiquotewikiquoteMediaWiki API
WikisourcewikisourceMediaWiki API, no key required
WikibookswikibooksMediaWiki API, no key required
WiktionarywiktionaryMediaWiki API, no key required
WikivoyagewikivoyageMediaWiki API, no key required
WikiversitywikiversityMediaWiki API, no key required
WikispecieswikispeciesMediaWiki API, no key required
Internet Archiveinternet_archiveAdvanced Search API
Wayback MachinewaybackInternet Archive capture profile (how a URL or domain was archived over time: per-year capture counts, the months inside each year, first/latest capture dates and links replaying each year, with optional trailing year such as example.com 2015), no key required
Common Crawlcommon_crawlCommon Crawl open web index (what the monthly crawls contain for a URL, domain or path prefix: each crawled URL with its capture count, first/latest capture dates, HTTP statuses, MIME types, languages, distinct content versions, and the WARC file plus byte range that stores the page body, with an optional trailing crawl such as example.com CC-MAIN-2024-10), no key required
Open LibraryopenlibraryOpen Library search API
DatamusedatamuseWord-association/thesaurus REST API, no key required
JishojishoJapanese-English dictionary API (JMDict/JMNedict lookups with readings and JLPT level), no key required
TatoebatatoebaTatoeba public JSON API (collaborative example sentences with translations in hundreds of languages: sentence text, language, contributor, licence, alternative-script transcription, audio and translations into other languages), no key required
Urban DictionaryurbandictionaryUrban Dictionary public JSON API (crowd-sourced slang and idiom definitions: definition, example usage, author, up/down votes and submission date) with autocomplete term suggestions, no key required
Nobel PrizenobelOfficial Nobel Prize API v2 (awards by year/category), no key required
OEISoeisOEIS JSON search API (integer sequences by terms, A-number or keywords: sequence name, terms, offset, keyword flags, author), no key required

Places And Geocoding

ProviderNameMethod
Open-Meteo GeocodingopenmeteoGeocoding REST API, no key required
Open-Meteo WeatherweatherForecast API (current conditions — temperature, apparent temperature, humidity, wind, WMO weather description — plus the daily high/low and precipitation probability for a place name, with the resolved coordinates and timezone), no key required
OpenStreetMap (Nominatim)nominatimNominatim public API, no key required
OpenStreetMap (Overpass)overpassOverpass API feature search (named OpenStreetMap features — shops, amenities, museums, stations, parks and other tagged places — scoped to a country: category, address, opening hours, contact details and coordinates, plus a link to the OSM feature page), no key required
Nager.DatenagerPublic-holiday calendar REST API (public holidays by country), no key required

Nature And Biodiversity

ProviderNameMethod
iNaturalistinaturalistObservations REST API, no key required
GBIFgbifGBIF species backbone REST API, no key required

Developer Sources

ProviderNameMethod
GitHubgithubGitHub REST API
GitLabgitlabGitLab REST API
CodebergcodebergCodeberg REST API
Stack OverflowstackoverflowStack Exchange API
SourcegraphsourcegraphStreaming search API, no key required
Hacker NewshackernewsAlgolia HN API
Hugging FacehuggingfaceHub REST API, no key required
RedditredditReddit API
npmnpmnpm registry API
PyPIpypiJSON API
RubyGemsrubygemsRubyGems search API
crates.iocratescrates.io API
lib.rslib_rsHTML scraping
Docker HubdockerhubDocker Hub search API
Artifact HubartifacthubArtifact Hub packages search API (Helm charts, operators, policies, container images), no key required
FlathubflathubFlathub API v2 search (Linux desktop apps), no key required
SnapcraftsnapcraftSnap Store v2 snaps/find API (Linux snaps), no key required
MacPortsmacportsMacPorts ports REST API (macOS/Darwin packages: version, license, platforms, categories, maintainers, build variants and dependencies), no key required
JetBrains MarketplacejetbrainsJetBrains searchPlugins API (IDE plugins), no key required
Open VSXopen_vsxOpen VSX search API (VS Code-compatible extensions), no key required
Mozilla Add-ons (AMO)amoAMO API v5 (Firefox browser extensions), no key required
WordPress.org Pluginswordpress_pluginsWordPress.org Plugins API (WP plugins), no key required
WordPress.org Themeswordpress_themesWordPress.org Themes API (WP themes), no key required
GNOME Extensionsgnome_extensionsextensions.gnome.org extension-query API (GNOME Shell extensions), no key required
VS Code Marketplacevscode_marketplacePublic gallery extensionquery API (VS Code extensions), no key required
pkg.go.devpkg_go_devHTML scraping
MetaCPANmetacpanMetaCPAN REST API
Maven CentralmavenSolr search API, no key required
NuGetnugetNuGet.org v3 search query API, no key required
PackagistpackagistPackagist search.json API (PHP/Composer), no key required
HexhexHex.pm packages API (Elixir/Erlang), no key required
pub.devpubdevpub.dev JSON API (Dart/Flutter), no key required
HackagehackageHackage packages API (Haskell/Cabal), no key required
R (CRAN / r-universe)runiverser-universe search API (R packages on CRAN, Bioconductor and r-universe universes: title, description, maintainer, stars, reverse dependencies, topics, last update), no key required
AnacondaanacondaAnaconda.org search API (conda packages), no key required
AURaurArch Linux AUR RPC API (community packages), no key required
Arch Linux (official)archlinuxArch Linux packages JSON search API (official core/extra repos: version, repo, arch, maintainers, licences, dependencies, update dates), no key required
ChocolateychocolateyChocolatey community OData search feed (Windows packages), no key required
Debian Sourcesdebiansources.debian.org search API (Debian source packages with version history per suite — stable/testing/sid/backports — and archive area), no key required
Terraform RegistryterraformTerraform Registry search API (reusable modules + providers for AWS, Azure, GCP, Kubernetes, ...), no key required
IETF DatatrackerietfIETF Datatracker documents API (RFCs and Internet-Drafts by title/abstract, with standards level, stream and page count), no key required
Software Heritagesoftware_heritageSoftware Heritage origin search API (universal archive of public source code: repository URLs by keyword across GitHub, GitLab, Bitbucket, ... with visit types, snapshot availability, visit count, last-visited date and a link to the archived record), no key required

Academic Sources

ProviderNameMethod
arXivarxivAtom API
PubMedpubmedNCBI E-utilities
Semantic ScholarsemanticscholarGraph API
CrossRefcrossrefREST API
OpenAlexopenalexOpenAlex REST API, no key required
INSPIRE-HEPinspirehepINSPIRE-HEP literature API (high-energy physics papers, preprints, citations), no key required
OpenAIREopenaireOpenAIRE Graph search API (300M+ open research records from repositories & aggregators), no key required
HAL Open SciencehalHAL search API (French national open-access repository: articles, preprints, theses, book chapters), no key required
DOAJdoajDOAJ public REST API, no key required
DOABdoabDOAB public REST API (peer-reviewed open-access books and monographs), no key required
Europe PMCeuropepmcEurope PMC REST API (PubMed + preprints), no key required
ClinicalTrials.govclinicaltrialsClinicalTrials.gov v2 API (clinical studies), no key required
DataCitedataciteDataCite DOI search API, no key required
FigsharefigshareFigshare public articles API (research data, datasets), no key required
ZenodozenodoZenodo REST API, no key required
DryaddryadDryad REST API v2 (curated open-access research datasets with authors, abstract, keywords, field of science and licence, plus DOI and download link), no key required
Harvard Dataverseharvard_dataverseHarvard Dataverse search API (research datasets: description, authors, DOI, publication date, publisher dataverse, subjects, file count and version), no key required
OSF Preprintsosf_preprintsOSF API v2 (PsyArXiv, SocArXiv, etc.), no key required
ORCIDorcidORCID public API (researcher profiles), no key required
RORrorResearch Organization Registry API (universities, institutes, labs), no key required
UniProtuniprotUniProt REST API (protein knowledgebase), no key required
MyGene.infomygeneBioThings MyGene.info gene annotation API (gene symbols, names, organism, chromosome, aliases), no key required
RCSB PDBrcsb_pdbRCSB Protein Data Bank search + GraphQL data API (3D structures: title, method, resolution, citation), no key required
EBI Ontology Lookup ServiceolsEMBL-EBI OLS4 full-text search over 250+ biomedical and biological ontologies (Gene Ontology, MeSH, ChEBI, HGNC, HPO, MONDO, NCIT): term labels, stable identifiers such as GO:0006915, definitions, synonyms and the ontology each term belongs to, no key required
ChEMBLchemblChEMBL REST API (drugs, molecular formula/SMILES/ATC), no key required
PubChempubchemPubChem PUG REST API (compound names/synonyms, molecular formula, molecular weight, canonical SMILES, IUPAC name, InChIKey), no key required
RxNormrxnormNLM RxNorm REST API (clinical drug terminology), no key required
MyChem.infomychemBioThings MyChem.info API (chemical and drug annotations aggregated from ChEMBL, DrugBank, ChEBI, DrugCentral, PubChem, UNII: preferred name, formula, weight, SMILES, CAS, approval phase, cross-references), no key required
Google Booksgoogle_booksGoogle Books API, no key required
Project GutenberggutendexGutendex API (public-domain ebooks), no key required
DBLPdblpDBLP bibliography API (computer-science publications), no key required
OpenReviewopenreviewOpenReview API v2 note search (submissions to ICLR, NeurIPS, ICML, COLM and workshops: title, authors, abstract, keywords, venue and review status, primary area, TLDR, discussion and PDF links), no key required
zbMATH OpenzbmathzbMATH Open REST API (mathematical literature: Zbl number, authors, venue, MSC classification, reviews), no key required
openFDAopenfdaopenFDA drug approvals API, no key required
NIH RePORTERnih_reporterNIH RePORTER v2 API (U.S. federally funded research projects: title, abstract, principal investigators, funding institute, fiscal-year award amount, organization, project period), no key required
Grants.govgrants_govGrants.gov search API (U.S. federal funding opportunities: description, agency, posted/forecasted status, open and close dates, CFDA numbers, award ceiling/floor, funding instruments, eligible applicants), no key required
J-STAGEjstageJ-STAGE Web API article search (Japanese scholarly journals: English and Japanese titles, authors, journal, ISSN, volume/number/pages, publication year and DOI), no key required
NSF Awardsnsf_awardsNSF awards API (U.S. National Science Foundation funded research: award id, title, abstract, principal investigators and co-PIs, awardee organisation and location, programme, directorate and division, start/end dates, obligated and estimated-total amounts, award type, CFDA number, programme officer), no key required

Legal Sources

ProviderNameMethod
CourtListenercourtlistenerFree Law Project REST API, no key required
Federal Registerfederal_registerfederalregister.gov documents API (agency rules, proposed rules, notices, presidential documents), no key required

Nonprofit Sources

ProviderNameMethod
ProPublica Nonprofit Explorerpropublica_nonprofitsProPublica Nonprofit Explorer v2 search API (IRS register of U.S. tax-exempt organizations: EIN, legal and secondary names, city/state, NTEE category, IRS subsection, Form 990 filing history), no key required

Patent Sources

ProviderNameMethod
Google Patentsgoogle_patentsPublic XHR query API, no key required

Open Data Portals

ProviderNameMethod
European Open Data Portaleu_open_datadata.europa.eu search API (public-sector datasets harvested from EU member states and institutions: description, publisher, catalogue, country, subjects, formats, licence), no key required

Development Sources

ProviderNameMethod
World Bank Documents & Reportsworldbank_documentsWorld Bank document search API (development publications, working papers, project and country documents: title, type, publication date, language, report number, project, country, abstract, PDF and text links), no key required

News Sources

ProviderNameMethod
Google Newsgoogle_newsPublic RSS feed, no key required
GDELTgdeltPublic DOC 2.0 API, no key required
Bing Newsbing_newsPublic RSS feed, no key required
WikinewswikinewsMediaWiki API, no key required
Spaceflight Newsspaceflight_newsSpaceflight News API, no key required
LobsterslobstersLobste.rs JSON API, no key required

Social Sources

ProviderNameMethod
MastodonmastodonMastodon public API, no key required
BlueskyblueskyBluesky AppView public API, no key required
LemmylemmyLemmy public API, no key required

Media Sources

ProviderNameMethod
Wikimedia Commonswikimedia_commonsMediaWiki API, no key required
OpenverseopenverseOpenverse REST API, no key required
IconifyiconifyIconify search API (200,000+ open-source vector icons from 150+ icon sets: keywords, set name, author, licence, SVG URL), no key required
FlickrflickrPublic feed API, no key required
UnsplashunsplashUnsplash REST API (requires UNSPLASH_ACCESS_KEY)
WallhavenwallhavenWallhaven public JSON API (high-resolution desktop wallpapers: resolution and aspect ratio, file size/type, category, purity, colours, views/favourites, full-size image and thumbnail URLs), no key required
NASAnasaNASA Image and Video Library API, no key required
Met MuseummetmuseumMet Museum public collection API, no key required
Art Institute of ChicagoarticAIC public collection API, no key required
Cleveland Museum of ArtclevelandartCMA open-access API, no key required
Victoria and Albert MuseumvamV&A public collection API (decorative arts, design, fashion and sculpture: object type, title, maker with association, production date and place, current location and on-display status, IIIF image URLs), no key required
PeerTubepeertubePublic REST API, no key required
DailymotiondailymotionPublic REST API, no key required
TVMazetvmazeTVMaze public API, no key required
Library of Congressloc_govloc.gov public JSON API, no key required
Radio Browserradio_browserRadio Browser public API, no key required
MusicBrainzmusicbrainzMusicBrainz public API (recordings/artists), no key required
DiscogsdiscogsDiscogs database search API, no key required
DeezerdeezerDeezer public search API (streaming-catalog tracks with previews), no key required
KitsukitsuKitsu anime & manga catalog API (JSON:API), no key required
AniListanilistAniList GraphQL API (anime, manga & light novels with synopsis, format, status, genres, community scores, popularity, studio and cover image), no key required
MangaDexmangadexMangaDex public REST API (manga titles & alternate titles with synopsis, status, year, content rating, demographic, chapter/volume counts, genres, authors/artists and cover image), no key required
SteamsteamSteam Store search API, no key required
ScryfallscryfallScryfall Magic: The Gathering card search API (names, rules text, sets, prices), no key required
ModrinthmodrinthModrinth search API (Minecraft mods, plugins, modpacks, shaders, resource packs and datapacks: summary, author, categories, mod loaders, supported Minecraft versions, download/follower counts, licence and client/server side support), no key required
TheMealDBthemealdbTheMealDB public API, no key required
TheCocktailDBcocktaildbTheCocktailDB public API, no key required
Open Food FactsopenfoodfactsOpen Food Facts public search API, no key required
TheSportsDBthesportsdbTheSportsDB public API (teams & players), no key required
RemoteOKremoteokRemoteOK public jobs API (remote developer jobs), no key required
RemotiveremotiveRemotive public jobs API (keyword-searchable remote jobs), no key required
iTunesitunesiTunes Search API (podcasts), no key required
fyydfyydfyyd podcast episode search API (episode-level search across the keyless fyyd directory: episode title, description, audio enclosure URL and MIME type, duration, season/episode numbers, publication date and artwork, falling back to a show-level search for programme names), no key required

Space Sources

ProviderNameMethod
Launch Library 2spacelaunchThe Space Devs launch database API (historical & upcoming launches), no key required
NASA Exoplanet ArchiveexoplanetExoplanet Archive TAP API (confirmed exoplanets by planet or host-star name: discovery year/method, orbital period, radius, mass, distance, equilibrium temperature), no key required

Finance Sources

ProviderNameKey RequiredFree Tier
Yahoo Financeyahoo_financeNoUnofficial endpoint, no key needed
Alpha Vantagealpha_vantageALPHA_VANTAGE_API_KEY25 req/day — get key
FinnhubfinnhubFINNHUB_API_KEY60 req/min — get key
CoinGeckocoingeckoNoCryptocurrency search API, no key needed
NVDnvdNoNIST NVD CVE vulnerability search API, no key needed
CISA KEVcisa_kevNoCISA Known Exploited Vulnerabilities catalog (CVEs exploited in the wild), no key needed
OSV.devosvNoOpen source vulnerability search over the OSV.dev database (GitHub Security Advisories, PYSEC, RustSec, Go, OSS-Fuzz and the Debian/Ubuntu/Alpine trackers: advisory summary, severity and CVSS vector, CWE identifiers, CVE/GHSA aliases, affected packages with their vulnerable version ranges and first fixed version, publication dates and advisory links); accepts an advisory id (GHSA-jf85-cpcp-j695, CVE-2021-44228), a package with an ecosystem (pypi:requests@2.19.0, npm lodash 4.17.11, maven:org.apache.logging.log4j:log4j-core) or a bare package name (lodash@4.17.11) searched across the default ecosystems, no key needed
Shodan InternetDBinternetdbNoHost exposure lookup for an IP address (open ports, reverse-DNS hostnames, CPEs, tags and known CVEs), no key needed
RDAPrdapNoDomain registration lookup (registrar, registry status flags, registration/expiry/update dates, delegated nameservers, DNSSEC state), no key needed
DNS (DNS-over-HTTPS)dnsNoDNS record lookup for a hostname over DNS-over-HTTPS (address records A/AAAA, mail exchangers MX, name servers NS, text records TXT, aliases CNAME and other record types, with answer TTLs and DNSSEC authentication state); accepts example.com, example.com MX or MX example.com, no key needed
crt.sh (Certificate Transparency)crtshNoCertificate Transparency log search (TLS certificates issued for a domain, deduplicated by serial: certificate common name and subject alternative names for subdomain discovery, issuing CA, validity window and serial number); accepts example.com, https://example.com/path or *.example.com, no key needed
urlscan.iourlscanNoSearch public urlscan.io scans of web pages (for a domain, URL, IP, ASN or file hash: the scanned URL, HTTP status, server software, resolved IP, country, ASN, page title, transfer statistics, scan time, and links to the report and screenshot); accepts example.com, https://example.com/login, 8.8.8.8 or native urlscan syntax such as page.country:RU, no key needed
FrankfurterfrankfurterNoECB daily FX reference rates, no key needed
SEC EDGARsec_edgarNoSEC full-text + company filings API (unstable flag), no key needed
GLEIFgleifNoGlobal Legal Entity Identifier registry (company legal names, jurisdiction, status), no key needed
USAspendingusaspendingNoFederal award search API (U.S. government contracts and grants: award id, recipient, awarded amount, description, awarding/funding agency, award type, start and end dates), no key needed

Deals And Shopping

ProviderNameMethod
CheapSharkcheapsharkCheapShark public deals API (current PC game price drops across digital stores: sale price, normal price, discount, store, ratings), no key required

Installation

One-command local install:

bash
python scripts/install.py

Install, run tests, and start the HTTP API:

bash
python scripts/install.py --dev --test --run

Deploy with Docker Compose:

bash
python scripts/install.py --mode docker

The installer creates .env from .env.example when .env does not already exist. Existing .env files are kept unless --force-env is passed.

Manual install:

bash
git clone https://github.com/gefsikatsinelou/MetaSearchMCP
cd MetaSearchMCP
pip install -e ".[dev]"

Or with uv:

bash
uv pip install -e ".[dev]"

Configuration

Copy .env.example to .env and configure any providers you want to enable.

bash
cp .env.example .env

Key settings:

env
HOST=0.0.0.0
PORT=8000
DEFAULT_TIMEOUT=10
AGGREGATOR_TIMEOUT=15

SERPBASE_API_KEY=
SERPER_API_KEY=
BRAVE_API_KEY=
YDC_API_KEY=
GITHUB_TOKEN=
STACKEXCHANGE_API_KEY=
REDDIT_CLIENT_ID=
REDDIT_CLIENT_SECRET=
NCBI_API_KEY=
SEMANTIC_SCHOLAR_API_KEY=
ALPHA_VANTAGE_API_KEY=
FINNHUB_API_KEY=

ENABLED_PROVIDERS=
ALLOW_UNSTABLE_PROVIDERS=false
MAX_RESULTS_PER_PROVIDER=10

To enable You.com, set YDC_API_KEY and either let it participate in the default web-provider pool or explicitly target it with providers: ["youcom"].

bash
curl -X POST http://localhost:8000/search \
  -H "Content-Type: application/json" \
  -d '{
    "query": "playwright locator best practices",
    "providers": ["youcom"],
    "params": {"num_results": 5}
  }'

Running

HTTP API

bash
python -m metasearchmcp.server
# or
metasearchmcp

The API starts on http://localhost:8000.

MCP Server

bash
python -m metasearchmcp.broker
# or
metasearchmcp-mcp

The MCP server communicates over stdio.

Docker

bash
docker build -t metasearchmcp .
docker run --rm -p 8000:8000 --env-file .env metasearchmcp

Or with Compose:

bash
docker compose up --build

HTTP API

POST /search

Aggregate across all enabled providers or a selected provider subset.

bash
curl -X POST http://localhost:8000/search \
  -H "Content-Type: application/json" \
  -d '{
    "query": "rust async runtime",
    "providers": ["duckduckgo", "wikipedia"],
    "params": {"num_results": 5, "max_total_results": 8, "language": "en"}
  }'

You can also narrow providers by tags:

bash
curl -X POST http://localhost:8000/search \
  -H "Content-Type: application/json" \
  -d '{
    "query": "transformer attention",
    "tags": ["academic", "knowledge"],
    "params": {"num_results": 5, "max_total_results": 6}
  }'

When multiple tags are provided, the default behavior is tag_match="any". Set tag_match to "all" when you want providers that satisfy every requested tag:

bash
curl -X POST http://localhost:8000/search \
  -H "Content-Type: application/json" \
  -d '{
    "query": "npm cli argument parser",
    "tags": ["code", "packages"],
    "tag_match": "all",
    "params": {"num_results": 5, "max_total_results": 6}
  }'

num_results controls how many results each provider can contribute. max_total_results caps the final merged response after deduplication.

POST /search/google

Search Google through the configured Google provider chain. If ALLOW_UNSTABLE_PROVIDERS=true, MetaSearchMCP will prefer the direct google provider automatically.

bash
curl -X POST http://localhost:8000/search/google \
  -H "Content-Type: application/json" \
  -d '{"query": "site:github.com rust tokio"}'

To force the direct Google route explicitly:

bash
curl -X POST http://localhost:8000/search/google \
  -H "Content-Type: application/json" \
  -d '{"query": "site:github.com rust tokio", "provider": "google"}'

GET /search/suggest

Query autocomplete suggestions for a partial search term. Uses the public DuckDuckGo autocomplete endpoint — no API key required.

bash
curl "http://localhost:8000/search/suggest?q=python&limit=5"

Returns query, suggestions, count, and source (duckduckgo). limit defaults to 8 and is capped at 20.

GET /providers

Return the currently available provider catalog.

The response includes provider descriptions and a tag-to-provider index for quick discovery.

You can filter the catalog by tag:

bash
curl "http://localhost:8000/providers?tag=academic&tag=web"

Use tag_match=all to require every tag instead of the default any-match behavior:

bash
curl "http://localhost:8000/providers?tag=code&tag=packages&tag_match=all"

GET /health

Simple health check endpoint. Returns service status, version, provider count, and the current provider name list.

GET /cache/stats

Inspect the shared in-memory search result cache (used by the orchestrator to avoid re-hitting external providers for identical requests within the TTL window).

bash
curl "http://localhost:8000/cache/stats"

Returns enabled, entries (live cached results), max_entries (capacity), ttl_seconds, and insertions (total keys written since process start — a monotonic counter unaffected by expiry or eviction).

Response Schema

Every aggregated response includes:

  • engine
  • query
  • results
  • related_searches
  • suggestions
  • answer_box
  • timing_ms
  • providers
  • errors

Every result item includes:

  • title
  • url
  • snippet
  • source
  • rank
  • provider
  • published_date
  • extra

Example response:

json
{
  "engine": "metasearchmcp",
  "query": "rust async runtime",
  "results": [
    {
      "title": "Tokio - An asynchronous Rust runtime",
      "url": "https://tokio.rs",
      "snippet": "Tokio is an event-driven, non-blocking I/O platform...",
      "source": "tokio.rs",
      "rank": 1,
      "provider": "duckduckgo",
      "published_date": null,
      "extra": {}
    }
  ],
  "related_searches": [],
  "suggestions": [],
  "answer_box": null,
  "timing_ms": 843.2,
  "providers": [
    {
      "name": "duckduckgo",
      "success": true,
      "result_count": 10,
      "latency_ms": 840.1,
      "error": null
    }
  ],
  "errors": []
}

MCP Tools

MetaSearchMCP exposes these MCP tools:

  • search_web
  • search_google
  • search_academic
  • search_github
  • compare_engines
  • search_finance
  • search_code
  • search_news
  • search_social
  • search_images
  • search_videos
  • search_bio
  • list_providers
  • provider_health

search_web also accepts optional tags so agents can limit search to categories such as web, academic, code, or google. When multiple tags are present, tag_match="all" requires a provider to satisfy the full set. All search tools accept max_total_results to keep the final payload compact.

Example Claude Desktop config:

json
{
  "mcpServers": {
    "MetaSearchMCP": {
      "command": "metasearchmcp-mcp",
      "env": {
        "ALLOW_UNSTABLE_PROVIDERS": "true",
        "SERPBASE_API_KEY": "your_key",
        "SERPER_API_KEY": "your_key"
      }
    }
  }
}

Development

bash
pip install -e ".[dev]"
pytest
uvicorn metasearchmcp.server:app --reload

Architecture

The public package is organized around these modules:

  • contracts.py: request/response data models (Pydantic schemas)
  • config.py: application settings loaded from environment variables
  • catalog.py: provider discovery, filtering, and selection by name or tags
  • orchestrator.py: concurrent search execution across providers and result assembly
  • merge.py: URL canonicalization and cross-engine result deduplication
  • ranking.py: optional consensus/relevance result re-ranking (opt-in via RANK_RESULTS)
  • server.py: FastAPI application and Uvicorn server entrypoint
  • broker.py: MCP server exposing search tools over stdio
  • api/routes.py: HTTP endpoint handlers (search, suggest, health, providers catalog)
  • cli.py: interactive first-run setup wizard (metasearchmcp-setup)

Entry-point wrappers (main.py for HTTP, mcp_server.py for MCP) and legacy compatibility shims (aggregator.py, dedup.py, schema.py) are kept for backwards compatibility.

Roadmap

  • Caching and provider-aware query reuse
  • Better scoring and ranking signals across providers
  • Streaming aggregation responses
  • Provider health telemetry
  • More first-party API integrations where they improve reliability

License

MIT

Εγκατάσταση

TypingMind
{
  "mcpServers": {
    "metasearchmcp": {
      "command": "python",
      "args": [
        "-m",
        "metasearchmcp.broker"
      ]
    }
  }
}

Χρησιμοποιήστε το MCP MetaSearchMCP με πολλά μοντέλα AI

Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας. Έτσι, μόλις συνδεθεί το MetaSearchMCP, μπορείτε να το χρησιμοποιείτε με διαφορετικά μοντέλα AI στο TypingMind, αντί να το ρυθμίζετε ξεχωριστά για κάθε μοντέλο. Μπορείτε να εκτελέσετε το MCP τοπικά στη συσκευή σας ή να συνδεθείτε στο URL ενός απομακρυσμένου διακομιστή MCP.

Επιλογή 1: Χρησιμοποιήστε τον τοπικό σύνδεσμο

Επιλέξτε αυτή τη μέθοδο όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές ή ιδιωτικούς πόρους στον υπολογιστή σας.

1

Ανοίξτε τις ρυθμίσεις MCP

Στο TypingMind, μεταβείτε στις «Ρυθμίσεις», έπειτα στις «Σύνθετες ρυθμίσεις» και στο «Model Context Protocol» και επιλέξτε «Ρύθμιση συνδέσμου».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Κάντε κλικ στο εικονίδιο «Ρυθμίσεις».
  3. Μεταβείτε στις «Σύνθετες ρυθμίσεις».
  4. Ανοίξτε την ενότητα Model Context Protocol.
  5. Κάντε κλικ στην επιλογή «Ρύθμιση συνδέσμου» και επιλέξτε «Αυτή η συσκευή».
Οθόνη ρύθμισης συνδέσμου MCP του TypingMind με επιλεγμένη την επιλογή «Αυτή η συσκευή»
2

Εκτελέστε την εντολή του συνδέσμου

Επιλέξτε «Αυτή η συσκευή», αντιγράψτε την εντολή από το TypingMind και εκτελέστε την στο Τερματικό. Διατηρήστε τη διεργασία σε λειτουργία όσο χρησιμοποιείτε το MCP.

  1. Αντιγράψτε την εντολή ρύθμισης που εμφανίζεται στο TypingMind.
  2. Ανοίξτε το Τερματικό στο macOS ή το Windows Terminal στα Windows.
  3. Επικολλήστε και εκτελέστε την εντολή.
  4. Εγκρίνετε την εγκατάσταση του πακέτου, αν το Τερματικό σάς ζητήσει επιβεβαίωση για να συνεχίσει.
  5. Διατηρήστε ανοιχτό το παράθυρο του Τερματικού και τη διεργασία σε λειτουργία όσο χρησιμοποιείτε εργαλεία MCP.
3

Προσθέστε το MetaSearchMCP ως διακομιστή

Όταν η κατάσταση του συνδέσμου είναι «Έτοιμος», κάντε κλικ στο «Αλλαγή servers» και επικολλήστε τις ρυθμίσεις του διακομιστή MCP.

  1. Περιμένετε μέχρι η κατάσταση του συνδέσμου να εμφανιστεί ως «Έτοιμος».
  2. Κάντε κλικ στο «Αλλαγή servers».
  3. Επικολλήστε τις ρυθμίσεις του διακομιστή MCP MetaSearchMCP.
  4. Αποθηκεύστε τη λίστα διακομιστών.
  5. Κάντε ανανέωση αν θέλετε να επιβεβαιώσετε ότι ο σύνδεσμος παραμένει έτοιμος για χρήση.
Ρυθμίσεις MCP του TypingMind με ενεργό διακομιστή και το κουμπί «Αλλαγή servers»
{
  "mcpServers": {
    "metasearchmcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Χρησιμοποιήστε τη σύνδεση με διαφορετικά μοντέλα

Αποθηκεύστε τη λίστα διακομιστών, ανοίξτε τα «Πρόσθετα», ενεργοποιήστε τα εργαλεία MCP του MetaSearchMCP και έπειτα επιλέξτε οποιοδήποτε υποστηριζόμενο μοντέλο AI στο TypingMind. Χρησιμοποιήστε τα εργαλεία στη συνομιλία ή αναθέστε τα σε έναν πράκτορα AI.

  1. Ανοίξτε τη σελίδα «Πρόσθετα» στο TypingMind.
  2. Ενεργοποιήστε τα εργαλεία MCP του MetaSearchMCP.
  3. Ξεκινήστε μια συνομιλία και επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  4. Χρησιμοποιήστε τα εργαλεία MCP στη συνομιλία ή αντιστοιχίστε τα σε έναν πράκτορα AI.
  5. Μεταβείτε σε άλλο μοντέλο AI όποτε χρειάζεται, χωρίς να συνδέσετε ξανά το MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω MetaSearchMCP;
MetaSearchMCP
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του MetaSearchMCP.

Επιλογή 2: Προσθέστε URL διακομιστή MCP

Επιλέξτε αυτή τη μέθοδο όταν το MetaSearchMCP φιλοξενείται ήδη απομακρυσμένα ή η ομάδα σας θέλει έναν κοινόχρηστο σύνδεσμο στον οποίο μπορούν να έχουν πρόσβαση πολλοί χρήστες.

1

Ανοίξτε τους συνδέσμους MCP

Στο TypingMind, μεταβείτε στα «Πρόσθετα», ανοίξτε τους «Συνδέσμους MCP» και επιλέξτε «Προσθήκη URL».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Μεταβείτε στα «Πρόσθετα».
  3. Ανοίξτε τους συνδέσμους MCP.
  4. Κάντε κλικ στην επιλογή «Προσθήκη URL».
Φόρμα προσθήκης URL προσαρμοσμένου διακομιστή MCP στο TypingMind
2

Επικολλήστε το URL του διακομιστή

Εισαγάγετε το το URL διακομιστή MCP από τον πάροχο στο πεδίο «URL διακομιστή». Προσθέστε όνομα σύνδεσης, περιγραφή, εικόνα, προσαρμοσμένες κεφαλίδες HTTP ή ρυθμίσεις πελάτη OAuth, εφόσον απαιτούνται από τον διακομιστή.

  1. Επικολλήστε το το URL διακομιστή MCP από τον πάροχο στο πεδίο «URL διακομιστή».
  2. Εισαγάγετε ένα όνομα σύνδεσης για το MetaSearchMCP.
  3. Προσθέστε περιγραφή και εικόνα για να αναγνωρίζετε ευκολότερα τη σύνδεση.
  4. Προσθέστε προσαρμοσμένες κεφαλίδες HTTP ή στοιχεία πελάτη OAuth, αν ο διακομιστής απαιτεί έλεγχο ταυτότητας.
3

Δημιουργήστε τη σύνδεση

Κάντε κλικ στην επιλογή «Δημιουργία σύνδεσης», επιστρέψτε στη λίστα προσθέτων και επιβεβαιώστε ότι η νέα σύνδεση MCP είναι ενεργή.

  1. Κάντε κλικ στην επιλογή «Δημιουργία σύνδεσης».
  2. Επιστρέψτε στη λίστα συνδέσμων MCP.
  3. Επιβεβαιώστε ότι η σύνδεση MetaSearchMCP εμφανίζεται ως ενεργή.
  4. Ανανεώστε τη λίστα προσθέτων αν η σύνδεση δεν εμφανιστεί αμέσως.
4

Αλλάξτε μοντέλα χωρίς επανασύνδεση

Ξεκινήστε μια συνομιλία με το μοντέλο που προτιμάτε, ενεργοποιήστε τα εργαλεία του MetaSearchMCP από τα «Πρόσθετα» και μεταβείτε σε άλλο μοντέλο όποτε χρειάζεται. Η σύνδεση MCP παραμένει διαθέσιμη στον χώρο εργασίας του TypingMind.

  1. Ξεκινήστε μια νέα συνομιλία στο TypingMind.
  2. Επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  3. Ενεργοποιήστε τα εργαλεία του MetaSearchMCP από τα «Πρόσθετα».
  4. Ζητήστε από το μοντέλο να χρησιμοποιήσει το εργαλείο όταν χρειάζεται.
  5. Μεταβείτε σε άλλο μοντέλο AI και χρησιμοποιήστε ξανά την ίδια σύνδεση MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω MetaSearchMCP;
MetaSearchMCP
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του MetaSearchMCP.

Συχνές ερωτήσεις

Σε τι χρησιμεύει ο διακομιστής MCP MetaSearchMCP;

Το MetaSearchMCP είναι ένας διακομιστής MCP που επιτρέπει σε συμβατές εφαρμογές AI να συνδέονται με εξωτερικά εργαλεία και πληροφορίες πλαισίου. Στο TypingMind, μπορείτε να προσθέσετε αυτόν τον διακομιστή MCP μία φορά και να κάνετε τα εργαλεία του διαθέσιμα στον χώρο εργασίας AI σας.

Μπορώ να χρησιμοποιήσω το MetaSearchMCP MCP με πολλά μοντέλα AI στο TypingMind;

Ναι. Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας, ώστε να μπορείτε να χρησιμοποιείτε το MetaSearchMCP με διαφορετικά μοντέλα AI, όπως τα Claude, ChatGPT, Gemini ή άλλα μοντέλα που έχετε ρυθμίσει στο TypingMind, χωρίς να ρυθμίζετε τον διακομιστή MCP ξεχωριστά για κάθε μοντέλο.

Γιατί να χρησιμοποιήσετε τον σύνδεσμο MCP MetaSearchMCP με το TypingMind;

Το TypingMind είναι ένα από τα καλύτερα περιβάλλοντα συνομιλίας με μεγάλα γλωσσικά μοντέλα, καθώς συγκεντρώνει πολλά μοντέλα AI, προτροπές, πρόσθετα, πράκτορες AI, κλειδιά API και εργαλεία MCP σε έναν χώρο εργασίας. Συνδέοντας το MetaSearchMCP, μπορείτε να χρησιμοποιείτε τα εργαλεία MCP του με τα μοντέλα που προτιμάτε, διατηρώντας οργανωμένη τη ροή εργασίας των συνομιλιών σας στο TypingMind.

Πώς συνδέω το MetaSearchMCP MCP στο TypingMind;

Μπορείτε να συνδέσετε το MetaSearchMCP στο TypingMind με τον τοπικό σύνδεσμο MCP ή προσθέτοντας το URL ενός απομακρυσμένου διακομιστή MCP. Χρησιμοποιήστε τον τοπικό σύνδεσμο όταν ο διακομιστής χρειάζεται πρόσβαση σε αρχεία, εφαρμογές ή ιδιωτικούς πόρους στη συσκευή σας και ένα URL διακομιστή όταν ο διακομιστής MCP φιλοξενείται απομακρυσμένα.

Ποια εργαλεία παρέχει το MetaSearchMCP MCP στο TypingMind;

Το MetaSearchMCP διαθέτει δυνατότητες MCP που μπορείτε να ενεργοποιήσετε από τη σελίδα Πρόσθετα του TypingMind και να χρησιμοποιήσετε σε συνομιλίες ή να αναθέσετε σε πράκτορες AI.

Χρειάζεται να κοινοποιήσω τα κλειδιά API μου στο TypingMind για να χρησιμοποιήσω το MetaSearchMCP MCP;

Όχι. Το TypingMind δίνει προτεραιότητα στην τοπική λειτουργία και σας επιτρέπει να διατηρείτε τον έλεγχο των παρόχων μοντέλων, των κλειδιών API, των προτροπών και των ρυθμίσεων MCP σας. Αν το MetaSearchMCP απαιτεί έλεγχο ταυτότητας, προσθέστε τις απαιτούμενες κεφαλίδες, τις ρυθμίσεις OAuth ή τις τοπικές ρυθμίσεις για τον συγκεκριμένο διακομιστή MCP κατά τη δημιουργία της σύνδεσης.

Σχετικοί διακομιστές MCP

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇