Globalping MCP Server

Globalping MCP Server

Enable AI models to run network tests globally via natural language.

33
Stars
3
Forks
33
Watchers
3
Issues
Globalping MCP Server implements the Model Context Protocol, enabling AI models to interface with a global network measurement platform through natural language. It allows AI clients to perform network diagnostic tests such as ping, traceroute, DNS, MTR, and HTTP from thousands of locations worldwide. The server offers AI-friendly context handling, detailed parameter descriptions, comparative analysis of network performance, and supports secure authentication using OAuth or API tokens.

Key Features

Implements Model Context Protocol for AI interoperability
Enables network tests (ping, traceroute, DNS, MTR, HTTP) from global locations
Supports both OAuth and API token authentication
Provides smart context handling with detailed parameter descriptions
Allows comparative analysis between different network targets
Streamable HTTP and SSE endpoints for integration
AI-friendly, natural language interface
High rate limits for authenticated users
Seamless integration with popular AI tools (Claude, Anthropic, Cursor)
Accessible API for public use

Use Cases

Automating latency checks across global internet infrastructure
Debugging network issues from diverse geographic locations
Benchmarking the performance of web services worldwide
AI-driven comparative analysis of sites or endpoints
Enabling LLMs to suggest diagnostic network tests contextually
Validating DNS propagation and HTTP responsiveness worldwide
Integrating intelligent network measurement tools into AI assistants
Providing actionable network insights directly within AI chat interfaces
Academic research on network performance using AI tools
Building custom monitoring or alerting systems in AI workflows

README

Globalping MCP Server

What is Globalping?

Globalping is a free, public API that provides access to a globally distributed network of probes for monitoring, debugging, and benchmarking internet infrastructure. With Globalping, you can run network tests (ping, traceroute, DNS, MTR, HTTP) from thousands of locations worldwide.

What is the Globalping MCP Server?

The Globalping MCP Server implements the Model Context Protocol (MCP), allowing AI models like OpenAI's GPT and Anthropic's Claude to interact with Globalping's network measurement capabilities through natural language.

It also supports two authentication methods: OAuth and API token authentication. Both methods offer a secure way to interact with our API and provide higher rate limits associated with your account.

Key Features

  • 🌐 Global Network Access: Run measurements from thousands of probes worldwide
  • 🤖 AI-Friendly Interface: Any LLM will easily parse the data and run new measurements as needed
  • 📊 Comprehensive Measurements: Support for ping, traceroute, DNS, MTR, and HTTP tests
  • 🔍 Smart Context Handling: Provides detailed parameter descriptions for AI clients to intelligently select measurement types and options
  • 🔄 Comparative Analysis: Allows to compare network performance between different targets
  • 🔑 Authentication Support: Use OAuth or API token with your Globalping account for higher rate limits

Installation

The remote MCP server is available under these endpoints:

  • Streamable HTTP transport: https://mcp.globalping.dev/mcp
  • SSE transport: https://mcp.globalping.dev/sse

You can integrate our Globalping MCP server with various AI tools that support the Model Context Protocol.

Here are instructions for the top 3 most popular tools:

Claude Desktop App

Add to your Claude Desktop configuration file (located at %APPDATA%\Claude\config.json on Windows or ~/Library/Application Support/Claude/config.json on macOS):

Streamable HTTP transport:

json
{
    "mcpServers": {
        "globalping": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.globalping.dev/mcp"
            ]
        }
    }
}

Legacy SSE transport:

json
{
    "mcpServers": {
        "globalping": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.globalping.dev/sse"
            ]
        }
    }
}

Anthropic Claude API (via Console)

When creating a Claude Assistant in the Anthropic Console:

  1. Go to console.anthropic.com
  2. Navigate to the Assistants section
  3. Create a new Assistant or edit an existing one
  4. In the Tools section, select "Add custom tool"
  5. Enter the following details:
    • Tool Name: Globalping
    • Description: Run network tests from locations worldwide
    • Tool URL: https://mcp.globalping.dev/mcp (Streamable HTTP transport) or https://mcp.globalping.dev/sse (SSE transport)

