Repository avatar
Other Tools
v1.0.0
active

yourtradebase

dev.cotlet/yourtradebase

YourTradebase API integration and MCP server: quotes, jobs, invoices and payments for trades.

Documentation

YourTradebase API integration and MCP server: connect YourTradebase to ChatGPT, Claude and any AI agent

YourTradebase API integration and MCP server by Cotlet.dev: yes, Claude, ChatGPT and other AI agents can work in your YourTradebase account. YourTradebase has no public API and no official MCP server; it connects to QuickBooks and Xero and exports to CSV. Cotlet.dev connects your own signed-in YourTradebase account to any AI agent, so you ask in plain words and the AI sends quotes and chases invoices for you.

What you can ask

List invoices more than 14 days overdue and draft a polite reminder for each. Send nothing yet.

Which quotes did customers open but not accept? Draft a follow-up for each.

Turn these site notes into a draft quote from my price list. Do not send it.

List jobs marked done this week that have no invoice yet.

Which invoices and payments from this month are not in Xero yet?

What tradespeople ask their AI to do in YourTradebase

From tradespeople' posts on Reddit, Facebook groups, review sites and the YourTradebase help center (checked 25 Nov 2026).

JobAsk your AIMake it repeat
Chase overdue invoices"List invoices more than 14 days overdue and draft a polite reminder for each. Send nothing yet."Weekly
Follow up read quotes"Which quotes did customers open but not accept? Draft a follow-up for each."Weekly
Quote from site notes"Turn these notes into a draft quote from my price list for the Smith bathroom. Do not send it."After a site visit
Invoice finished jobs"List jobs marked done this week that have no invoice yet."Weekly
Check the Xero or QuickBooks sync"List this month's invoices and payments that are not in Xero yet."Monthly
Import a price list"Add the prices from this supplier CSV to my materials and labour rates after my OK."When prices change

Your AI asks you before it sends, buys, replies or changes anything. Payments stay in your hands.

YourTradebase API

YourTradebase has no API or webhooks; it syncs with QuickBooks or Xero and exports CSV by hand (checked 25 Nov 2026). With Cotlet.dev you build your own YourTradebase API: show your AI agent a job once in your signed-in YourTradebase account, save it as an endpoint and call it from n8n, Make, Zapier or your own code. How it works: https://cotlet.dev/integrations/api/yourtradebase

Endpoints you can build in a few minutes (none of them exists until you build it):

  • overdue-invoices: Invoice, customer, total and days overdue
  • quotes-not-accepted: Quotes read but not accepted, oldest first
  • job-balances: Balance still owed on each live job
  • week-schedule: Job, customer and team member for each day
  • jobs-without-invoice: Jobs marked done that have no invoice yet
  • draft-quote: A draft quote from your price list, not sent

Call one with your Cotlet API key: POST https://cotlet.dev/api/v1/custom/overdue-invoices. One call runs up to 90 seconds, writes wait for your OK, payments are blocked.

Connect in 2 minutes

Get your API key at https://cotlet.dev/app and export it as COTLET_API_KEY.

Claude Code

claude mcp add --transport http cotlet https://cotlet.dev/mcp/v1 --header "Authorization: Bearer $COTLET_API_KEY"

ChatGPT

Settings → Apps → add connector URL https://cotlet.dev/mcp/v1, then sign in with Cotlet.dev. No API key needed.

Cursor

Copy .cursor/mcp.json from this repo into your project:

{
  "mcpServers": {
    "cotlet": {
      "url": "https://cotlet.dev/mcp/v1",
      "headers": {
        "Authorization": "Bearer ${COTLET_API_KEY}"
      }
    }
  }
}

Run it locally (stdio)

This repo is a real MCP server. It speaks MCP over stdio, lists its YourTradebase tools without any key, and forwards every tool call to the hosted Cotlet.dev server. The hosted URL above stays the recommended way. Use this when your client only starts local servers.

{"mcpServers":{"yourtradebase":{"command":"uvx","args":["yourtradebase-mcp"],"env":{"COTLET_API_KEY":"your-key"}}}}

Or with Docker:

docker build -t yourtradebase-mcp .
docker run -i --rm -e COTLET_API_KEY yourtradebase-mcp

Tools: yourtradebase_guide, yourtradebase_status, yourtradebase_open, yourtradebase_read, yourtradebase_click, yourtradebase_type, yourtradebase_close. Without COTLET_API_KEY a tool call answers: "Set COTLET_API_KEY. Get a key at https://cotlet.dev/app".

Command line

Python 3.10+, nothing else to install. From PyPI:

pip install yourtradebase-mcp        # or run it once: uvx yourtradebase-mcp connect
yourtradebase-mcp connect

Or straight from this repo:

export COTLET_API_KEY="your-key"
python3 yourtradebase_agent.py connect   # ready config for Claude Code, Cursor, ChatGPT
python3 yourtradebase_agent.py status    # is YourTradebase ready in your Cotlet.dev account
python3 yourtradebase_agent.py guide     # YourTradebase screens and sign-in link
python3 yourtradebase_agent.py read      # open YourTradebase, read the page, close the browser
python3 yourtradebase_agent.py tools     # list Cotlet.dev tools
python3 yourtradebase_agent.py serve     # start the stdio MCP server (same as no argument)

Questions from YourTradebase users

Does YourTradebase have an API?

YourTradebase has no public API (checked 25 Nov 2026). It connects to QuickBooks and Xero and exports quotes, invoices, jobs and customers to CSV. Cotlet.dev works in your own YourTradebase account, so your AI agent can send quotes and chase invoices.

How do I connect YourTradebase to ChatGPT?

Add Cotlet.dev as an app in ChatGPT (Settings → Apps, connector URL https://cotlet.dev/mcp/v1), sign in to YourTradebase once in your Cotlet.dev Cloud Browser, and ask ChatGPT in plain words. No code and no YourTradebase API key.

Is there a way to use Claude with YourTradebase?

Yes. In Claude Code run the one-line claude mcp add command above; in the Claude app add https://cotlet.dev/mcp/v1 as a custom connector. Claude then works in your own YourTradebase account.

Is there a YourTradebase MCP server?

YourTradebase has no official MCP server. Cotlet.dev is a hosted MCP server that works in YourTradebase for you, 24/7, with Claude, ChatGPT, Cursor, Codex, n8n, Make and Zapier.

Can AI check that YourTradebase invoices reached Xero or QuickBooks?

Yes. Your AI reads invoices and payments in YourTradebase, compares them with the list you give it from Xero or QuickBooks and shows what is missing.

Can AI turn my site notes into a YourTradebase quote?

It drafts the quote in your account from your saved materials and labour rates and leaves it unsent until you check it.

Find it on

Also works with


More: https://cotlet.dev/integrations/mcp/yourtradebase?utm_source=github&utm_medium=readme&utm_campaign=yourtradebase

Start free: https://cotlet.dev/signup?app=yourtradebase&utm_source=github&utm_medium=readme&utm_campaign=yourtradebase