Boilerplate MCP Server for IP address lookup

Boilerplate MCP Server for IP address lookup

personal-mcp-server•byjango-blockchained

A TypeScript STDIO MCP server that provides tools and resources to AI clients such as Claude Desktop and Cursor AI, and is also usable as a CLI.

License: ISC•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes MCP tools and resources to AI applications via a STDIO server.
  • •Provides IP address lookup for any IP address or the current device's IP.
  • •Offers a command-line interface for the same IP lookup functionality.
  • •Includes a GitHub Actions workflow for continuous integration, testing, and publishing to GitHub Packages.

BEST FOR

  • •Asking an AI assistant for your public IP address or details about a specific IP.
  • •Developers starting a new well-structured MCP server in TypeScript.
  • •Testing IP lookup functionality directly from the command line.

ABOUT PERSONAL-MCP-SERVER

Boilerplate MCP Server for IP address lookup is cataloged as an MCP server attributed to jango-blockchained. A TypeScript STDIO MCP server that provides tools and resources to AI clients such as Claude Desktop and Cursor AI, and is also usable as a CLI. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: ISC. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Boilerplate MCP Server for IP address lookup are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How can I use this server with Claude Desktop?

After configuring the server in Claude Desktop's MCP configuration file and restarting the app, the get-ip-details tool becomes available.

Can the server be used without an AI client?

Yes, it can be used as a command-line tool supporting get-ip-details for the current device or a specific IP address.

Upstream README

View this exact version on GitHub

README.md · b091dd61f658 · Fetched 2026-11-13 11:08:10 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Boilerplate MCP Server

A boilerplate Model Context Protocol (MCP) server implementation using TypeScript. This project demonstrates how to build a well-structured MCP server that exposes both tools and resources to AI applications like Claude Desktop. It serves as a starting point for developers building MCP-compatible servers with a focus on clean architecture, automated workflows, and easy deployment.

Core Features

  • STDIO MCP Server: Designed for AI clients like Claude Desktop, providing tools and resources via the Model Context Protocol.
  • CLI Support: Human-friendly command-line interface for the same functionality, making it easy to test and use directly.
  • IP Address Lookup: Get details about any IP address or your current device's IP.
  • Automated Release Management: GitHub Actions workflow for continuous integration, testing, and publishing to GitHub Packages.

Installation

Global Installation

You can install this package globally to use as a CLI tool:

npm install -g @aashari/boilerplate-mcp-server

After global installation, you can run the CLI commands directly:

# Get help
boilerplate-mcp-server --help

# Get current IP details
boilerplate-mcp-server get-ip-details

# Get details for a specific IP
boilerplate-mcp-server get-ip-details 8.8.8.8

Local Installation

For development or local use, clone the repository and install dependencies:

git clone https://github.com/aashari/boilerplate-mcp-server.git
cd boilerplate-mcp-server
npm install

Then run the development server:

npm run dev

Or build and start:

npm run build
npm start

Configuration Options for End Users

Before setting up with Claude Desktop or Cursor AI, you can configure the server. There are two recommended options for end users:

Option 1: Direct Configuration in Claude/Cursor

Pass your configuration directly in the Claude Desktop config or Cursor AI command:

{
  "mcpServers": {
    "aashari/boilerplate-mcp-server": {
      "command": "npx",
      "args": ["-y", "DEBUG=true", "IPAPI_API_TOKEN=your_token", "aashari/boilerplate-mcp-server"]
    }
  }
}
  1. Create a global configuration file at $HOME/.mcp/configs.json:
{
  "@aashari/boilerplate-mcp-server": {
    "environments": {
      "DEBUG": "true",
      "IPAPI_API_TOKEN": "your_token"
    }
  }
}
  1. Then use a simplified configuration in Claude Desktop or Cursor AI:
{
  "mcpServers": {
    "aashari/boilerplate-mcp-server": {
      "command": "npx",
      "args": ["-y", "aashari/boilerplate-mcp-server"]
    }
  }
}

This approach keeps your configuration in one secure location and simplifies your AI assistant setup.

Available Configuration Options

  • DEBUG: Set to true to enable debug logging.
  • IPAPI_API_TOKEN: API token for the IP API service (if required).

Setting Up with Claude Desktop

To use this MCP server with Claude Desktop:

  1. Open Claude Desktop Settings:

    • Launch Claude Desktop
    • Click on the settings icon (gear) in the top-right corner

    Claude Desktop Settings

  2. Edit MCP Configuration:

    • Click on "Edit Config" button
    • This will open File Explorer/Finder with the claude_desktop_config.json file
  3. Update Configuration File:

    • Add one of the configuration options from above to the file
    • Save the file

    Example with global configuration file already set up:

    {
      "mcpServers": {
        "aashari/boilerplate-mcp-server": {
          "command": "npx",
          "args": ["-y", "aashari/boilerplate-mcp-server"]
        }
      }
    }
    
  4. Restart Claude Desktop:

    • Close and reopen Claude Desktop to apply the changes

    Claude Desktop Home

  5. Verify Tool Availability:

    • On the Claude home page, look for the hammer icon on the right side
    • Click it to see available tools
    • Ensure the get-ip-details tool is listed

    Claude Tools Menu

  6. Test the Tool:

    • Try asking Claude: "give me my public IP" or "analyze this IP: 8.8.8.8"
    • Claude will use the MCP tool to fetch and display the requested information

    Claude Using IP Tool

Setting Up with Cursor AI

To use this MCP server with Cursor AI:

  1. Open Cursor Settings:

    • Launch Cursor
    • Press CMD + SHIFT + P (or CTRL + SHIFT + P on Windows)
    • Type "settings" and select "Cursor Settings"
    • On the sidebar, select "MCP"

    Cursor Settings MCP

  2. Add New MCP Server:

    • Click "+ Add new MCP server"
    • A configuration form will appear

    Cursor Add MCP Server

  3. Configure MCP Server:

    • Name: Enter aashari/boilerplate-mcp-server
    • Type: Select command from the dropdown
    • Command: Choose one of the following based on your configuration approach:

    If using global configuration file (recommended):

    npx -y aashari/boilerplate-mcp-server
    

    If passing configuration directly:

    DEBUG=true IPAPI_API_TOKEN=your_token npx -y aashari/boilerplate-mcp-server
    
    • Click "Add"
  4. Verify Server Configuration:

    • The server should now be listed with a green indicator
    • You should see the get_ip_details tool listed under the server

    Cursor MCP Server Listed

  5. Test the Tool:

    • In the chat sidebar, ensure Agent mode is active
    • Try asking: "give me my public IP" or "analyze this IP: 8.8.8.8"
    • Cursor AI will use the MCP tool to fetch and display the requested information

    Cursor Using IP Tool

Using as a CLI Tool

The package can also be used as a command-line tool for human interaction:

  • Get help and available commands:

    npx -y aashari/boilerplate-mcp-server --help
    

    Example output:

    Usage: @aashari/boilerplate-mcp-server [options] [command]
    
    A boilerplate Model Context Protocol (MCP) server implementation using TypeScript
    
    Options:
      -V, --version               output the version number
      -h, --help                  display help for command
    
    Commands:
      get-ip-details [ipAddress]  Get details about a specific IP address or the current device
      help [command]              display help for command
    
  • Get current device IP details:

    npx -y aashari/boilerplate-mcp-server get-ip-details
    

    Example output:

    status: success
    country: Indonesia
    countryCode: ID
    region: JK
    regionName: Jakarta
    city: Jakarta
    zip: 11730
    lat: -6.2114
    lon: 106.8446
    timezone: Asia/Jakarta
    isp: Biznet Wifi
    org:
    as: AS17451 BIZNET NETWORKS
    query: 118.99.106.135
    
    • Get details for a specific IP address:
    npx -y aashari/boilerplate-mcp-server get-ip-details 8.8.8.8
    

    Example output:

    status: success
    country: United States
    countryCode: US
    region: VA
    regionName: Virginia
    city: Ashburn
    zip: 20149
    lat: 39.03
    lon: -77.5
    timezone: America/New_York
    isp: Google LLC
    org: Google Public DNS
    as: AS15169 Google LLC
    query: 8.8.8.8
    

About MCP

For detailed information about the Model Context Protocol (MCP), including core concepts, architecture, and implementation guides, please refer to the official MCP documentation.

For Developers

If you're interested in developing or extending this project, please refer to the Development Guide for detailed information on:

  • Prerequisites and installation
  • Project structure
  • Configuration system
  • Adding your own functionality
  • Testing and deployment
  • Creating your own MCP server
  • And more

License

ISC

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Boilerplate MCP Server for IP address lookup from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/personal-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools