About Bounty Api
Bounty Api is an MCP server that connects AI agents to specialist data APIs, including Singapore property tools. Free endpoints need no wallet; paid requests can be paid automatically in USDC on Base within a configured spending limit.
Key features
- 01Singapore stamp duty calculation
- 02Postal code to district lookup
- 03Rental investment metric calculation
- 04HDB resale prices and transaction search
- 05Automatic USDC payments for paid calls
Use cases
- 01Estimate Singapore property stamp duty
- 02Look up a postal district
- 03Assess rental yield and cash flow
- 04Search HDB resale transactions
MCP support
Connects MCP clients to BountyAPI endpoints through tools for property data and calculations. For paid endpoints, it handles x402 payment requests with USDC on Base and checks each payment against MAX_SPEND_USD.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://bountyapi.com/mcpclaude mcp add --transport http bounty-api https://bountyapi.com/mcp{"mcpServers":{"bounty-api":{"type":"http","url":"https://bountyapi.com/mcp"}}}Open in Cursor{"servers":{"bounty-api":{"type":"http","url":"https://bountyapi.com/mcp"}}}Open in VS Code{"mcpServers":{"bounty-api":{"type":"http","url":"https://bountyapi.com/mcp"}}}{"mcpServers":{"bounty-api":{"serverUrl":"https://bountyapi.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
27| Parameter | Type | Required | Description |
|---|---|---|---|
| price | number | Yes | Property purchase price in SGD, e.g. 1500000 |
| property_type | enum | No | residential | non-residential |
| buyer_profile | enum | No | SC | SPR | FR | entity | developer | trustee |
| property_count | integer | No | Number of residential properties owned including this one |
Details
From the project READMEbountyapi-mcp
MCP server for BountyAPI — specialist data APIs for AI agents with x402 micropayment support.
Connect AI agents (Claude Desktop, Cursor, etc.) to BountyAPI endpoints at https://bountyapi.com. Free endpoints work out of the box. Paid endpoints require a funded wallet — the agent pays automatically per request.
Quick Start
Free tools only (no wallet needed)
{
"mcpServers": {
"bounty": {
"command": "npx",
"args": ["bountyapi-mcp"]
}
}
}
With payment support (paid endpoints auto-pay)
- Create a burner wallet on Base with $2-5 of USDC
- Export the private key
- Configure:
{
"mcpServers": {
"bounty": {
"command": "npx",
"args": ["bountyapi-mcp"],
"env": {
"EVM_PRIVATE_KEY": "0xyour_private_key_here",
"MAX_SPEND_USD": "1.00"
}
}
}
}
Or via CLI:
EVM_PRIVATE_KEY=0x... MAX_SPEND_USD=1.00 npx bountyapi-mcp
Then ask your AI:
"What's the stamp duty for a $1.5M property in Singapore for a Singapore Citizen buying their first home?"
"Search for recent HDB resale transactions in Tampines, 4 ROOM only"
"What's the rental yield on a $1.2M condo renting at $4,200/month?"
How Payments Work
When an agent calls a paid endpoint:
- Server returns
402 Payment Requiredwith payment instructions - MCP server reads the price and checks against
MAX_SPEND_USD - If within limit, it signs a USDC transfer on Base and retries
- Server verifies payment via facilitator and returns data
- Settlement is logged with a Basescan transaction link
The agent never sees the payment — it just gets the data. Cost: ~$0.01 per paid call.
Available Tools
sg_stamp_duty (FREE)
Calculate Singapore property stamp duty (BSD + ABSD).
- Buyer profiles: SC, SPR, FR, entity, developer, trustee
- Returns total duty, effective rate, and tier-by-tier breakdown
- Source: IRAS (iras.gov.sg)
sg_postal_lookup (FREE)
Look up Singapore postal code to district.
- All 28 postal districts with area names
- Returns district number, name, and areas
sg_rental_yield (PAID)
Calculate rental investment metrics.
- Gross yield, net yield, cap rate
- Price-to-rent ratio, monthly cashflow, years to break even
hdb_resale_median (PAID)
Get HDB resale price data by town.
- All 26 HDB towns
- Median prices by flat type (2 ROOM through EXECUTIVE)
- Sampled transaction aggregates from data.gov.sg
hdb_resale_search (PAID)
Search HDB resale transactions with filters.
- Filter by town, flat type, price range
- Returns individual transaction records
Environment Variables
| Variable | Default | Description |
|---|---|---|
EVM_PRIVATE_KEY | (none) | Base wallet private key for automatic payments |
MAX_SPEND_USD | 1.00 | Max USDC to spend per single request |
BOUNTY_API_URL | https://bountyapi.com | API base URL |
Safety
- Never use your main wallet. Create a dedicated burner wallet with only a few dollars of USDC on Base.
- The
MAX_SPEND_USDlimit prevents unexpected charges — each request is checked before payment. - Private keys are never logged or transmitted to the API server. They only sign local payment authorizations.
Development
npm install
npm run build
node dist/index.js
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.