dms_to_decimal
Pack: geodistance · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/dms_to_decimal for the schema, then POST the same URL with its arguments for the data.
Parse a degrees-minutes-seconds coordinate string to decimal degrees. Accepts forms like “40°26′46″N” or “40 26 46 N” or “-73.5”. Returns the decimal value.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
dms | string | yes | A DMS coordinate string, e.g. “40°26′46″N”. |
Example call
Arguments
{
"dms": "40°26′46″N"
}
curl
curl -X POST https://gateway.pipeworx.io/geodistance/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"dms_to_decimal","arguments":{"dms":"40°26′46″N"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('dms_to_decimal', {
"dms": "40°26′46″N"
});
More examples
{
"dms": "73°58′56″W"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the geodistance pack
{
"mcpServers": {
"geodistance": {
"url": "https://gateway.pipeworx.io/geodistance/mcp"
}
}
}
See Getting Started for client-specific install steps.