Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by tb280320889 • Geospatial & Location
An MCP server demo that exposes user geolocation from EdgeOne Pages Functions to large language models for context-aware responses.
Retrieve a user's approximate geolocation to tailor responses or recommendations based on region.
Include client location context (city, country, timezone) when composing personalized messages or instructions.
A simple MCP-accessible tool to enrich prompts with edge-provided request context (e.g., locale-based formatting or content filtering).
This repository demonstrates an MCP (Model Context Protocol) server that integrates EdgeOne Pages Functions to fetch client geolocation data and expose it as a tool for LLMs. It includes a Pages Function (functions/get_geo.ts) that reads location from the EdgeOne request context and an MCP server (mcp-server/index.ts) exposing a get_geolocation tool. The project is intended as a template to enable agents to personalize or contextualize responses based on user location. It also includes deployment guidance for EdgeOne Pages.
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.