Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NETLOC8_API_KEYNoYour NetLoc8 API key. Enables city-level data and account management.
NETLOC8_API_URLNoOverride the API base URL (for staging/dev).https://api.netloc8.com

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
geolocate_ipA

Look up geolocation data for an IPv4 or IPv6 address using NetLoc8's edge network. Returns country, city, region, coordinates, timezone, ASN, and EU membership status. Use this when you need the physical location of an IP address. Example: ip="8.8.8.8" → United States, Mountain View, CA, America/Los_Angeles.

geolocate_meA

Look up geolocation data for this machine's public IP address using NetLoc8. Returns the same rich data as geolocate_ip (country, city, coordinates, ASN, EU status). Useful for determining the developer's location or the server's egress point. No arguments required.

get_subnetA

Derive the /24 CIDR prefix from an IPv4 address (e.g. 8.8.8.8 → 8.8.8.0/24). For IPv6 or invalid addresses, returns a message explaining why no /24 subnet applies. Runs locally — no API call, no quota usage.

get_timezoneA

Get the IANA timezone string for an IP address. Lighter than a full geolocate_ip call when you only need the timezone. Useful for scheduling, date formatting, or timezone-aware code. Example: ip="8.8.8.8" → "America/Los_Angeles".

is_public_ipA

Check if an IP address is publicly routable. Rejects RFC1918, CGNAT, loopback, link-local, and ULA addresses. Example: ip="8.8.8.8" → public, ip="192.168.1.1" → private. Runs locally — no API call, no quota usage.

normalize_ipA

Normalize an IP address string: strip brackets, remove IPv4-mapped prefix (::ffff:), trim whitespace, and lowercase. Runs locally — no API call, no quota usage.

validate_ipA

Check if a string is a valid IPv4 or IPv6 address. Returns a human-readable message stating whether the input is valid. Useful for input validation before making a geo lookup. Example: ip="8.8.8.8" → valid, ip="not-an-ip" → invalid. Runs locally — no API call, no quota usage.

Prompts

Interactive templates invoked by user choice

NameDescription
analyze_ipProduce a comprehensive intelligence report for an IP address: geolocation, timezone, network, EU status, and subnet.
batch_geolocateLook up multiple IP addresses and produce a comparison table with country, city, timezone, and ASN.
getting_startedWalk through setting up NetLoc8: create an API key, make your first lookup, and get SDK installation instructions for your platform.
security_auditReview your NetLoc8 account security: API keys, recent activity, and usage patterns.

Resources

Contextual data attached and managed by the client

NameDescription
aboutLearn about NetLoc8 — what it is, SDKs, pricing, quick start guides, and common use cases.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/netloc8/netloc8-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server