Cursor

To add the Globalping MCP server to Cursor:

  1. Open Cursor settings
  2. Navigate to the MCP tab
  3. Click on "+ Add new global MCP server"
  4. This opens the mcp.json config file, where you will need to add:

Streamable HTTP transport:

json
{
    "mcpServers": {
        "globalping": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.globalping.dev/mcp"
            ]
        }
    }
}

Legacy SSE transport:

json
{
    "mcpServers": {
        "globalping": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.globalping.dev/sse"
            ]
        }
    }
}
  1. Click "Save" and restart Cursor

Authentication

The Globalping MCP server supports two authentication methods:

  • OAuth Authentication: Automatically handled by the server for secure access
  • API Token Authentication: Manual token configuration via Authorization header

Both methods provide higher rate limits and priority access to the probe network.

Using Globalping API Token

The server automatically detects when an API token is provided in the Authorization header and uses it for authentication instead of OAuth.

Getting Your API Token

  1. Visit globalping.io
  2. Sign in to your account
  3. Navigate to your account settings to generate an API token

Configuration with Authentication

Streamable HTTP transport:

json
{
    "mcpServers": {
        "globalping": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.globalping.dev/mcp",
                "--header",
                "Authorization: Bearer YOUR_GLOBALPING_API_TOKEN"
            ]
        }
    }
}

Legacy SSE transport:

json
{
    "mcpServers": {
        "globalping": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.globalping.dev/sse",
                "--header",
                "Authorization: Bearer YOUR_GLOBALPING_API_TOKEN"
            ]
        }
    }
}

Connecting AI Assistants

This MCP server can be used with any MCP-compatible AI assistant, including:

  • Claude Desktop
  • Anthropic Assistants
  • Cursor
  • Windsurf
  • Any custom implementation of the MCP protocol

See the MCP documentation for details on connecting clients to this server.

Available Tools

  • ping - Perform a ping test to a target
  • traceroute - Perform a traceroute test to a target
  • dns - Perform a DNS lookup for a domain
  • mtr - Perform an MTR (My Traceroute) test to a target
  • http - Perform an HTTP request to a URL
  • locations - List all available Globalping probe locations
  • limits - Show your current rate limits for the Globalping API
  • getMeasurement - Retrieve a previously run measurement by ID
  • compareLocations - Guide on how to run comparison measurements
  • help - Show a help message with documentation on available tools

Usage Examples

Once connected to an AI model through a compatible MCP client, you can interact with Globalping using natural language:

Ping google.com from 3 locations in Europe
Run a traceroute to github.com from Japan and compare with traceroute from the US
Check the DNS resolution of example.com using Google DNS (8.8.8.8)
Is jsdelivr.com reachable from China? Test with both ping and HTTP
What's the average response time for cloudflare.com across different continents?

Location Specification

Locations can be specified using the "magic" field, which supports various formats:

  • Continent codes: "EU", "NA", "AS", etc.
  • Country codes: "US", "DE", "JP", etc.
  • City names: "London", "Tokyo", "New York", etc.
  • Network names: "Cloudflare", "Google", etc.
  • ASN numbers: "AS13335", "AS15169", etc.
  • Cloud provider regions: "aws-us-east-1", "gcp-us-central1", etc.

You can also combine these with a plus sign for more specific targeting: "London+UK", "Cloudflare+US", etc.

Development

The codebase is organized into modules:

  • src/index.ts - Main entry point and MCP agent definition
  • src/app.ts - OAuth web routes
  • src/api - Globalping API client
  • src/auth - Authentication utilities
  • src/config - Configuration and constants
  • src/lib - Utility functions
  • src/mcp - MCP tool handlers
  • src/types - TypeScript type definitions
  • src/ui - HTML templates

Add Globalping credentials

Add Globalping OAuth credentials:

  • npx wrangler secret put GLOBALPING_CLIENT_ID

KV storage

Used for OAuthProvider docs https://github.com/cloudflare/workers-oauth-provider

  • create a KV namespace and copy ID
  • binding for it must be OAUTH_KV
  • configure kv_namespaces in the wrangler.jsonc file

Star History

Star History Chart

Repository Owner

jsdelivr
jsdelivr

Organization

Repository Details

Language TypeScript
Default Branch master
Size 2,271 KB
Contributors 5
MCP Verified Nov 12, 2025

Programming Languages

TypeScript
100%

Tags

Topics

mcp mcp-server remote-mcp-server

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • MCP Internet Speed Test

    MCP Internet Speed Test

    Standardized internet speed and network performance testing for AI models via MCP.

    MCP Internet Speed Test implements the Model Context Protocol (MCP) to enable AI models and agents to measure, analyze, and report diverse network performance metrics through a standardized interface. It supports download, upload, latency, jitter, and cache analysis, along with multi-CDN and geographic location detection. By offering an MCP-compatible server with robust testing features, it allows seamless integration with LLMs and AI tools for real-time network assessment and diagnostics.

    • 11
    • MCP
    • inventer-dev/mcp-internet-speed-test
  • IPLocate MCP Server

    IPLocate MCP Server

    Comprehensive IP address geolocation and network intelligence via MCP.

    Provides an MCP server interface to IPLocate.io, delivering detailed IP address intelligence including geolocation, network details, privacy detection, and abuse contact information. Easily integrates with popular MCP clients like Cursor and Claude Desktop for seamless IP lookups. Enables users to retrieve geographic, organizational, and security-related data associated with IPv4 and IPv6 addresses by connecting to the IPLocate.io API.

    • 11
    • MCP
    • iplocate/mcp-server-iplocate
  • MCP CLI

    MCP CLI

    A powerful CLI for seamless interaction with Model Context Protocol servers and advanced LLMs.

    MCP CLI is a modular command-line interface designed for interacting with Model Context Protocol (MCP) servers and managing conversations with large language models. It integrates with the CHUK Tool Processor and CHUK-LLM to provide real-time chat, interactive command shells, and automation capabilities. The system supports a wide array of AI providers and models, advanced tool usage, context management, and performance metrics. Rich output formatting, concurrent tool execution, and flexible configuration make it suitable for both end-users and developers.

    • 1,755
    • MCP
    • chrishayuk/mcp-cli
  • Google Workspace MCP Server

    Google Workspace MCP Server

    Full natural language control of Google Workspace through the Model Context Protocol.

    Google Workspace MCP Server enables comprehensive natural language interaction with Google services such as Calendar, Drive, Gmail, Docs, Sheets, Slides, Forms, Tasks, and Chat via any MCP-compatible client or AI assistant. It supports both single-user and secure multi-user OAuth 2.1 authentication, providing a production-ready backend for custom apps. Built on FastMCP, it delivers high performance and advanced context handling, offering deep integration with the entire Google Workspace suite.

    • 890
    • MCP
    • taylorwilsdon/google_workspace_mcp
  • Weblate MCP Server

    Weblate MCP Server

    Seamlessly connect AI assistants to Weblate for translation management via the Model Context Protocol.

    Weblate MCP Server enables AI assistants and clients to directly manage Weblate translation projects through the Model Context Protocol (MCP). It integrates with the Weblate REST API, allowing natural language interaction for project and translation management. The tool offers multiple transport options including HTTP, SSE, and STDIO, and is optimized for large language model workflows. Full support for project, component, and translation operations is provided, with a focus on type safety and flexible environment configuration.

    • 9
    • MCP
    • mmntm/weblate-mcp
  • IP Find MCP Server

    IP Find MCP Server

    A Model Context Protocol server for IP location lookups by AI assistants.

    IP Find MCP Server acts as a Model Context Protocol (MCP) server, allowing AI assistants to access geolocation data from the IP Find API. It connects the IP Find API with AI tools, enabling the retrieval of IP address location information in standardized contexts. Designed for integration with MCP clients such as the Claude Desktop App, it simplifies configuration and secure API key management. The server is certified by MCPHub.

    • 2
    • MCP
    • ipfind/ipfind-mcp-server
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results