
r-huijts/ns-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
r-huijts/ns-mcp-serverは[https://github.com/r-huijts/ns-mcp-server.からインポートされたMCPサーバー候補です
概要
r-huijts/ns-mcp-serverは[https://github.com/r-huijts/ns-mcp-server.からインポートされたMCPサーバー候補です
概要(AI 翻訳)
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | お問い合わせ
NSトラベル情報MCPサーバー
オランダの鉄道の専門家にAIアシスタントを変革! このMCPサーバーは、ClaudeをリアルタイムNS(日本Spoorwegen)の旅行情報に接続し、オランダを鉄道でナビゲートするのに最適な仲間になります。
インストール
3つの方法でこのサーバーをインストールできます。
##1。 NPMパッケージでClaudeデスクトップを使用する
Claude設定ファイル([~/Library/Application Support/Claude/claude_desktop_config.json])を更新します。
NS APIポータルからAPIキーを取得する
##2. スミリーの使用
NSトラベル情報サーバーをSmisery経由で自動的にインストールするには:
##3. ソースから
-
このリポジトリをクローンする
-
依存関係を取付けて下さい:
-
環境ファイルのコピー:
-
NS API キーを [
.envファイルに追加します。
次に、Claude設定ファイルを更新します。
お問い合わせ
- インストールの実際のパスで[
/path/to/ns-serverを置換 - [
envセクションにNS APIキーを追加します。 ここから入手できます [https://apiportal.ns.nl/product#product=NsApp]]
設定を更新した後、Claude Desktop を再起動して、エフェクトを取り戻します。
リアルワールドユースケース
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
NS Travel Information MCP Server
Transform your AI assistant into a Dutch railways expert! This MCP server connects Claude to real-time NS (Nederlandse Spoorwegen) travel information, making it your perfect companion for navigating the Netherlands by train.
Installation
You can install this server in three ways:
1. Using Claude Desktop with NPM Package
Update your Claude configuration file (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"ns-server": {
"command": "npx",
"args": [
"-y",
"ns-mcp-server"
],
"env": {
"NS_API_KEY": "your_api_key_here"
}
}
}
}
You can get an API key from NS API Portal
2. Using Smithery
To install NS Travel Information Server automatically via Smithery:
npx -y @smithery/cli install ns-server --client claude
3. From Source
- Clone this repository
- Install dependencies:
npm install - Copy the example environment file:
cp .env.example .env - Add your NS API key to the
.envfile:NS_API_KEY=your_api_key_here
Then update your Claude configuration file:
{
"mcpServers": {
"ns-server": {
"command": "node",
"args": [
"/path/to/ns-server/build/index.js"
],
"env": {
"NS_API_KEY": "your_api_key_here"
}
}
}
}
Make sure to:
- Replace
/path/to/ns-serverwith the actual path to your installation - Add your NS API key in the
envsection. It can be obtained from here https://apiportal.ns.nl/product#product=NsApp
After updating the configuration, restart Claude Desktop for the changes to take effect.
Real-World Use Cases
- “Is my usual 8:15 train from Almere to Amsterdam running on time?”
- “Are there any delays on the Rotterdam-Den Haag route today?”
- “What’s the best alternative route to Utrecht if there’s maintenance on the direct line?”
- “Which train should I take to arrive at my office in Amsterdam Zuid before 9 AM?”
- “Which route to Amsterdam has the fewest transfers with a stroller?”
- “What’s the earliest train I can take to make my 10 AM meeting in The Hague?”
インストール
npx -y ns-mcp-server設定
{
"mcpServers": {
"ns-server": {
"command": "npx",
"args": [
"-y",
"ns-mcp-server"
],
"env": {
"NS_API_KEY": "your_api_key_here"
}
}
}
}