mcp-server-ip

mcp-server-ip

1

The project is an MCP-compliant server that offers IP address location lookup services. It fetches detailed geographic data of IPs using ip.sb API and supports features like SSE-based data transmission.

Overview

  • This is a server based on the Model Context Protocol (MCP) that provides IP address location lookup services.
  • Features include querying the location of specified IP addresses and fetching the current client's IP information if no IP is specified.
  • Data is transmitted using HTTP SSE and complies with MCP standards.

Installation

  • Clone the repository and navigate to the project directory.
  • Install dependencies and build the project.

Usage

  • Start the server to launch it at http://localhost:3000 with SSE-based MCP services.
  • It can be integrated with Claude Desktop by adding server configurations in .cursor/mcp.json file.

API

  • query-ip: Fetches location details for a given IP or the client IP if none is provided, including country, region, city, coordinates, timezone, ASN, and organization.