# Connect Claude Code to PineBill

> Add PineBill to Claude Code with one command to track time and bill clients from your terminal.

Claude Code is Anthropic's agentic coding tool for the terminal. PineBill's MCP server lets Claude Code work with your PineBill invoices, estimates, customers, products, expenses, projects, tasks, timers, calendar and reports.

Server URL: https://www.pinebill.app/api/mcp (remote MCP over Streamable HTTP, OAuth 2.1 sign-in, no API key).

## Setup

1. Run the command below in your terminal.
2. Start claude and type /mcp, then choose PineBill to sign in.
3. Choose your access and click Allow access.

Terminal:

```
claude mcp add --transport http --scope user pinebill https://www.pinebill.app/api/mcp
```

## Try asking

- “Start the timer on the bug-fix task for Acme.”
- “Create a task for the migration in the Acme project, due Friday.”
- “How many hours have I tracked on Acme this month?”

## Access and cost

- You choose view only or view and edit on the PineBill consent screen when you sign in.
- Claude Code acts as you: your PineBill role and plan limits still apply, and Guests are always view only.
- Disconnect Claude Code at any time in Settings → Connect MCPs; it loses access on its next request.
- Working through MCP doesn't use PineBill AI credits.

## Other apps

- [Claude](https://www.pinebill.app/features/mcp/claude) — Markdown at https://www.pinebill.app/features/mcp/claude.md
- [ChatGPT](https://www.pinebill.app/features/mcp/chatgpt) — Markdown at https://www.pinebill.app/features/mcp/chatgpt.md
- [Cursor](https://www.pinebill.app/features/mcp/cursor) — Markdown at https://www.pinebill.app/features/mcp/cursor.md
- [VS Code](https://www.pinebill.app/features/mcp/vs-code) — Markdown at https://www.pinebill.app/features/mcp/vs-code.md
- [Codex](https://www.pinebill.app/features/mcp/codex) — Markdown at https://www.pinebill.app/features/mcp/codex.md

## Links

- [Claude Code setup page](https://www.pinebill.app/features/mcp/claude-code): this page.
- [Full Claude Code guide](https://www.pinebill.app/docs/mcp/developer-tools#claude-code): step-by-step documentation.
- [MCP Server](https://www.pinebill.app/features/mcp): what the MCP server does. Markdown at https://www.pinebill.app/features/mcp.md.
- [Available tools](https://www.pinebill.app/docs/mcp/available-tools): every tool and its access level.
- [Sign up](https://www.pinebill.app/auth/signup): start a 7-day free trial, no credit card required.
