handsomegentlemen
MCP Serverhandsomegentlemenpublic

mcp geo

An MCP service for getting user geolocation information

Repository Info

0
Stars
2
Forks
0
Watchers
1
Issues
TypeScript
Language
MIT License
License

About This Server

An MCP service for getting user geolocation information

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP with Pages Functions :Geo Location Demo

This project demonstrates how to use EdgeOne Pages Functions to retrieve user geolocation information and integrate it with large language models through MCP (Model Context Protocol).

Demo

Deploy

Deploy with EdgeOne Pages

More Templates: EdgeOne Pages

Components

1. EdgeOne Pages Functions: Geolocation

The project includes an EdgeOne Pages Function that retrieves user geolocation information:

  • Uses the EdgeOne request context to access geolocation data
  • Returns location information in a JSON format
  • Located in functions/get_geo.ts

2. MCP Server Integration

The MCP server component provides an interface for large language models to access geolocation data:

  • Implements the Model Context Protocol (MCP)
  • Exposes a get_geolocation tool that can be used by AI models
  • Uses the EdgeOne Pages Function to fetch geolocation data
  • Located in mcp-server/index.ts

MCP Configuration

To use the MCP server with large language models, add the following configuration:

{
  "mcpServers": {
    "edgeone-geo-mcp-server": {
      "command": "tsx",
      "args": ["path/to/mcp-server/index.ts"]
    }
  }
}

Learn More

  • EdgeOne Pages
  • EdgeOne Pages Functions documentation
  • Model Context Protocol (MCP) - Learn about integrating AI models with external tools and services

Quick Start

1

Clone the repository

git clone https://github.com/handsomegentlemen/mcp-geo
2

Install dependencies

cd mcp-geo
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerhandsomegentlemen
Repomcp-geo
LanguageTypeScript
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation