Sponsored by Deepsite.site

Globalping MCP Server

Created By
jsdelivr7 months ago
Remote MCP server that gives LLMs access to run network commands
Content

Globalping MCP Server

Globalping Logo

Enable AI models to interact with a global network measurement platform through natural language. Give network access to any LLM.

MCP Compatible

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 oAuth authentication, which offers a secure way to interact with our API and benefits from 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
  • 🔑 oAuth Support: Use your own Globalping account for higher rate limits

Installation

The remote MCP server is available under this endpoint 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):

{
    "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/sse

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:
{
    "mcpServers": {
        "globalping": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.globalping.dev/sse"
            ]
        }
    }
}
  1. Click "Save" and restart Cursor

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/globalping/types.ts - TypeScript interfaces for the Globalping API
  • src/globalping/api.ts - API wrapper functions for Globalping
  • src/globalping/tools.ts - MCP tool implementations
  • src/utils.ts - Helper utilities for rendering the web UI

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
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Playwright McpPlaywright MCP server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Amap Maps高德地图官方 MCP Server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
WindsurfThe new purpose-built IDE to harness magic
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
ChatWiseThe second fastest AI chatbot™
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Tavily Mcp
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
CursorThe AI Code Editor
DeepChatYour AI Partner on Desktop
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Serper MCP ServerA Serper MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs