BPS MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BPS_API_KEY | Yes | API key dari webapi.bps.go.id | |
| BPS_LOG_LEVEL | No | Level log: debug/info/warn/error | info |
| BPS_API_BASE_URL | No | Base URL API | https://webapi.bps.go.id/v1 |
| BPS_DEFAULT_LANG | No | Bahasa default: ind / eng | ind |
| BPS_CACHE_ENABLED | No | Aktifkan cache | true |
| BPS_DEFAULT_DOMAIN | No | Domain default (0000 = Nasional) | 0000 |
| BPS_CACHE_MAX_ENTRIES | No | Maks entri cache | 500 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_domainsA | Daftar domain/wilayah BPS (provinsi, kabupaten/kota). Gunakan type='prov' untuk provinsi, 'kab' untuk semua kabupaten, 'kabbyprov' untuk kabupaten per provinsi. |
| resolve_domainA | Konversi nama wilayah ke kode domain BPS. Mendukung nama resmi, singkatan (Jatim, Jabar, Jogja), dan fuzzy matching. |
| list_subjectsB | Daftar subjek data statistik yang tersedia di BPS untuk domain tertentu. Subjek adalah kategori utama data (misal: Kependudukan, Kemiskinan, Perdagangan). |
| list_subject_categoriesB | Daftar kategori subjek statistik BPS. Kategori mengelompokkan subjek-subjek terkait. |
| list_variablesC | Daftar variabel data di tabel dinamis BPS. Variabel menentukan data spesifik yang bisa diambil (misal: Jumlah Penduduk, Angka Kemiskinan). |
| list_vertical_variablesC | Daftar variabel vertikal (breakdown/disaggregasi) untuk variabel tertentu. Contoh: jenis kelamin, kelompok umur. |
| list_derived_variablesC | Daftar turunan variabel (derived/aggregated categories). Contoh: total, rata-rata. |
| list_periodsC | Daftar periode data yang tersedia untuk variabel tertentu. Periode bisa berupa tahun, semester, triwulan, atau bulan. |
| list_derived_periodsC | Daftar turunan periode untuk variabel tertentu. |
| list_unitsC | Daftar satuan data yang digunakan di domain tertentu. Contoh: Jiwa, Persen, Rupiah. |
| get_dynamic_dataB | Ambil data dari tabel dinamis BPS. Ini adalah tool utama untuk mendapatkan data statistik. Gunakan list_variables untuk menemukan ID variabel, dan list_periods untuk menemukan kode periode. |
| list_static_tablesC | Daftar tabel statis BPS. Tabel statis berisi data yang sudah di-format dalam bentuk tabel HTML. |
| get_static_tableB | Ambil detail satu tabel statis BPS (termasuk konten tabel dalam format HTML). |
| list_press_releasesC | Daftar Berita Resmi Statistik (BRS) dari BPS. BRS berisi rilis data resmi terbaru. |
| get_press_releaseC | Ambil detail satu Berita Resmi Statistik (BRS) dari BPS. |
| list_publicationsC | Daftar publikasi BPS. Publikasi berisi analisis mendalam dan laporan statistik. |
| get_publicationC | Ambil detail satu publikasi BPS. |
| list_strategic_indicatorsC | Daftar indikator strategis BPS. Indikator ini mencakup data-data utama seperti pertumbuhan ekonomi, inflasi, pengangguran, dan kemiskinan. |
| get_trade_dataC | Ambil data perdagangan luar negeri (ekspor/impor) berdasarkan kode HS. Data mencakup nilai dan volume perdagangan Indonesia. |
| list_infographicsC | Daftar infografis dari BPS. Infografis berisi visualisasi data statistik yang mudah dipahami. |
| get_infographicC | Ambil detail satu infografis BPS termasuk deskripsi lengkap dan link download. |
| list_census_eventsB | Daftar kegiatan sensus BPS (Sensus Penduduk, Sensus Ekonomi, Sensus Pertanian, dll). Gunakan ID kegiatan untuk mengambil topik dan data sensus. |
| list_census_topicsA | Daftar topik data yang tersedia untuk kegiatan sensus tertentu. Gunakan list_census_events untuk mendapatkan ID kegiatan. |
| list_csa_categoriesC | Daftar kategori CSA (Classification of Statistical Activities) BPS. CSA adalah klasifikasi aktivitas statistik internasional. |
| list_csa_subjectsC | Daftar subjek CSA untuk domain dan kategori tertentu. |
| list_csa_tablesC | Daftar tabel CSA untuk domain dan subjek tertentu. |
| get_csa_tableC | Ambil detail satu tabel CSA (termasuk konten tabel dalam format HTML). |
| list_newsC | Daftar berita dari website BPS. Berbeda dengan BRS (Berita Resmi Statistik), ini adalah berita umum BPS. |
| get_newsC | Ambil detail satu berita dari website BPS. |
| list_glossaryC | Cari istilah di glosarium statistik BPS. Berguna untuk memahami definisi dan pengertian indikator statistik. |
| searchB | Pencarian data lintas tipe di BPS. Mencari via WebAPI (tabel statis, publikasi, BRS, indikator). Jika WebAPI tidak menemukan hasil, otomatis fallback ke AllStats Search Engine untuk hasil yang lebih luas. |
| allstats_searchA | Pencarian konten BPS melalui AllStats Search Engine (publikasi, tabel, BRS, infografis, data mikro, glosarium, klasifikasi). Berguna untuk discovery, mencari publikasi, atau sebagai alternatif/fallback dari WebAPI search. Tidak memerlukan API key. |
| allstats_deep_searchA | Full-text search di dalam isi PDF publikasi BPS. Mengembalikan halaman yang cocok beserta cuplikan teks. Dapatkan publication_id dari hasil allstats_search (field deep_search_id). Fitur unik — tidak tersedia di WebAPI. Tidak memerlukan API key. |
| cache_clearB | Bersihkan cache data BPS. Berguna jika ingin memastikan data terbaru diambil langsung dari API. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| compare_regions | Template untuk membandingkan data statistik antar wilayah |
| trend_analysis | Template untuk analisis tren data statistik multi-tahun |
| poverty_profile | Template profil kemiskinan suatu daerah |
| economic_overview | Template ringkasan ekonomi daerah |
| population_stats | Template statistik kependudukan |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| provinces | Daftar seluruh provinsi di Indonesia beserta kode domain BPS |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/setiapam/bps-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server