places_near_station

Pack: japan-places · 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/places_near_station for the schema, then POST the same URL with its arguments for the data.

Find facilities in Japan near a named train or subway station — convenience stores (konbini: 7-Eleven, Lawson, FamilyMart), restaurants, pharmacies, hospitals, ATMs, banks, hotels, supermarkets near a Shinkansen, JR, subway or private-railway station. Answers “convenience stores within 500m of Shibuya station”, “pharmacies near Shinjuku station”, “hospitals near Namba station”. Geocodes the station name within Japan, then searches OpenStreetMap around it. Returns each place’s name, category, distance in metres and coordinates.

Parameters

NameTypeRequiredDescription
stationstringyesStation or place name, e.g. “Shibuya Station”, “Shinjuku Station, Tokyo”, “Namba Station, Osaka”. Adding the city helps disambiguate common names.
categorystringyesWhat to find: “convenience_store”, “station” (another station nearby), “hospital”, “pharmacy”, “restaurant”, “cafe”, “supermarket”, “bank”, “atm”, “hotel”, “post_office”, “toilet”, “parking”, “temple”, “shrine”, “park” — or an exact OSM tag like “shop=bakery”.
radius_mnumbernoSearch radius in metres (1-5000, default 500).
limitnumbernoMax results (1-200, default 20).

Example call

Arguments

{
  "station": "Shibuya Station, Tokyo",
  "category": "convenience_store",
  "radius_m": 500,
  "limit": 20
}

curl

curl -X POST https://gateway.pipeworx.io/japan-places/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"places_near_station","arguments":{"station":"Shibuya Station, Tokyo","category":"convenience_store","radius_m":500,"limit":20}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('places_near_station', {
  "station": "Shibuya Station, Tokyo",
  "category": "convenience_store",
  "radius_m": 500,
  "limit": 20
});

Response shape

FieldTypeDescription
queryobject
resolved_stationobject
resolved_categorystring
countnumber
placesarray
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "object",
      "properties": {
        "station": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "radius_m": {
          "type": "number"
        }
      },
      "additionalProperties": true
    },
    "resolved_station": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "display_name": {
          "type": "string"
        },
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "additionalProperties": true
    },
    "resolved_category": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "places": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "name_ja": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "distance_m": {
            "type": "number"
          },
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          },
          "osm_id": {
            "type": "string"
          },
          "osm_url": {
            "type": "string"
          },
          "tags": {
            "type": "object",
            "properties": {
              "brand": {
                "type": "string"
              },
              "brand:en": {
                "type": "string"
              },
              "brand:ja": {
                "type": "string"
              },
              "brand:wikidata": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "name:en": {
                "type": "string"
              },
              "name:ja": {
                "type": "string"
              },
              "name:ja-Latn": {
                "type": "string"
              },
              "shop": {
                "type": "string"
              },
              "wheelchair": {
                "type": "string"
              },
              "brand:wikipedia": {
                "type": "string"
              },
              "name:ja_rm": {
                "type": "string"
              },
              "name:ko": {
                "type": "string"
              },
              "website": {
                "type": "string"
              },
              "branch": {
                "type": "string"
              },
              "level": {
                "type": "string"
              },
              "phone": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "wheelchair:description": {
                "type": "string"
              },
              "name:ja-Hira": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      }
    },
    "source": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

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 japan-places pack
{
  "mcpServers": {
    "japan-places": {
      "url": "https://gateway.pipeworx.io/japan-places/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 10, 2026