@tcliplab/transit-mcp 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -37
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Transit API Server
|
|
1
|
+
# Transit API Server (UNOFFICIAL)
|
|
2
2
|
|
|
3
3
|
An unofficial local MCP server for Transit API, a Japanese public transit API built on `https://api.transit.ls8h.com/`.
|
|
4
4
|
|
|
@@ -7,42 +7,8 @@ In most cases, you should use the official MCP connector at `https://api.transit
|
|
|
7
7
|
This package exists as a local `npm` / `npx`-based wrapper and as a base for future wrapper tools and experiments.
|
|
8
8
|
It also includes lightweight result previews, which may make the first-step UX a little smoother.
|
|
9
9
|
|
|
10
|
-
Why `npx`: this package
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Available Tools
|
|
14
|
-
|
|
15
|
-
These tools follow the shape and coverage of the original Transit API.
|
|
16
|
-
|
|
17
|
-
- `plan_journey` - search a route between two places
|
|
18
|
-
- `guidance_plan` - generate route guidance text
|
|
19
|
-
- `suggest_locations` - search location candidates
|
|
20
|
-
- `suggest_places` - search stations and place candidates
|
|
21
|
-
- `get_station` - fetch station details
|
|
22
|
-
- `get_station_departures` - fetch departures from a station
|
|
23
|
-
- `list_feeds` - list available feeds
|
|
24
|
-
- `list_operators` - list available operators
|
|
25
|
-
|
|
26
|
-
## Install
|
|
27
|
-
|
|
28
|
-
Use `npx` for quick access.
|
|
29
|
-
|
|
30
|
-
If you prefer, you can build and run it yourself.
|
|
31
|
-
|
|
32
|
-
## Connect Claude Desktop
|
|
33
|
-
|
|
34
|
-
Add the server to your Claude Desktop config:
|
|
35
|
-
|
|
36
|
-
```json
|
|
37
|
-
{
|
|
38
|
-
"mcpServers": {
|
|
39
|
-
"transit-mcp": {
|
|
40
|
-
"command": "npx",
|
|
41
|
-
"args": ["-y", "@tcliplab/transit-mcp@beta"]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
```
|
|
10
|
+
Why `npx`: this package can be tried without a local install or a separate service setup.
|
|
11
|
+
It may be a small example of a local `npm` / `npx`-driven MCP wrapper.
|
|
46
12
|
|
|
47
13
|
## Connect Codex
|
|
48
14
|
|