DEV Community

2x lazymac
2x lazymac

Posted on

Number Formatter API - REST + MCP, Free Tier

Number Formatter API

Format numbers with locale-aware separators, currency symbols, scientific notation, and significant digits. Pure deterministic output.

Quick Start

# Health check
curl https://api.lazy-mac.com/number-format-api/health

# API info
curl https://api.lazy-mac.com/number-format-api
Enter fullscreen mode Exit fullscreen mode

Endpoints

  • {'path': '/format', 'method': 'GET', 'description': 'Format number with options'}
  • {'path': '/currency', 'method': 'GET', 'description': 'Format as currency (USD/EUR/KRW/etc)'}
  • {'path': '/scientific', 'method': 'GET', 'description': 'Scientific notation formatting'}
  • {'path': '/health', 'method': 'GET', 'description': 'Health check'}

Pricing

Plan Price Features
Free $0/mo 100 req/day, core endpoints
Pro $Free/mo Unlimited, all endpoints, MCP

MCP Integration

This API supports the Model Context Protocol (JSON-RPC 2.0):

curl -X POST https://api.lazy-mac.com/number-format-api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
Enter fullscreen mode Exit fullscreen mode

Get Your API Key

Get started on Gumroad — free tier available.


Built by lazymac | All APIs

Top comments (0)