Geomag API MCP Config
The World Magnetic Model calculates the intensity and direction of the Earth's magnetic field on a specific date-time, geodetic altitude, latitude, and longitude. It is relied upon throughout the world for navigation, mineral exploration, atmospheric and space science, and is installed on billions
Config URL
Use this URL in any MCP-compatible client to fetch the config automatically.
https://mcp-bridge.pages.dev/config/amentum-space-global-magnet.jsonConfiguration JSON
Use curl https://mcp-bridge.pages.dev/config/amentum-space-global-magnet.json to fetch programmatically.
{
"mcpServers": {
"amentum-space-global-magnet": {
"command": "npx",
"args": ["-y","@mcp/amentum-space-global-magnet"],
"env": {
"GEOMAG_API_API_KEY": "your_geomag_api_api_key"
}
}
}
}How to Use
Cursor
Go to Cursor Settings → MCP Servers → Add with the JSON above.
CLI / curl
Fetch the config programmatically:
curl https://mcp-bridge.pages.dev/config/amentum-space-global-magnet.jsonEnvironment Variables
GEOMAG_API_API_KEYReplace your_geomag_api_api_key with your actual geomag api api key
Endpoints
GET
/magnetic_fieldCalculate magnetic declination, inclination, total field intensity, and grid variation