Indonesia Financial Data MCP
Citation-first MCP server for official Indonesian financial data from IDX, BPS, and KSEI, providing tools to access company profiles, financial reports, statistical tables, and investor demographics.
README
Indonesia Financial Data MCP
Citation-first MCP server for official Indonesian financial data. It does not use Yahoo Finance or yfinance.
v0.1 official sources
| Provider | Coverage | Access |
|---|---|---|
| IDX | Issuer directory, detailed company profile, management/shareholders, announcements, financial-report attachments (XLSX/PDF/XBRL) | Public web endpoints; session cookie initialized automatically |
| BPS | Subjects, variables, dynamic statistical tables | Official WebAPI; requires free BPS_API_KEY |
| KSEI | SID growth and investor demographics | Public JSON endpoints |
Every successful response has:
{
"data": {},
"provenance": [
{
"provider": "IDX",
"source_url": "https://www.idx.co.id/...",
"retrieved_at": "2026-07-16T00:00:00+00:00",
"official": true,
"source_format": "json"
}
],
"warnings": [],
"meta": {}
}
Credential values are redacted from provenance URLs.
Tools
idx_list_companiesidx_company_profileidx_company_announcementsidx_financial_reportsbps_list_subjectsbps_list_variablesbps_get_dataksei_sid_growthksei_investor_demographicssource_health
See docs/SOURCES.md for source contracts and boundaries,
and docs/HERMES.md for Hermes registration and live checks.
Install
python3 -m venv .venv
.venv/bin/pip install -e '.[dev]'
Optional BPS setup:
- Create a key at https://webapi.bps.go.id/developer/.
- Export it as
BPS_API_KEYor configure it in the MCP client's scoped environment.
Run over stdio:
.venv/bin/python -m indonesia_data_mcp.server
Hermes registration (run from the repository root):
hermes mcp add indonesia-official \
--command "$PWD/.venv/bin/python" \
--args -m indonesia_data_mcp.server
If BPS is enabled, add BPS_API_KEY to Hermes's secret environment rather than Markdown or command history.
Development
.venv/bin/pytest -q
Tests use fixtures/mock transports. Live smoke tests are separate so upstream availability cannot make the deterministic suite flaky.
Scope and limitations
- IDX's public endpoints are protected by Cloudflare. The client establishes a
normal IDX session and uses conservative pacing. If ordinary HTTP TLS is
rejected, it retries with browser-compatible TLS via
curl_cffi; it does not solve or bypass CAPTCHAs. - This MCP returns official source records and attachments. Parsing financial-statement XLSX/XBRL/PDF into normalized line items is the next layer, not fabricated in v0.1.
- OJK's public data portal and Bank Indonesia sources were investigated. Their browser-facing services require additional contract discovery and reliability work, so they are not falsely advertised as production-ready tools in v0.1.
- Market-price data is not included: official IDX real-time/delayed market data is a licensed data product.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.