Location MCP Server
An MCP (Model Context Protocol) server that provides location data from a local macOS app.
Prerequisites
- macOS (this package launches a macOS app)
- Node.js 16 or higher
Installation
npm install -g @sokyran/location-mcp-server
Or run it directly with npx:
npx @sokyran/location-mcp-server
Usage with Claude Desktop
-
Download the location-getter-agent.app and place it in the same directory where you run the command.
-
Edit your Claude Desktop configuration file:
{
"mcpServers": {
"location": {
"command": "npx",
"args": ["@sokyran/location-mcp-server"]
}
}
}
-
Restart Claude Desktop.
-
You can now use the
getCurrentLocationtool in your conversations with Claude.
How It Works
The server:
- Launches the location-getter-agent.app (which must be in the current directory)
- Waits for the app to start its HTTP server on port 8080
- Exposes a
getCurrentLocationtool to Claude - When invoked, it fetches location data from the local app and returns it
Troubleshooting
- Make sure the location-getter-agent.app is in the same directory where you're running the command
- If you get permission errors, you may need to allow the app in System Preferences > Security & Privacy
- Check that port 8080 is not being used by another application
Instructions
- Use Xcode, build location-getter
- Inside Xcode, go to Product -> Show build folder in Finder
- Here, find Products/Debug/location-getter-agent.app and paste in inside this folder, right near index.ts.
- npm i, npm run build, npm run start
Recommend MCP Servers 💡
mcp_zoomeye
A Model Context Protocol server that provides network asset information based on query conditions. This server allows LLMs to obtain network asset information and supports querying network asset information by zoomeye dork etc.
markitdown-mcp
A lightweight Model Context Protocol (MCP) server from Microsoft's MarkItDown project, providing STDIO, Streamable HTTP, and SSE transports to convert various URIs (http:, https:, file:, data:) into Markdown.
mcp-telemetry
A Model Context Protocol (MCP) server for telemetry within chat systems, enabling tracing and analysis of conversations using Weights & Biases Weave.
@pluggedin/mcp-proxy
Plugged.in MCP Server manages all your other MCPs in one MCP.
enrichment-mcp
An MCP server for performing security data enrichment using third-party services like VirusTotal and Shodan
@302ai/web-search-mcp
A MCP server providing web search capabilities via 302AI API, using stdio transport for integration with MCP clients like Claude Desktop