Taiwan Garbage Truck Map
Garbage truck stops and arrival times for Taipei, New Taipei, Taichung and Kaohsiung.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"taipei-trash": {
"url": "https://mcp.garbage.yukai.dev/mcp"
}
}
}远程端点
https://mcp.garbage.yukai.dev/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢list_cities
List the cities with garbage-truck collection data, with their ids and bounding boxes.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}输出模式
{
"type": "object",
"properties": {
"cities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"bounds": {
"type": "object",
"properties": {
"north": {
"type": "number"
},
"south": {
"type": "number"
},
"east": {
"type": "number"
},
"west": {
"type": "number"
}
},
"required": [
"north",
"south",
"east",
"west"
],
"additionalProperties": false
}
},
"required": [
"id",
"name",
"bounds"
],
"additionalProperties": false
}
}
},
"required": [
"cities"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢find_nearby_points(lat, lng, radiusMeters, limit, city)
Find garbage-truck stops near a coordinate in Taipei, New Taipei, Taichung or Kaohsiung, nearest first, with arrival times. Searches every city whose area overlaps the radius unless `city` is given.
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": 21,
"maximum": 26,
"description": "Latitude (WGS84)"
},
"lng": {
"type": "number",
"minimum": 118,
"maximum": 123,
"description": "Longitude (WGS84)"
},
"radiusMeters": {
"default": 500,
"type": "integer",
"minimum": 50,
"maximum": 2000
},
"limit": {
"default": 10,
"type": "integer",
"minimum": 1,
"maximum": 20
},
"city": {
"type": "string",
"enum": [
"taipei",
"new-taipei",
"taichung",
"kaohsiung"
],
"description": "City id: taipei, new-taipei, taichung, kaohsiung"
}
},
"required": [
"lat",
"lng"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}输出模式
{
"type": "object",
"properties": {
"points": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"city": {
"type": "string"
},
"district": {
"type": "string"
},
"village": {
"type": "string"
},
"location": {
"type": "string"
},
"route": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Truck arrival, HH:MM (Asia/Taipei)"
},
"departureTime": {
"type": "string",
"description": "Truck departure, HH:MM (Asia/Taipei)"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"distanceMeters": {
"type": "number"
},
"schedule": {
"description": "Weekdays served per collection type (garbage/recycling/foodscraps), ISO: Mon=1 .. Sun=7. Absent when the city publishes no weekly schedule (Taipei, Kaohsiung).",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 7
}
}
},
"servesToday": {
"description": "Any collection type served today (Asia/Taipei). Absent when no schedule is published.",
"type": "boolean"
}
},
"required": [
"id",
"city",
"district",
"village",
"location",
"route",
"arrivalTime",
"departureTime",
"latitude",
"longitude"
],
"additionalProperties": false
}
}
},
"required": [
"points"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢search_points(city, query, limit)
Search one city's stops by district, village, location or route text (Traditional Chinese). All space-separated terms must match, e.g. "大安區 安和路".
输入模式
{
"type": "object",
"properties": {
"city": {
"type": "string",
"enum": [
"taipei",
"new-taipei",
"taichung",
"kaohsiung"
],
"description": "City id: taipei, new-taipei, taichung, kaohsiung"
},
"query": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"limit": {
"default": 10,
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"city",
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}输出模式
{
"type": "object",
"properties": {
"points": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"city": {
"type": "string"
},
"district": {
"type": "string"
},
"village": {
"type": "string"
},
"location": {
"type": "string"
},
"route": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Truck arrival, HH:MM (Asia/Taipei)"
},
"departureTime": {
"type": "string",
"description": "Truck departure, HH:MM (Asia/Taipei)"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"distanceMeters": {
"type": "number"
},
"schedule": {
"description": "Weekdays served per collection type (garbage/recycling/foodscraps), ISO: Mon=1 .. Sun=7. Absent when the city publishes no weekly schedule (Taipei, Kaohsiung).",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 7
}
}
},
"servesToday": {
"description": "Any collection type served today (Asia/Taipei). Absent when no schedule is published.",
"type": "boolean"
}
},
"required": [
"id",
"city",
"district",
"village",
"location",
"route",
"arrivalTime",
"departureTime",
"latitude",
"longitude"
],
"additionalProperties": false
}
}
},
"required": [
"points"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_schedule(pointId)
Get one collection point by id (from find_nearby_points or search_points) plus every stop on the same route in arrival order.
输入模式
{
"type": "object",
"properties": {
"pointId": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"pointId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}输出模式
{
"type": "object",
"properties": {
"point": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"city": {
"type": "string"
},
"district": {
"type": "string"
},
"village": {
"type": "string"
},
"location": {
"type": "string"
},
"route": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Truck arrival, HH:MM (Asia/Taipei)"
},
"departureTime": {
"type": "string",
"description": "Truck departure, HH:MM (Asia/Taipei)"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"distanceMeters": {
"type": "number"
},
"schedule": {
"description": "Weekdays served per collection type (garbage/recycling/foodscraps), ISO: Mon=1 .. Sun=7. Absent when the city publishes no weekly schedule (Taipei, Kaohsiung).",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 7
}
}
},
"servesToday": {
"description": "Any collection type served today (Asia/Taipei). Absent when no schedule is published.",
"type": "boolean"
}
},
"required": [
"id",
"city",
"district",
"village",
"location",
"route",
"arrivalTime",
"departureTime",
"latitude",
"longitude"
],
"additionalProperties": false
},
"routeStops": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"city": {
"type": "string"
},
"district": {
"type": "string"
},
"village": {
"type": "string"
},
"location": {
"type": "string"
},
"route": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Truck arrival, HH:MM (Asia/Taipei)"
},
"departureTime": {
"type": "string",
"description": "Truck departure, HH:MM (Asia/Taipei)"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"distanceMeters": {
"type": "number"
},
"schedule": {
"description": "Weekdays served per collection type (garbage/recycling/foodscraps), ISO: Mon=1 .. Sun=7. Absent when the city publishes no weekly schedule (Taipei, Kaohsiung).",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 7
}
}
},
"servesToday": {
"description": "Any collection type served today (Asia/Taipei). Absent when no schedule is published.",
"type": "boolean"
}
},
"required": [
"id",
"city",
"district",
"village",
"location",
"route",
"arrivalTime",
"departureTime",
"latitude",
"longitude"
],
"additionalProperties": false
}
}
},
"required": [
"point",
"routeStops"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}社区
证据