Skip to main content
Glama
fetcher.sh MCP Server

fetcher.sh MCP Server

Official
by fetcher-sh

fetcher.sh MCP Server

npm version MIT License MCP Spec 2025-11-25

Official Model Context Protocol server for fetcher.sh — web data API for AI agents and applications.

Connect Claude Desktop, Cursor, VS Code Copilot, or any MCP client to fetcher.sh and search tweets, YouTube videos, Reddit threads, Google results, app-store listings, and more — all from natural language.

Features

Five catalog tools, mapped to the hosted server at mcp.fetcher.sh. Discovery is local (no network); paid fetches hit the live REST API.

Tool

Cost

What it does

search_endpoints

free

Keyword / service search over 111 endpoints across 11 APIs

describe_endpoint

free

Parameters, allowed values, price, response shape

fetch_data

paid

Run any catalog path: { path, params }

check_balance

free

Credits left on FETCHER_API_KEY

topup_credits

—

Returns the prepaid top-up URL (minimum $1)

Set FETCHER_SERVICE=twitter (or youtube, reddit, …) to switch to a specialized server: one named tool per endpoint of that service, plus the two credit tools.

Related MCP server: social-data-mcp

Quick Start

1. Get an API key

Top up at fetcher.sh/topup — a bby_live_… key is minted with the first credit purchase. There is no account or OAuth step.

2. Configure your MCP client

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "fetcher": {
      "command": "npx",
      "args": ["-y", "@fetcher-sh/mcp-server"],
      "env": {
        "FETCHER_API_KEY": "bby_live_..."
      }
    }
  }
}

Restart Claude Desktop. The catalog tools will be available in any chat — Claude will pick the right one based on your prompt.

Cursor

Open Settings → MCP → Add new MCP Server:

{
  "mcpServers": {
    "fetcher": {
      "command": "npx",
      "args": ["-y", "@fetcher-sh/mcp-server"],
      "env": {
        "FETCHER_API_KEY": "bby_live_..."
      }
    }
  }
}

VS Code (Copilot Chat with MCP)

Add to your MCP servers config — same shape as Claude Desktop / Cursor.

Claude Code

claude mcp add fetcher npx -- -y @fetcher-sh/mcp-server -e FETCHER_API_KEY=bby_live_...

3. Use it

In any MCP-enabled chat:

"Find recent tweets from @OpenAI about agents in the last week"

"Search YouTube for lofi streams uploaded this week"

"What are the top Reddit posts about stablecoin payments?"

The client will pick search_endpoints → describe_endpoint → fetch_data (or a named service tool if FETCHER_SERVICE is set).

Authentication

Authentication is via the FETCHER_API_KEY environment variable, injected by your MCP client. The server never stores or logs the key. Each paid call sends the key as Authorization: Bearer to https://fetcher.sh.

search_endpoints and describe_endpoint work without a key — they read the bundled catalog.

Optional env vars:

Variable

Purpose

FETCHER_API_KEY

Prepaid bby_live_… key

FETCHER_SERVICE

Restrict to one service slug (twitter, youtube, …)

FETCHER_API_BASE

Override the API origin (default https://fetcher.sh)

Hosted Streamable HTTP (no install) is also available at https://mcp.fetcher.sh — that surface accepts the same Bearer key, or per-call USDC via x402.

Pagination

List endpoints (followers, replies, search results, comments, …) accept a cursor parameter and return a next_cursor (or cursor) field. Pass it back on the next call to page through.

Error handling

  • 429 / 5xx responses are automatically retried with exponential backoff (3 attempts, 1s / 2s / 4s)

  • Network timeouts: 30s per request

  • 4xx errors (other than 429) surface immediately to the model with the original message

  • Unknown paths and missing required parameters are rejected before any charge

Tools — full spec

Each tool's input schema is exposed via MCP's tools/list and follows JSON Schema. Browse interactively:

npx @modelcontextprotocol/inspector npx -y @fetcher-sh/mcp-server

What's NOT included

By design, this server exposes read-only public data. The following are intentionally excluded:

  • Posting, liking, following, DMs, or any write action on the underlying platforms

  • Official platform developer accounts / OAuth

  • Account login or 2FA

  • Per-call wallet payment (x402) on this stdio transport — use mcp.fetcher.sh or fetcher.sh/topup for that

Spec compliance

  • Built on @modelcontextprotocol/sdk v1

  • Targets MCP spec 2025-11-25

  • Transport: stdio (hosted Streamable HTTP lives at https://mcp.fetcher.sh)

  • Tested with: mcp-inspector, Claude Desktop, Cursor, Claude Code

Development

git clone <this-repo>
cd fetcher-mcp-server
npm install
npm run build
npm test
FETCHER_API_KEY=bby_live_... npm run inspect

License

MIT © fetcher.sh

Available Tools

5 tools
check_balanceA

Free. Show the remaining credit balance for FETCHER_API_KEY. Call this before a long run of paid requests.

Inputs: no named parameters.

describe_endpointA

Free. Show the full call signature for one endpoint: required and optional parameters, allowed values, price, and response shape. Call this before fetch_data if you are unsure about parameters.

Inputs: path (required).

fetch_dataA

Paid. Fetch live data from any fetcher.sh endpoint. Pass the endpoint path plus its parameters (path and query parameters together in params). Priced per call; spends prepaid credits from FETCHER_API_KEY. Call describe_endpoint first if unsure. For a named tool per endpoint of one service, set FETCHER_SERVICE in the client config (e.g. twitter).

Inputs: path (required), params.

search_endpointsA

🎯 START HERE. Free. Search fetcher.sh's web-data endpoints (Twitter/X, YouTube, TikTok, Instagram, Reddit, Google Search, Google Maps, Google News, Google Play, App Store, Yelp) by keyword and/or service. Returns paths, descriptions and per-call prices. Then call describe_endpoint, then fetch_data.

Inputs: query, service.

topup_creditsA

Prepaid credits are bought on the web, not over stdio. Returns the top-up URL (minimum $1). After topping up, put the bby_live_… key in FETCHER_API_KEY.

Inputs: amount.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct role: billing, discovery, documentation, data fetching, and balance checking. There is no overlap or ambiguity about which tool to select for a given step.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun snake_case pattern (topup_credits, search_endpoints, describe_endpoint, fetch_data, check_balance). The naming is predictable and easy to infer.

    Tool Count5/5

    Five tools is well-scoped for this server's purpose: providing access to fetcher.sh's API with discovery, documentation, execution, and account management. Each tool earns its place without redundancy.

    Completeness5/5

    The tool set covers the full user workflow: find endpoints, inspect their signatures, fetch data, check balance, and top up credits. There are no obvious dead ends or missing operations for the stated domain.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables web search for AI agents with pay-per-search in USDC, no API keys needed.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to retrieve X/Twitter profiles and tweets, YouTube video and channel data, and TikTok profile and video stats on a pay-per-result basis without requiring login or platform API keys.
      96 npm
      MIT
    • -
      license
      Not graded
      quality
      D
      maintenance
      Twitter/X, YouTube, Reddit, Google and more - 100+ endpoints in total. No account, no OAuth, no subscription. Pay per call in USDC, or top up once and spend one balance across all of them.
      2
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to retrieve live public data from 70+ platforms — profiles, posts, comments, transcripts, products, prices, reviews, listings, jobs, ads and search results — plus website crawls and live browser sessions through 650+ endpoints in one response format. Includes free cost previews, per-call credit caps, safe retries, refunded failures and scheduled monitoring.
      15
      MIT