HammerTime — Claude Code MCP server: setup and use
Creates Discord timestamps and handles HammerTime account settings. Use it when an agent needs date conversions, relative-time calculations, or timestamp formats.
claude mcp add --transport http api https://api.hammertime.cyou/mcpWhat HammerTime does
HammerTime exposes the HammerTime commands through an MCP server over Streamable HTTP. The timestamp tools cover at, at12, iso, unix, in, ago, add, subtract, and snowflake; their inputs follow the corresponding command options. Saved account settings supply values such as the timezone and output format.
The same connection can read or update settings, report the active key, and check service health. Authentication requires a HammerTime key in Authorization: Bearer htk_..., created from the account profile page. Each key averages 60 requests per minute across REST and MCP, with a separate burst allowance, so clients should account for the shared limit.
What it helps with
- create a Discord timestamp from a date and timezone
- convert a date to Unix or ISO output
- calculate time before or after an event
- read and update HammerTime account settings
- check API health and the active key
Example prompts for the agent
- Use HammerTime to create a Discord timestamp for 2025-01-15 18:30 in Europe/Moscow.
- Calculate how long ago the supplied date was and return a Discord-ready timestamp.
- Read my HammerTime settings and change the timestamp output format as requested.
How to install HammerTime
Platform CLI: remote server
claude mcp add --transport http api https://api.hammertime.cyou/mcpPlatform CLI: remote server
codex mcp add api --url https://api.hammertime.cyou/mcpConfig file
{
"mcpServers": {
"api": {
"url": "https://api.hammertime.cyou/mcp"
}
}
}Config file
{
"servers": {
"api": {
"type": "http",
"url": "https://api.hammertime.cyou/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http api https://api.hammertime.cyou/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about HammerTime
How do I install HammerTime in Claude Code?
Run claude mcp add --transport http api https://api.hammertime.cyou/mcp, then configure the MCP connection with your HammerTime authorization key.
What does HammerTime do?
It gives an MCP client tools for Discord timestamp generation, date arithmetic, and account settings. It can also return service health and the key in use.
What does HammerTime require for authentication?
Create a key from the HammerTime profile page and send it as Authorization: Bearer htk_.... The MCP endpoint is /mcp.