Everhour MCP Server
by Npab19
README.md
<!-- Improved compatibility of back to top link -->
<a id="readme-top"></a>
<!-- PROJECT SHIELDS -->
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[![GHCR][ghcr-shield]][ghcr-url]
<!-- PROJECT LOGO -->
<br />
<div align="center">
<h3 align="center">Everhour MCP Server</h3>
<p align="center">
A production-ready, Dockerized MCP server that connects Claude to the Everhour time tracking API -- manage projects, track time, handle invoices, and generate reports through natural language.
<br />
<a href="https://github.com/npab19/everhour-mcp/issues/new?labels=bug">Report Bug</a>
·
<a href="https://github.com/npab19/everhour-mcp/issues/new?labels=enhancement">Request Feature</a>
</p>
</div>
<!-- TABLE OF CONTENTS -->
<details>
<summary>Table of Contents</summary>
<ol>
<li><a href="#about-the-project">About The Project</a></li>
<li><a href="#built-with">Built With</a></li>
<li><a href="#getting-started">Getting Started</a></li>
<li><a href="#usage">Usage</a></li>
<li><a href="#available-tools">Available Tools</a></li>
<li><a href="#roadmap">Roadmap</a></li>
<li><a href="#contributing">Contributing</a></li>
<li><a href="#license">License</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#acknowledgments">Acknowledgments</a></li>
</ol>
</details>
## About The Project
This MCP (Model Context Protocol) server exposes the Everhour time tracking API as a set of tools that Claude can use directly. It allows you to manage your time tracking workflow entirely through natural conversation:
- Track time, start/stop timers, and manage timecards
- Create and manage projects, tasks, and sections
- Handle clients, invoices, and expenses
- Schedule resources and manage time-off allocations
- Generate reports on projects, clients, and team members
- Manage webhooks for real-time integrations
The server runs as a Docker container behind a Cloudflare Tunnel, requiring no exposed ports or complex networking setup.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## Built With
[![Python][python-shield]][python-url]
[![Docker][docker-shield]][docker-url]
[![Cloudflare][cloudflare-shield]][cloudflare-url]
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## Getting Started
### Prerequisites
- **Docker** and **Docker Compose** installed
- An **Everhour API key** (Settings > Integrations > API in Everhour)
- A **Cloudflare Tunnel token** (from the [Cloudflare Zero Trust dashboard](https://one.dash.cloudflare.com/))
### Installation
1. Clone the repository:
```sh
git clone https://github.com/npab19/everhour-mcp.git
cd everhour-mcp
```
2. Copy the example environment file:
```sh
cp .env.example .env
```
3. Fill in your credentials in `.env`:
```
EVERHOUR_API_KEY=your_everhour_api_key
MCP_BEARER_TOKEN=<generate with command below>
Cloudflare_Token=your_cloudflare_tunnel_token
```
Generate a secure MCP bearer token:
```sh
python3 -c "import secrets; print(secrets.token_urlsafe(32))"
```
4. Start the services:
```sh
docker compose up -d
```
> **Tip:** You can also use the pre-built image from GitHub Container Registry instead of building locally. Replace the `build: .` line in `docker-compose.yml` with `image: ghcr.io/npab19/everhour-mcp:latest`.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## Usage
### Claude.ai Web Connectors
Add a new MCP connector in Claude.ai with the URL:
```
https://<your-tunnel-url>/mcp?api_key=<MCP_BEARER_TOKEN>
```
This syncs across all your devices automatically.
### Claude Desktop
Add the following to your `claude_desktop_config.json`:
```json
{
"mcpServers": {
"everhour": {
"type": "http",
"url": "https://<your-tunnel-url>/mcp",
"headers": {
"Authorization": "Bearer <MCP_BEARER_TOKEN>"
}
}
}
}
```
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## Available Tools
| Category | Tools | Description |
|---|---|---|
| **Clients** | `list_clients`, `get_client`, `create_client`, `update_client`, `update_client_budget`, `delete_client_budget` | Manage clients and their budgets |
| **Invoices** | `list_invoices`, `get_invoice`, `create_invoice`, `update_invoice`, `refresh_invoice`, `set_invoice_status`, `export_invoice`, `delete_invoice` | Create, manage, and export invoices |
| **Expenses** | `list_expenses`, `create_expense`, `update_expense`, `delete_expense`, `list_expense_categories`, `create_expense_category`, `update_expense_category`, `delete_expense_category` | Track expenses and manage categories |
| **Attachments** | `create_attachment`, `add_attachment_to_expense`, `download_attachment`, `delete_attachment` | Upload and manage file attachments |
| **Schedule** | `list_assignments`, `create_assignment`, `update_assignment`, `delete_assignment` | Resource planner assignments |
| **Time Off** | `list_time_off_types`, `create_time_off_type`, `update_time_off_type`, `delete_time_off_type`, `list_allocations`, `create_allocation`, `update_allocation`, `delete_allocation` | Manage time-off types and allocations |
| **Projects** | `list_projects`, `get_project`, `create_project`, `update_project`, `archive_project`, `update_project_billing`, `delete_project`, `sync_project`, `list_project_sections`, `get_section`, `create_section`, `update_section`, `delete_section` | Full project and section management |
| **Tasks** | `list_project_tasks`, `get_task`, `search_tasks`, `create_task`, `update_task`, `delete_task`, `update_task_estimate`, `delete_task_estimate` | Task CRUD and time estimates |
| **Custom Fields** | `list_project_fields`, `create_field`, `update_field`, `delete_field`, `reorder_fields` | Manage project custom fields |
| **Time Records** | `list_team_time`, `list_user_time`, `list_task_time`, `list_project_time`, `add_time`, `update_time`, `delete_time` | Log and query time entries |
| **Timers** | `start_timer`, `get_running_timer`, `list_team_timers`, `stop_timer` | Real-time timer management |
| **Timecards** | `get_timecard`, `list_user_timecards`, `list_all_timecards`, `clock_in`, `clock_out`, `update_timecard`, `delete_timecard` | Clock in/out and timecard management |
| **Timesheets** | `list_user_timesheets`, `list_team_timesheets`, `request_timesheet_approval`, `discard_timesheet_approval`, `approve_or_reject_timesheet` | Timesheet approval workflows |
| **Reports** | `get_projects_report`, `get_clients_report`, `get_users_report` | Dashboard reports and summaries |
| **Users** | `get_current_user`, `list_team_users` | User and team information |
| **Webhooks** | `get_webhook`, `create_webhook`, `update_webhook`, `delete_webhook` | Webhook management |
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## Roadmap
- [x] Full Everhour API coverage (16 resource groups, 80+ tools)
- [x] Bearer token authentication middleware
- [x] Cloudflare Tunnel integration
- [x] GitHub Actions CI/CD for GHCR publishing
- [x] Rate limit handling with Retry-After
- [ ] OAuth 2.1 support for Claude.ai native auth
- [ ] Caching layer for frequently accessed data
- [ ] Batch operations for bulk time entry
See the [open issues](https://github.com/npab19/everhour-mcp/issues) for a full list of proposed features and known issues.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## Contributing
Contributions are welcome. To contribute:
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/amazing-feature`)
3. Commit your Changes (`git commit -m 'Add amazing feature'`)
4. Push to the Branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## License
Distributed under the MIT License. See `LICENSE` for more information.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## Contact
Project Link: [https://github.com/npab19/everhour-mcp](https://github.com/npab19/everhour-mcp)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## Acknowledgments
- [Everhour API Documentation](https://everhour.docs.apiary.io/)
- [Model Context Protocol (MCP)](https://modelcontextprotocol.io/)
- [Cloudflare Tunnels](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/)
- [Img Shields](https://shields.io)
- [Best-README-Template](https://github.com/othneildrew/Best-README-Template)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- MARKDOWN LINKS & IMAGES -->
[contributors-shield]: https://img.shields.io/github/contributors/npab19/everhour-mcp.svg?style=for-the-badge
[contributors-url]: https://github.com/npab19/everhour-mcp/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/npab19/everhour-mcp.svg?style=for-the-badge
[forks-url]: https://github.com/npab19/everhour-mcp/network/members
[stars-shield]: https://img.shields.io/github/stars/npab19/everhour-mcp.svg?style=for-the-badge
[stars-url]: https://github.com/npab19/everhour-mcp/stargazers
[issues-shield]: https://img.shields.io/github/issues/npab19/everhour-mcp.svg?style=for-the-badge
[issues-url]: https://github.com/npab19/everhour-mcp/issues
[license-shield]: https://img.shields.io/github/license/npab19/everhour-mcp.svg?style=for-the-badge
[license-url]: https://github.com/npab19/everhour-mcp/blob/master/LICENSE
[ghcr-shield]: https://img.shields.io/badge/GHCR-published-blue?style=for-the-badge&logo=github
[ghcr-url]: https://github.com/npab19/everhour-mcp/pkgs/container/everhour-mcp
[python-shield]: https://img.shields.io/badge/Python-3.12-3776AB?style=for-the-badge&logo=python&logoColor=white
[python-url]: https://www.python.org/
[docker-shield]: https://img.shields.io/badge/Docker-Containerized-2496ED?style=for-the-badge&logo=docker&logoColor=white
[docker-url]: https://www.docker.com/
[cloudflare-shield]: https://img.shields.io/badge/Cloudflare-Tunnel-F38020?style=for-the-badge&logo=cloudflare&logoColor=white
[cloudflare-url]: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues