Geo Location Demo

by edgego

Not rated
GitHub

About

Retrieves user geolocation information using EdgeOne Pages Functions and exposes it via the Model Context Protocol (MCP).

Details

Author
edgego
Categories
Developer Tools, Other, API

Setup

Install Geo Location Demo in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/edgego/mcp-geo-pub

Follow the installation instructions in the repository README, then restart your MCP client.

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).

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 infunctions/get_geo.ts

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

- Implements the Model Context Protocol (MCP)
- Exposes aget_geolocationtool that can be used by AI models
- Uses the EdgeOne Pages Function to fetch geolocation data
- Located inmcp-server/index.ts

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"] } } }

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

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

The MCP server for Bitrix24 provides AI assistants with structured access to the Bitrix24 API. It delivers up-to-date method descriptions, parameters, and valid values, allowing assistants to work with precise data instead of guesswork. This reduces code errors and accelerates Bitrix24 integration development.

Tool platform by IBM to build, test and deploy tools for any data source

One remote MCP server for 500+ production APIs — Stripe, HubSpot, Postgres, Gmail, and more. OAuth and API key auth, credential management, and a CLI.

An MCP server for interacting with the Postman API, requiring an API key.

Arbitrary code execution and tool-use platform for LLMs by Riza

A command-line tool for interacting with Shopify's Admin GraphQL API, Functions, and Polaris Web Components.

Single tool to control all 100+ API integrations, and UI components

Agent-native developer Q&A API with MCP + A2A endpoints for citations, job pickup, and answer submission.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.