Gravity API Claude Desktop Config
Add the Gravity API MCP server to Claude Desktop with this ready-to-use configuration.
Setup Instructions
- Open Claude Desktop
- Go to Settings → Developer → Edit Config →
claude_desktop_config.json - Paste the JSON below into the file
- Set your credentials in the
envsection - Restart Claude Desktop
Configuration JSON
Copy the entire block into your claude_desktop_config.json
{
"mcpServers": {
"amentum-space-gravity": {
"command": "npx",
"args": [
"-y",
"@mcp/amentum-space-gravity"
],
"env": {
"GRAVITY_API_API_KEY": "your_gravity_api_api_key"
}
}
}
}Environment Variables
GRAVITY_API_API_KEYReplace your_gravity_api_api_key with your actual gravity api api key
Endpoints
GET
/egm2008/geoid_heightCalculate the geoid height
GET
/egm2008/gravity_anomalyCalculate gravity anomaly values