toggl-mcp
Enables Claude to interact with Toggl Track for time tracking, including starting/stopping timers, viewing current entries, and summarizing time by project via natural language.
README
toggl-mcp
A Model Context Protocol (MCP) server that gives Claude access to your Toggl Track time tracking data.
Ask Claude things like:
- "What am I tracking right now?"
- "How much time did I spend on each project this week?"
- "Start a timer for writing documentation on the Blog project"
- "Stop my timer"
- "What did I work on yesterday?"
Tools
| Tool | What it does |
|---|---|
get_current_timer |
Shows the currently running time entry |
get_recent_entries |
Time entries for the past N days (default 7) |
get_projects |
Lists all your projects |
get_summary |
Total time by project for a date range |
start_timer |
Starts a new time entry |
stop_timer |
Stops the current timer |
get_profile |
Your Toggl profile and workspaces |
Setup
1. Get your API token
- Go to https://track.toggl.com/profile
- Scroll to the bottom
- Click "Click to reveal" under API Token
- Copy the token
2. Install
npm install -g toggl-mcp
Find the installed path:
which toggl-mcp
3. Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"toggl": {
"command": "/path/from/which/toggl-mcp",
"env": {
"TOGGL_API_TOKEN": "your_token_here"
}
}
}
}
Or if running from source:
{
"mcpServers": {
"toggl": {
"command": "node",
"args": ["/path/to/toggl-mcp/dist/index.js"],
"env": {
"TOGGL_API_TOKEN": "your_token_here"
}
}
}
}
Restart Claude Desktop. You should see a green "running" badge in Settings → Developer.
4. Test it
What am I currently tracking in Toggl?
Example queries
Daily check-in:
What have I tracked today in Toggl?
Weekly review:
Give me a summary of how I spent my time this week by project
Start tracking:
Start a Toggl timer for "reviewing PRs" on my Engineering project
Stop and summarize:
Stop my timer and tell me how long I worked
Productivity analysis:
How much time did I track last week vs the week before?
Which project took the most time?
Development
git clone https://github.com/yourusername/toggl-mcp
cd toggl-mcp
npm install
npm run build
# Test locally
TOGGL_API_TOKEN=your_token node dist/index.js
Project structure
toggl-mcp/
├── src/
│ ├── index.ts # MCP server + tool definitions
│ └── toggl.ts # Toggl API v9 client + formatters
├── package.json
├── tsconfig.json
└── README.md
Rate limits
Toggl's free plan allows 30 requests/hour per workspace. This MCP server batches calls where possible (e.g. fetching projects and entries in parallel) to stay well within limits for normal use.
Contributing
PRs welcome. Ideas for extension:
- Tags management
- Client listing
- Detailed reports (daily breakdown)
- Time entry editing
License
MIT
Acknowledgements
Built with the MCP TypeScript SDK and the Toggl Track API v9.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.