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

costlocker-mcp

v1.0.5

Published

Costlocker integration via Model Context Protocol (MCP) for AI-powered project management

Readme

costlocker-mcp

MCP server for Costlocker — your project management and time tracking tool. Connect your AI assistant to Costlocker and work with projects, budgets, timesheets, and more through natural language.

Quick start

1. Get your API token from Costlocker

Only the account Owner can create API tokens. See the step-by-step guide with screenshots.

  1. Log in to Costlocker
  2. Click your name in the top-right corner and select Settings
  3. Go to the API tab (or go directly to new.costlocker.com/settings/api)
  4. Copy your personal access token (click "Zkopírovat do schránky" or "Regenerate token" if you don't have one yet)

2. Configure your MCP client

Add the costlocker server to your MCP client configuration. Example for desktop apps:

  • macOS config: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows config: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "costlocker": {
      "command": "npx",
      "args": ["-y", "costlocker-mcp"],
      "env": {
        "COSTLOCKER_API_TOKEN": "your-api-token"
      }
    }
  }
}

Replace your-api-token with the token from step 1.

3. Restart your MCP client

That's it. Your AI assistant now has access to your Costlocker data. Try asking:

  • "Show me all running projects"
  • "How many hours did I log this week?"
  • "What's the budget status of project X?"

What can it do?

| Category | Tools | Description | |---|---|---| | Projects | list_projects, get_project, search_projects | Browse and search projects | | | create_project, update_project | Create or update projects (with confirmation) | | Timesheets | log_time | Log time entries (with confirmation) | | | get_timesheet, get_monthly_timesheet | View timesheet data | | | get_running_entry, get_assignments | Check running timer and available assignments | | People | list_people, get_me, get_project_people | View team members and assignments | | Finance | get_project_budget, get_project_billing, get_project_expenses | View budgets, billing, and expenses | | Lookup | list_clients, list_activities, list_tags, list_groups | Browse reference data |

All tool names are prefixed with costlocker_ (e.g. costlocker_list_projects).

Security

  • Write operations (create_project, update_project, log_time) require user confirmation — the AI will always ask before making changes
  • Input validation on all write operations (Zod schemas)
  • Access control is handled by your personal API token — you only see data your Costlocker role allows
  • Credential check on startup via /me endpoint — invalid tokens fail immediately
  • Error sanitization — API error responses are truncated to prevent leaking sensitive data

Configuration

| Environment variable | Required | Description | |---|---|---| | COSTLOCKER_API_TOKEN | Yes | Personal access token from Costlocker API settings | | COSTLOCKER_HOST | No | API host (default: https://rest.costlocker.com) |

License

MIT