terminal and IDE
Connect Daylog to Claude Code
Use a Daylog personal access token with Claude Code’s native Streamable HTTP transport.
- authentication
- Personal access token
- availability
- Claude Code with MCP support
- 01
Generate a Daylog token
Sign in to Daylog, open API & MCP in the app, create a token labelled Claude Code, and copy it immediately. The full token is shown once.
- 02
Add the remote server
Run the command below. Replace YOUR_DAYLOG_PAT with the token you just copied. Keep the quotes around the Authorization header.
terminalclaude mcp add --transport http daylog https://daylog.aasimahmed.com/api/mcp --header "Authorization: Bearer YOUR_DAYLOG_PAT" - 03
Choose the right scope
Claude Code stores servers locally by default. Add --scope user if you want Daylog available in every project, or --scope project only when your team should share the non-secret server configuration. Never commit the token.
- 04
Inspect the connection
Run claude mcp list, then open Claude Code and use /mcp. Daylog should appear with its six action-based tools.
verify the connection
Ask Claude Code: Use Daylog to read today’s summary. A successful read confirms the endpoint and token are valid.
security
Daylog tools can create, update, and delete your entries. Connect only from a client you trust, review write approvals, and revoke personal access tokens from the app when a device or configuration is no longer in use.