# thirdtrail MCP server

> Provides elevation-corrected sun, moon, twilight, solar irradiance, and tide data for any location on Earth.

- Repository: https://github.com/thirdtrail/thirdtrail-python
- Page: https://hostedmcp.org/servers/thirdtrail/thirdtrail-python
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.0.0

## Install

### Claude Code

```sh
claude mcp add --transport http thirdtrail-python https://thirdtrail.life/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "thirdtrail-python": {
      "url": "https://thirdtrail.life/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "thirdtrail-python": {
      "type": "http",
      "url": "https://thirdtrail.life/mcp"
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.thirdtrail-python]
url = "https://thirdtrail.life/mcp"
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "thirdtrail-python": {
      "httpUrl": "https://thirdtrail.life/mcp"
    }
  }
}
```

## FAQ

### How does elevation affect the data?

Sun and moon times are corrected for the specific elevation provided, as higher altitudes allow for earlier sunrise and sunset observations.

### Can I use elevation parameters with tide height endpoints?

No, tide_heights and tide_extremes do not accept an elevation parameter because the ocean surface height is independent of the observer's elevation.

### What happens if I exceed my plan limits?

The client will raise a PlanLimitExceeded exception, which includes a limit attribute indicating the maximum allowed value.
