RH

r-huijts/ns-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

66 stars 19 forks 품질 67 트렌드 1MIT

r-huijts/ns-mcp-server는 MCP 서버 후보가 https://github.com/r-huijts/ns-mcp-server.에서 수입됩니다

개요

r-huijts/ns-mcp-server는 MCP 서버 후보가 https://github.com/r-huijts/ns-mcp-server.에서 수입됩니다

개요(AI 번역)

인포메이션 |:|:|:|

NS 여행 정보 MCP 서버

당신의 AI 조수를 네덜란드 철도 전문가로 변환하십시오! 이 MCP 서버는 실시간 NS (으)로 Claude를 연결합니다 (으)로 네덜란드를 기차로 항해하기위한 완벽한 동반자를 만들기.

설치

당신은 세 가지 방법으로이 서버를 설치할 수 있습니다:

##1. NPM 패키지로 Claude Desktop 사용

Claude 설정 파일 업데이트 (~/Library/Application Support/Claude/claude_desktop_config.json):

NS API Portal에서 API 키를 얻을 수 있습니다.

##2. Smithery 사용

Smithery를 통해 NS Travel Information Server를 자동으로 설치하려면:

##3. 출처에서

  1. Clone 이 저장소

  2. 의존성 설치:

  3. 예제 환경 파일을 복사 :

  4. .env 파일에 NS API 키 추가:

그런 다음 Claude 구성 파일을 업데이트하십시오.

확인하기:

  1. /path/to/ns-server]를 설치하기 위해 실제 경로로 바꾸십시오.
  2. env] 섹션에서 NS API 키 추가. 여기에서 얻을 수 있습니다 https://apiportal.ns.nl/product#product=NsApp

구성을 업데이트 한 후, Claude Desktop을 다시 시작하면 변경 사항에 영향을 줄 수 있습니다.

Real-World 사용 사례

이 페이지는 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" } } } }