io.github.nexus-api-lab/codebook-mcp
Official4 toolsExact reference codes for AI agents: countries, currencies with minor units, HTTP status, MIME.
Provides reference data for countries, currencies, HTTP status codes, and MIME types.
Captured live from the server via tools/list.
country_info
Look up a country by ISO 3166-1 alpha-2 or alpha-3 code. Returns both codes, English name, and the primary ISO 4217 currency. Use instead of recalling codes from memory.
Parameters (1)
- codestringrequired
Alpha-2 ("JP") or alpha-3 ("JPN") country code, case-insensitive.
currency_info
Look up an ISO 4217 currency: name and minor units (decimal places). Critical for payment APIs — e.g. JPY has 0 minor units (¥500 is amount=500, NOT 50000), KWD has 3.
Parameters (1)
- codestringrequired
ISO 4217 code, e.g. "JPY", "USD", case-insensitive.
http_status
Look up the official reason phrase for an HTTP status code, or list all codes in a class (e.g. 4xx). Use instead of recalling status semantics from memory.
Parameters (1)
- codeintegerrequired
Status code (e.g. 422), or a class number 1-5 to list that whole class (e.g. 4 → all 4xx).
mime_type
Look up the MIME type for a file extension, or find extensions for a MIME type. Use instead of guessing Content-Type values.
Parameters (1)
- querystringrequired
A file extension ("xlsx", ".pdf") or a MIME type ("application/json").
README not available yet.
Install
claude_desktop_config.json
{
"mcpServers": {
"codebook-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://codebook-mcp.dokasukadon.workers.dev/mcp"
]
}
}
}Desktop config is stdio-only; this bridges via mcp-remote. Native remote: Settings > Connectors.