rupiah-mcp
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., "@rupiah-mcpformat 1500000 as rupiah"
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.
rupiah
Indonesian Rupiah toolkit. Format, parse, abbreviate, and convert numbers to Indonesian words (terbilang).
AI-agent ready with MCP (Model Context Protocol) support.
Installation
npm install rupiahRelated MCP server: perplexity-control-mcp
Quick Start
import { format, parse, short, words } from 'rupiah'
// Format as Rupiah
format(1500000) // "Rp 1.500.000"
format(1500000, { dot: ',' }) // "Rp 1,500,000"
format(1500000, { symbol: false }) // "1.500.000"
// Parse Rupiah string
parse("Rp 1.500.000") // 1500000
parse("1.500.000") // 1500000
// Short abbreviation
short(1500000) // "Rp 1,5jt"
short(2500000000) // "Rp 2,5M"
short(1500000000000) // "Rp 1,5T"
// Terbilang (number to Indonesian words)
words(1500000) // "satu juta lima ratus ribu"
words(1234567890) // "satu miliar dua ratus tiga puluh empat juta..."API
format(amount, options?)
Format a number as Indonesian Rupiah.
Option | Type | Default | Description |
| string |
| Thousand separator |
| string |
| Decimal separator |
| boolean |
| Include "Rp" prefix |
| number |
| Decimal places |
parse(text)
Parse a Rupiah string to number. Removes "Rp", spaces, and thousand separators.
short(amount, options?)
Format as short abbreviation (rb, jt, M, T).
Option | Type | Default | Description |
| number |
| Decimal places |
| boolean |
| Include "Rp" prefix |
words(amount)
Convert a number to Indonesian words (terbilang).
MCP (AI Agent Support)
This package includes an MCP server for AI agent integration.
Claude Desktop / Cursor / Any MCP Client
Add to your MCP config:
{
"mcpServers": {
"rupiah": {
"command": "npx",
"args": ["-y", "rupiah-mcp"]
}
}
}Available MCP Tools
Tool | Description | Example |
| Format number as Rupiah |
|
| Parse Rupiah string to number |
|
| Number to Indonesian words |
|
| Short abbreviation |
|
Programmatic MCP Usage
import { server } from 'rupiah/mcp'
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
const transport = new StdioServerTransport()
await server.connect(transport)Related
nik-parser.rb — Indonesian identity toolkit (Ruby)
isbn-toolkit — ISBN toolkit (Ruby, JS, PHP)
awesome-indonesian-dev-tools — Curated list
License
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for progressive tool usage at any scale (see https://klavis.ai)
MCP server for AI dialogue using various LLM models via AceDataCloud
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server to provide AI agents money functionalities via Nostr and Cashu.670 npm17MIT
- FlicenseAqualityDmaintenanceComprehensive MCP server providing full programmatic control over the Perplexity API, including agent, sonar, search, embeddings, key management, and cost estimation tools.14-
- AlicenseAqualityDmaintenanceMCP server for the Monei API that gives AI agents access to wallets, transfers, crypto sends, swaps, offramp, and bill payments through natural language.2418 npmMIT
- FlicenseNot gradedqualityCmaintenanceAn MCP server that exposes 83 utility tools (string, JSON, CSV, list, time, number, XML) to AI agents, auto-generated from the omni-tools source.-