What is Thousand API
Thousand API is a utility MCP server for AI agents. It provides tools that solve tasks AI can only handle vaguely through reasoning—reliably and quickly.
Key features:
- Connect directly as an MCP server (Claude and Cursor supported)
- Also available as a REST API
- Real-time data, reliable calculations, and side-effect handling
- Deterministic datetime math—timezones, holidays, business days, and cron next-run times
- JSON Schema validation and optional syntax repair for agent-generated JSON
- Text statistics and estimated reading time (Japanese and English)
- URL redirect resolution for short links and affiliate URLs
Create an account
- Enter your email and password on the Sign up page
- Your account is created and you are redirected to the dashboard
- Start immediately on the free plan
Issue an API key
- Go to the Dashboard
- Click "Issue API key"
- Enter a key name (e.g. "Cursor" or "Production")
- Copy the issued API key (plaintext is shown only on this screen)
Tool ON/OFF settings
From MCP Tool Settings on the dashboard, you can turn tools on or off by category or individually.
Disabling unused tools reduces the token cost of tool definitions sent to MCP clients.
Example: narrowing from all 55 tools to 20 can cut tool-definition tokens by about 64%.
Optimize Tokens by Filtering Tools
MCP clients load every tool definition at connect time, so token usage scales with the number of enabled tools.
Filtering tools to match your workflow can significantly cut the token cost of tool definitions.
Tool count vs. token usage (estimate)
| Enabled tools | Tool-definition tokens (est.) |
|---|---|
| 56 tools (all) | ~7,000 tokens |
| 20 tools | ~2,500 tokens |
| 10 tools | ~1,200 tokens |
Recommended presets by use case
🗓 Date & schedule management
Recommended categories: Date & calendar
datetime.get_holidays / datetime.is_holiday / datetime.add_business_days / datetime.get_current_datetime / datetime.check_business_hours
Use cases: business-day math, holiday checks, schedule adjustments
🔐 Security & developer tools
Recommended categories: Security & auth + Data processing
security.generate_hmac / security.generate_uuid / security.decode_jwt / data.validate_json / data.merge_json / utility.compare_versions
Use cases: webhook verification, JWT parsing, API response handling
📝 Document & text processing
Recommended categories: Text & strings + Format conversion
text.extract_text_from_html / text.diff_text / text.generate_slug / convert.markdown / convert.base64
Use cases: scraping, document generation, content conversion
🌐 Data collection & research
Recommended categories: Network & infrastructure
network.get_page_meta / network.get_exchange_rate / network.lookup_postal_code / network.dns_lookup / network.get_ip_info
Use cases: web research, address lookup, exchange-rate calculations
From MCP Tool Settings on the dashboard, toggle tools on or off by category or individually.
Claude Desktop
Add the following to claude_desktop_config.json.
Config file locations:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"thousand-api": {
"url": "https://mcp.thousand-api.com/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}Cursor
Add the following in Cursor settings (Settings > MCP).
{
"mcpServers": {
"thousand-api": {
"url": "https://mcp.thousand-api.com/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}Other MCP clients
Any MCP client that supports Streamable HTTP transport can connect.
- URL: https://mcp.thousand-api.com/mcp
- Auth: set your API key in the x-api-key header
Authentication
All API requests require the x-api-key header.
curl https://api.thousand-api.com/v1/calendar/holidays \
-H "x-api-key: YOUR_API_KEY"Response codes:
| Code | Description |
|---|---|
| 200 | Success |
| 401 | Invalid or missing API key |
| 422 | Validation error |
| 429 | Rate limit exceeded |
| 500 | Server error |
Error codes
Error responses use the following format.
{
"error": "VALIDATION_ERROR",
"message": "country must be one of: JP, US"
}Error code list:
| Code | Description |
|---|---|
| VALIDATION_ERROR | Invalid request parameters |
| NOT_FOUND | Resource not found |
| INTERNAL_ERROR | Internal server error |