Skip to main content

MCP server providing Korea Tourism Organization APIs

Project description

py-mcp-tour

Korea Tourism Organization API integration for Claude using MCP protocol.

Description

This MCP server provides access to Korea Tourism Organization's tourism data API, specifically focusing on related tourist spots information.

Features

  • Get related tourist spots information
  • Get detailed spot information
  • Support for different content types (tourist spots, food, accommodation)
  • National Standard Tourism Data API support

Setup

  1. Get an API key from Data.go.kr
  2. Set environment variable in .env file:
    TOUR_API_KEY=your-api-key
    

Installation

Regular Installation

pip install mcp-tour

Claude Desktop Installation

Using uv (recommended):

uv pip install mcp-tour

uv run python -m mcp_tour.hosts.claude_desktop \
  -e TOUR_API_KEY=your-api-key

Using pip:

pip install mcp-tour

python -m mcp_tour.hosts.claude_desktop \
  -e TOUR_API_KEY=your-api-key

Usage

The server provides the following tools:

get_area_based_list

Get area-based tourist spots information:

Parameters:

  • area_code: Area code for the region
  • signgu_code: Signgu (city/district) code
  • content_type_id (optional): Content type ID (12: Tourist Spots, 39: Restaurants, 32: Accommodation)
  • size: Number of results (max 50)

search_by_keyword

Search tourist spots by keyword:

Parameters:

  • keyword: Search keyword
  • area_code: Area code for the region
  • signgu_code: Signgu (city/district) code
  • content_type_id (optional): Content type ID (12: Tourist Spots, 39: Restaurants, 32: Accommodation)
  • size: Number of results (max 50)

get_standard_tour_list

Get tourist spots information from the National Standard Tourism Data API:

Parameters:

  • page_no (optional): Page number (default: 1)
  • num_of_rows (optional): Number of rows per page (default: 100)
  • tourist_spot_name (optional): Name of the tourist spot to search for
  • address (optional): Address to search for

Development

  1. Clone the repository
  2. Install dependencies:
    uv pip install -e ".[dev]"
    
    or using pip:
    pip install -e ".[dev]"
    
  3. Run tests:
    python -m pytest
    

License

This project is licensed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_tour-0.1.8.tar.gz (44.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_tour-0.1.8-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file mcp_tour-0.1.8.tar.gz.

File metadata

  • Download URL: mcp_tour-0.1.8.tar.gz
  • Upload date:
  • Size: 44.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for mcp_tour-0.1.8.tar.gz
Algorithm Hash digest
SHA256 7997ab5325336a58230d8091374a03d5c03df8a98aa9f382bb50ef7c6518024f
MD5 882272394baf3ebdf98bdcf9d68eca19
BLAKE2b-256 f53c3132cb6a0482675c8d7ed9ff6399d75229d8640c47b320ab0867af81f9ae

See more details on using hashes here.

File details

Details for the file mcp_tour-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: mcp_tour-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for mcp_tour-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6dab45902f8f0cec3742c620065fce9b5cec67979d67c8f57aaeab39986cd52e
MD5 ebc5cc5a91d5eba57b3af61076ba7181
BLAKE2b-256 76abed0a0c9559f35c4076493cb1a422605ea5d482f7f24388293e345c7c6ab1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page