io.github.souravpn/toggl-mcp

Registre officiel IA et agents

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

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package @souravpn/toggl-mcp
Claude Code
claude mcp add toggl-mcp -e 'TOGGL_API_TOKEN=<your toggl_api_token>' -- npx -y @souravpn/toggl-mcp@1.0.0
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "toggl-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@souravpn/toggl-mcp@1.0.0"
            ],
            "env": {
                "TOGGL_API_TOKEN": "<your toggl_api_token>"
            }
        }
    }
}

Variables d'environnement

  • TOGGL_API_TOKEN obligatoire secret Your Toggl Track API token. Get it from https://track.toggl.com/profile — scroll to the bottom and click 'Click to reveal'

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. toggl-mcp
  2. Tools
  3. Setup
  4. Example queries
  5. Development
  6. Rate limits
  7. Contributing
  8. License
  9. Acknowledgements

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

ToolWhat it does
get_current_timerShows the currently running time entry
get_recent_entriesTime entries for the past N days (default 7)
get_projectsLists all your projects
get_summaryTotal time by project for a date range
start_timerStarts a new time entry
stop_timerStops the current timer
get_profileYour 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.

Questions fréquentes

Qu'est-ce que io.github.souravpn/toggl-mcp ?

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

Comment installer io.github.souravpn/toggl-mcp ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add toggl-mcp -e 'TOGGL_API_TOKEN=<your toggl_api_token>' -- npx -y @souravpn/toggl-mcp@1.0.0. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.souravpn/toggl-mcp ?

Oui. Il attend TOGGL_API_TOKEN, à renseigner dans sa configuration.

io.github.souravpn/toggl-mcp est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient io.github.souravpn/toggl-mcp ?

Il est publié par souravpn. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.