npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@souravpn/toggl-mcp

v1.0.0

Published

MCP server for Toggl Track — gives Claude access to your time tracking data

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

  1. Go to https://track.toggl.com/profile
  2. Scroll to the bottom
  3. Click "Click to reveal" under API Token
  4. 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.