RH

r-huijts/ns-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

64 stars 18 forks 品質 67 トレンド 14MIT

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. ソースから

  1. このリポジトリをクローンする

  2. 依存関係を取付けて下さい:

  3. 環境ファイルのコピー:

  4. NS API キーを [.env ファイルに追加します。

次に、Claude設定ファイルを更新します。

お問い合わせ

  1. インストールの実際のパスで[/path/to/ns-serverを置換
  2. [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

  1. Clone this repository
  2. Install dependencies:
    npm install
    
  3. Copy the example environment file:
    cp .env.example .env
    
  4. Add your NS API key to the .env file:
    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:

  1. Replace /path/to/ns-server with the actual path to your installation
  2. Add your NS API key in the env section. 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?”
GitHub で README 全文を見る

インストール

npx -y ns-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "ns-server": { "command": "npx", "args": [ "-y", "ns-mcp-server" ], "env": { "NS_API_KEY": "your_api_key_here" } } } }