Skip to main content
Glama
Piloterr MCP Server

Piloterr MCP Server

Official
by piloterr

Piloterr MCP Server

Official Model Context Protocol server for the Piloterr web scraping API.

Scrape 300+ websites (Amazon, LinkedIn, Google, Zillow, Crunchbase…) as structured JSON with one API.

It lets Claude, Cursor, VS Code, Windsurf and any MCP client call the API as tools. Runs over stdio (local) or Streamable HTTP (self-hosted).

Requirements

  • Node.js 20 or newer

  • a Piloterr API key — sign up, then copy it from the dashboard

Related MCP server: Foundry API MCP Server

Piloterr runs this server for you at https://mcp.piloterr.com/ (Streamable HTTP). Send your API key in the x-api-key header; nothing to install.

claude mcp add --transport http piloterr https://mcp.piloterr.com/ --header "x-api-key: YOUR_API_KEY"
{
  "mcpServers": {
    "piloterr": {
      "url": "https://mcp.piloterr.com/",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}

The hosted server and this package expose the same API; run the package locally when you want stdio, your own network egress, or to self-host it.

Run it locally

Claude Code

claude mcp add piloterr --env PILOTERR_API_KEY=YOUR_API_KEY -- npx -y @piloterr/mcp

Claude Desktop, Cursor, Windsurf and other clients

Add the server to the client's MCP configuration (claude_desktop_config.json, .cursor/mcp.json…):

{
  "mcpServers": {
    "piloterr": {
      "command": "npx",
      "args": ["-y", "@piloterr/mcp"],
      "env": {
        "PILOTERR_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

VS Code

{
  "servers": {
    "piloterr": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@piloterr/mcp"],
      "env": {
        "PILOTERR_API_KEY": "${input:piloterr-api-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "piloterr-api-key",
      "description": "Piloterr API key",
      "password": true
    }
  ]
}

Claude Desktop extension

Download the .mcpb bundle from the releases page and open it; Claude Desktop asks for your API key.

Docker

docker build -t piloterr-mcp .
docker run -i --rm -e PILOTERR_API_KEY=YOUR_API_KEY piloterr-mcp

Tools

Piloterr has 391 endpoints, more than a client should load as separate tools. The server exposes a small catalog instead: the model searches it, reads an endpoint's parameters, then calls it.

Tool

Description

search_endpoints

Search the 391 Piloterr endpoints.

get_endpoint

Describe the parameters of one endpoint.

call_endpoint

Call one Piloterr endpoint and return the result.

usage

Show API usage and remaining credits.

Every tool that calls the API consumes credits. JSON results are returned as text; images are returned inline and other files (PDF…) as embedded resources, up to 4 MB.

Streamable HTTP

npx @piloterr/mcp --http --port 3000

The endpoint is POST /mcp (stateless, JSON responses). Each client sends its own key in the x-api-key header (or Authorization: Bearer <key>); the server never uses a key of its own. It binds to 127.0.0.1 by default and rejects browser origins unless you allow them — put it behind TLS before exposing it.

createHttpHandler() is exported for Fetch-compatible runtimes (Cloudflare Workers, Deno, Bun):

import { createHttpHandler } from "@piloterr/mcp";

export default { fetch: createHttpHandler({ allowedOrigins: [] }) };

Security

  • The API key is read from PILOTERR_API_KEY (stdio) or the request headers (HTTP) and removed from error messages.

  • Content fetched from websites is untrusted: the server instructions tell the model to treat it as data, not instructions.

  • See SECURITY.md to report a vulnerability.

Development

npm install
npm test
npm run build
npx @modelcontextprotocol/inspector node dist/stdio.js

Built on the SDK

The server uses the official Node.js SDK (@piloterr/sdk).

All Piloterr SDKs

SDK

Package

Install

Node.js

@piloterr/sdk

npm install @piloterr/sdk

Python

piloterr

pip install piloterr

Go

piloterr-go

go get github.com/piloterr/piloterr-go

.NET

Piloterr

dotnet add package Piloterr

Ruby

piloterr

gem install piloterr

PHP

piloterr/sdk

composer require piloterr/sdk

Java

piloterr-java

build from source, see its README

CLI

@piloterr/cli

npm install -g @piloterr/cli

MCP server

@piloterr/mcp

npx -y @piloterr/mcp

License

MIT — see LICENSE.

Available Tools

4 tools
call_endpointCall a Piloterr endpointA
Read-only
Inspect

Calls one Piloterr endpoint with its parameters and returns the result. Each call consumes credits. Use get_endpoint first to learn the parameters.

Inputs: name (required), params.

get_endpointDescribe a Piloterr endpointA
Read-only
Inspect

Returns the description and parameters (names, types, required, allowed values) of one endpoint.

Inputs: name (required).

search_endpointsSearch Piloterr endpointsA
Read-only
Inspect

Search the 391 Piloterr endpoints by website, keyword or path (for example "amazon", "linkedin job", "zillow"). Returns endpoint names to use with get_endpoint and call_endpoint.

Inputs: limit, query.

usageUsageB
Read-only
Inspect

Usage. Retrieve real-time usage statistics and credit balance for your Piloterr account.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct role in the discovery-to-execution workflow: search_endpoints finds endpoints, get_endpoint inspects schema, call_endpoint executes, and usage reports account credits. The descriptions explicitly explain how they relate and when to use each, leaving no meaningful overlap.

    Naming Consistency4/5

    The three action tools follow a consistent verb_noun pattern (search_endpoints, get_endpoint, call_endpoint), and usage is a minor deviation as a bare noun. The convention remains predictable and readable.

    Tool Count5/5

    Four tools are exactly right for a facade over a large API: discovery, schema inspection, execution, and account usage. Each tool earns its place without redundant operations.

    Completeness4/5

    The core lifecycle for using Piloterr endpoints is covered: search, inspect, call, and check credits. Minor gaps exist around batch operations, endpoint listing without search, or account management, but agents can work around them.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      B
      maintenance
      Hosted MCP server for 3926 structured public web-data tools across 488 platform groups, returning clean JSON for search, maps, commerce, social, and finance.
      14
      500
      308 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides bounded API tools for web page rendering, document extraction, B2B enrichment, local business search, and more via MCP protocol.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides a single MCP endpoint for 90+ tools across 42 backend servers (search, legal, domain, etc.) with per-call credit billing and a single API key.
      1
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables MCP clients to scrape web pages, extract structured data, search, crawl sites, generate schemas, schedule monitors, and inspect credits/history through hosted or local integrations.
      -