AM

aidenyangx/mapbox-mcp-server

Developer tools

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

12 stars 12 forks 품질 58 트렌드 8MIT

Mapbox API를 위한 MCP 서버.

개요

- 좌표 사이의 방향을 가져옵니다 - 입력 : - 좌표 ({latitude : 번호, 경도 : 번호}[]) - 프로필 (선택 사항) : "driving-traffic", "driving", "walking", "cycling" - 돌아 가기 : 단계, 거리, 기간이있는 경로 세부 정보 - 이름을 사용하여 장소 사이의 방향을 가져옵니다 - 입력 : - 장소 (string[]) : 장소 이름의 배열 - 단면도 (선택): "driving-traffic", "driving", "walking", "cycling" - 언어 (선택): 두 letter 언어 코드 (예 : "zh", "en") - 반품 : - 각 장소에 대한 Geocoding 결과 - 단계, 거리, 기간이있는 노선 세부 정보 - 처리 중 발생한 모든 오류 - 좌표 사이의 여행 시간과 거리 매트릭스 계산 - 입력 : - 좌표 ({latitude: number, longitude: number}[]) - 프로필 (선택 사항) : "driving", "walking", "cycling" - 표기 (선택 사항) : "duration", "street", "duration, distance" - 소스 (선택 사항) : 소스 좌표의 인덱스 - 목적지 (선택 사항) : 대상 좌표 지수 - 반품 : ...

개요(AI 번역)

Mapbox API를 위한 MCP 서버.

특징

탐색 도구

  1. mapbox_directions
  • 좌표 사이의 방향을 가져옵니다.
  • 입력:
  • coordinates ({latitude: number, 경도: number}[])
  • profile (선택 사항) : “driving-traffic”, “driving”, “walking”, “cycling”
  • 반품 : 단계, 거리, 기간에 대한 세부 정보
  1. [T3]]
  • 자신의 이름을 사용하여 장소 사이의 방향을 가져옵니다.
  • 입력:
  • places (string[]): 장소 이름의 배열
  • profile (선택 사항) : “driving-traffic”, “driving”, “walking”, “cycling”
  • (선택) [T6]]: Two-letter 언어 코드 (예, “zh”, “en”)
  • 반환:
  • 각 장소에 대한 Geocoding 결과
  • 단계, 거리, 기간에 대한 노선 세부 사항
  • 처리 중에 발생하는 모든 오류
  1. [T7]]
  • 좌표 사이의 여행 시간과 거리 매트릭스 계산
  • 입력:
  • coordinates ({latitude: number, 경도: number}[])
  • profile (선택 사항) : “driving”, “walking”, “cycling”
  • annotations (선택 사항) : “현도”, “거리”, “현도, 거리”
  • (선택) [T11]]: 소스 좌표의 인덱스
  • (선택) [T12]]: 대상 좌표의 인덱스

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

README

원문 README의 일부입니다. 원문 보기.

Mapbox MCP Server

MCP Server for the Mapbox API.

Features

  1. mapbox_directions

    • Get directions between coordinates
    • Inputs:
      • coordinates ({latitude: number, longitude: number}[])
      • profile (optional): “driving-traffic”, “driving”, “walking”, “cycling”
    • Returns: route details with steps, distance, duration
  2. mapbox_directions_by_places

    • Get directions between places using their names
    • Inputs:
      • places (string[]): Array of place names
      • profile (optional): “driving-traffic”, “driving”, “walking”, “cycling”
      • language (optional): Two-letter language code (e.g., “zh”, “en”)
    • Returns:
      • Geocoding results for each place
      • Route details with steps, distance, duration
      • Any errors that occurred during processing
  3. mapbox_matrix

    • Calculate travel time and distance matrices between coordinates
    • Inputs:
      • coordinates ({latitude: number, longitude: number}[])
      • profile (optional): “driving”, “walking”, “cycling”
      • annotations (optional): “duration”, “distance”, “duration,distance”
      • sources (optional): Indices of source coordinates
      • destinations (optional): Indices of destination coordinates
    • Returns: Matrix of durations and/or distances between points
  4. mapbox_matrix_by_places

    • Calculate travel time and distance matrices between places using their names
    • Inputs:
      • places (string[]): Array of place names (2-25 places)
      • profile (optional): “driving”, “walking”, “cycling”
      • annotations (optional): “duration”, “distance”, “duration,distance”
      • language (optional): Two-letter language code
      • sources (optional): Indices of source places
      • destinations (optional): Indices of destination places
    • Returns:
      • Geocoding results for each place
      • Matrix of durations and/or distances
      • Any errors that occurred during processing

Search Tools

  1. mapbox_geocoding
    • Search for places and convert addresses into coordinates
    • Inputs:
      • searchText (string): The place or address to search for
      • limit (optional): Maximum number of results (1-10)
      • types (optional): Filter by place types (country, region, place, etc.)
      • language (optional): Two-letter language code
      • fuzzyMatch (optional): Enable/disable fuzzy matching
    • Returns: Detailed location information including coordinates and properties

Claude Desktop Integration

Add this configuration to your Claude Desktop config file (typically located at ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "mapbox-mcp-server": {
      "command": "node",
      "args": ["/absolute/path/to/mapbox-mcp-server/build/index.js"],
      "env": {
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mapbox-mcp-server": { "command": "node", "args": ["/absolute/path/to/mapbox-mcp-server/build/index.js"], "env": { "MAPBOX_ACCESS_TOKEN": "your-api-key" } } } }