MCP Transportasi Bandara & Pelabuhan
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Transportasi Bandara & Pelabuhancari bandara di Bali"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Transportasi Bandara & Pelabuhan
Dua MCP (Model Context Protocol) server untuk mengakses data bandara dan pelabuhan di Indonesia. Dibangun dengan FastMCP + PostgreSQL.
Quick Start
# 1. Clone & install dependencies
pip install -r requirements.txt
# 2. Copy & isi environment variables
cp .env.example .env
# 3. Jalankan MCP server
python -m source.mcp_bandara --transport=streamable-http --port 5921 # Bandara
python -m source.mcp_pelabuhan --transport=streamable-http --port 5922 # Pelabuhan
# 4. Jalankan unit test
python tests.pyRelated MCP server: BPS MCP Server
Environment Variables
Variable | Default | Deskripsi |
| — | PostgreSQL host |
|
| PostgreSQL port |
| — | Database user |
| — | Database password |
| — | Nama database |
|
| Schema utama (contoh: |
Tools
MCP Bandara (8 tools) — port 5921
Tool | Deskripsi |
| Cari bandara by keyword (nama, IATA, ICAO, lokasi, provinsi) |
| Detail lengkap bandara (OurAirports + Kemenhub) |
| Spesifikasi runway (dimensi, permukaan, lighting) |
| Bandara terdekat dalam radius X km |
| Frekuensi radio navigasi/komunikasi |
| List bandara by nama provinsi (fuzzy) |
| List bandara by tipe (large/medium/small/heliport) |
| Bandara dengan runway > X meter |
MCP Pelabuhan (4 tools) — port 5922
Tool | Deskripsi |
| Cari pelabuhan by keyword (nama, kota, provinsi, tipe) |
| Detail lengkap pelabuhan + koordinat |
| List pelabuhan by |
| Statistik jumlah pelabuhan per provinsi |
Sumber Data
OurAirports:
ourairports_facility_data(683 bandara),ourairports_runways(406 runway),ourairports_nearby(34k nearby),ourairports_radio(213 frekuensi)Kemenhub RI:
daftar_bandara_di_indonesia(636 bandara — data administratif, legal, teknis)BIG:
peta_rupa_bumi_indonesia_pelabuhan_pt(1,025 pelabuhan — geometri, klasifikasi)Kemendagri:
mv_dimension_dukcapil_province_v1_2_no_geom(mapping kode ↔ nama provinsi, 38 rows)
Dokumentasi Lengkap
CLAUDE.md — Arsitektur, detail semua tool, service API, pattern, known issues
skills/EXPLORATION.md — Hasil eksplorasi database (schema, sample, relasi)
tests.py — 70 unit test
Tech Stack
Python 3.13 + FastMCP 3.3.1
asyncpg (PostgreSQL async driver)
Pydantic 2 (input validation)
loguru (logging)
This server cannot be deployed
Maintenance
Related MCP Connectors
Offline global aviation reference: airports, runways, navaids, frequencies from OurAirports.
Airports MCP — wraps AirportGap API (free, no auth required)
Airports, runways and frequencies worldwide, tides, UK road collisions and London transport.
31114 Korean airports flight info + Incheon arrival/departure congestion + facility search.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables flight planning and aviation operations through intelligent airport resolution, great-circle route calculation, and aircraft performance estimation. Supports 28,000+ airports worldwide and 190+ aircraft types for comprehensive flight planning via natural language.12464MIT
- AlicenseBqualityCmaintenanceEnables AI clients to access official Indonesian statistical data from Badan Pusat Statistik (BPS) through natural language queries. It provides over 20 tools for retrieving demographic, economic, and trade data with support for bilingual responses and fuzzy domain matching.3429 npm6MIT
- AlicenseNot gradedqualityBmaintenanceProvides aviation weather data including METAR, TAF, PIREPs, AIRMET/SIGMET, station info, and winds aloft forecasts.33 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables access to a wide range of Indonesian public data and services without requiring accounts or API keys, including weather, earthquakes, addresses, postal codes, news, prayer schedules, Quran, gold prices, and more.MIT