Expose vs Hookdeck CLI for webhooks on localhost
The Hookdeck CLI and Expose both get provider webhooks onto your machine, in different ways. With hookdeck listen 3000, the provider sends each webhook to a Hookdeck source URL. Hookdeck answers the provider and passes the event to the CLI, which sends it to your local port. With expose share http://localhost:3000, your app gets a public HTTPS URL, and your own handler answers the provider. The same URL works for any HTTP request, so you can also show the app to a client or test an OAuth callback. Pick the Hookdeck CLI if you run Hookdeck in production or want every request kept on Hookdeck's servers for days to retry by hand. Pick Expose if you want one tool for webhooks and everything else you share from localhost, at a flat yearly price. Hookdeck's Event Gateway, with queues, retries and routing for production, is a separate product that Expose doesn't replace.
curl -fsSL https://expose.dev/install.sh | sh
irm https://expose.dev/install.ps1 | iex
Expose and Hookdeck CLI side by side
| Feature | Expose | Hookdeck CLI |
|---|---|---|
| How a webhook reaches your app | Through a tunnel to the app on your machine. Your handler's status code and body go back to the provider. | The provider sends it to a Hookdeck source URL. Hookdeck answers with its own response and passes the event to hookdeck listen, which sends it to your local port. Your app's response is logged in Hookdeck. |
| What it carries | Any HTTP or HTTPS request: webhooks, sites you show a client, OAuth callbacks, phones on your network with --lan, and local MCP servers. TCP ports on Pro with expose share-port. | Events that arrive at a Hookdeck source. Hookdeck can't return your app's response to the sender, so it suits webhooks rather than pages or OAuth redirects a browser loads. |
| Account and price | A free Hobby account without a card. Pro is $79 a year per user, Team $229 a year for up to 10 users. No billing for requests or data. | The CLI is free and open source under Apache 2.0, and Hookdeck says development use is free. Without hookdeck login it creates a temporary guest account. Event Gateway plans: Developer at $0 with 10,000 events a month, Team from $39 a month. |
| The same URL every time | Reserved subdomains and your own domain in Pro, $79 a year per user. | Each source has its own URL. The connection stays after a CLI session ends, so the next hookdeck listen reuses it. |
| Inspecting and replaying | A dashboard on localhost:4040 with every request, replay, and replay with changes. Stripe, GitHub and Paddle Billing webhooks are highlighted. | An event list in the terminal with up to 1,000 events, where r retries the selected event. Filters by body, headers, query or path for one session. Events also appear on the CLI Events page of the Hookdeck dashboard. |
| History | The client keeps each site's requests for up to 72 hours and lists them again when you share the site with the same token. The Traffic Inspector on expose.dev lists your tunnels' requests for 24 hours, 72 on Pro. | Event data is kept for the plan's retention: 3 days on Developer, 7 on Team and 30 on Growth. A guest account has no delivery history. |
| While you aren't running it | A tunnel only answers while expose runs, so the provider records a failed delivery. A webhook hub in Pro stores events for 24 hours and delivers the missed ones when a member reconnects with the same member ID. | Hookdeck stores each request, but nothing is delivered when you start listening again. You retry or replay those requests by hand. After a crash, a short grace window holds events and delivers them when the CLI reconnects. |
| Signatures | Headers such as Stripe-Signature and the raw body reach your app unchanged, so your verification code runs as in production. | The original headers and body are preserved. A source can also verify the provider's signature, and Hookdeck can add its own x-hookdeck-signature header. |
| Without a local app | expose catch-all answers every request with 200 OK and shows it in the dashboard. | Hookdeck Inspect gives you a capture URL without an account. Requests are kept for 3 days, and anyone with the link can read them. |
| Coding agents | A hosted MCP server at expose.dev/mcp with OAuth sign-in. Agents read the last 50 requests of each tunnel for 30 minutes, with secrets removed, and manage subdomains and domains. With MCP Events, ChatGPT hears when a webhook fails. | hookdeck gateway mcp, a local MCP server over stdio, in beta. It starts read-only. With --allow-write, the agent can also create, update, retry and dismiss. |
| Production traffic | Not what Expose is for. Expose has no queue or event gateway. | The Event Gateway queues events and adds automatic retries, routing, transformations, filters and rate limits in front of your production app. |
From the Expose pricing, Hookdeck's CLI docs and its pricing page on November 24, 2026. "Not stated" means we didn't find it there.
Your Hookdeck CLI commands in Expose
| Task | Hookdeck CLI | Expose |
|---|---|---|
| Sign in once | hookdeck login | expose login |
| Send webhooks to your local app | hookdeck listen 3000 stripe | expose share http://localhost:3000 |
| Keep the same URL | Listen to the same source again | expose share http://localhost:3000 --subdomain=my-app |
| See payloads without an app | Open inspect.hookdeck.com | expose catch-all |
| Retry a webhook | Press r in the event list | Replay it in the dashboard on http://127.0.0.1:4040 |
| Share a Herd or Valet site | expose share my-app.test | |
| Test on a phone on your network | expose share my-app.test --lan |
More options in the sharing docs.
How Expose and Hookdeck CLI differ
Who answers the provider
With Expose, your app answers the provider. The webhook travels through the tunnel to your handler, and the status code and body your handler returns go back to Stripe or GitHub. A 500 from your code shows up as a failed delivery in the provider's dashboard, as it would in production. Hookdeck is built for asynchronous delivery. Its docs say it returns its own response to the sender and can't pass on the response of a destination. The provider sees Hookdeck's answer, and the CLI sends your app's response to Hookdeck for its logs.
Webhooks only, or every request
Expose shares the whole app, so one URL serves the webhook route, the pages you show a client, an OAuth callback and a local MCP server or ChatGPT app. expose share my-app.test --lan puts the app on your local network for a phone, with a QR code in the dashboard. The Hookdeck CLI forwards the events that arrive at a Hookdeck source, and Hookdeck documents it for webhooks.
When your laptop is closed
Hookdeck keeps every request on its servers for your plan's retention, 3 days on the free Developer plan. A webhook that arrived while you weren't listening is still there, but the CLI doesn't deliver it when you start again. You retry or replay it yourself. A plain Expose tunnel keeps nothing while expose isn't running, so you resend the event from the provider. An Expose webhook hub, part of Pro, stores events for 24 hours, up to 500 per hub, and catches a member up when it reconnects.
What you pay
The Hookdeck CLI costs nothing for development, according to its README. Hookdeck bills its Event Gateway by events: the Team plan starts at $39 a month with 10,000 events included, and more events cost $3 per 100,000 up to 5 million. Expose has no usage billing. The free Hobby plan covers webhook testing with a random URL and a time limit per connection. Pro, $79 a year per user, adds a URL that stays the same, your own domain, webhook hubs and servers on five continents.
When Hookdeck CLI fits better
If you already run Hookdeck's Event Gateway in production, use its CLI locally. Your laptop then gets events through the same sources, connections and filters as production. Hookdeck also keeps each request on its servers for your plan's retention, 3 days free and 7 on Team, so a webhook that arrived while your laptop was closed is still there to retry. A plain Expose tunnel keeps nothing while it isn't running. The CLI's per-session filters on body, headers, query or path have no equivalent in Expose. And if you need a queue with retries, routing and rate limits in front of your production app, that is Hookdeck's Event Gateway, and Expose doesn't do that job.
Trying Expose takes a minute
- 1. Install Expose with the command above.
- 2. Run
expose share http://localhost:3000where you ranhookdeck listen 3000. The first time, it opens the browser to create a free account. - 3. In Stripe, GitHub or Paddle, replace the Hookdeck source URL with the Expose URL and your webhook route, such as
/webhooks/stripe. Then openhttp://127.0.0.1:4040to see and replay every request.
Which one to choose
You test webhooks in your own handler
Choose Expose. Your handler's real response goes back to the provider, the dashboard on 127.0.0.1:4040 replays a webhook with changes, and Stripe, GitHub and Paddle Billing webhooks are highlighted.
You also share sites, callbacks or phone tests
Choose Expose. The same tunnel serves pages, OAuth callbacks, --lan for phones and local MCP servers, and visitors see no warning page on any plan.
Your coding agent debugs the webhooks
Both have an MCP server. Expose's is hosted, signs in with OAuth and works in ChatGPT and Claude as well as Claude Code and Codex. With MCP Events, ChatGPT hears about a failing webhook as it happens. Hookdeck's runs locally over stdio and, with --allow-write, can retry events.
You run Hookdeck in production
Choose the Hookdeck CLI. Your laptop gets events through the same sources, connections and filters as production, and the CLI comes free with that setup.
You want webhooks kept while you are offline
Choose Hookdeck if you want every request stored on its servers for days and retried by hand later. On Expose Pro, a webhook hub keeps events for 24 hours and delivers the missed ones when you reconnect with the same member ID.
Questions
Is the Hookdeck CLI free?
Yes. The CLI is open source under Apache 2.0, and Hookdeck's README says development use is completely free. Without hookdeck login it creates a temporary guest account, which has no delivery history or retries. Hookdeck's paid plans are for its Event Gateway and started at $39 a month on November 24, 2026.
Can Expose replace the Hookdeck CLI?
For receiving webhooks on localhost, yes. expose share http://localhost:3000 gives your app a public URL, and the dashboard on http://127.0.0.1:4040 shows and replays every request. Expose doesn't replace Hookdeck's Event Gateway, which queues, retries and routes webhooks for production apps.
Do webhook signatures still verify?
With both tools, yes. Expose and Hookdeck pass the provider's headers and the raw body to your app unchanged. A replay or a late retry sends the original timestamp again, so libraries with a tolerance, such as Stripe's five minutes by default, can reject an older event.
What happens to webhooks while my laptop is off?
With a plain Expose tunnel, the provider records a failed delivery and you resend the event later. An Expose webhook hub, in Pro, stores events for 24 hours and delivers them when you reconnect with the same member ID. Hookdeck stores the requests for your plan's retention, but you retry them by hand once you listen again.
Can my coding agent read the webhooks?
Yes, with either. Connect the Expose MCP server at https://expose.dev/mcp, and Claude Code, Codex or ChatGPT can read the last 50 requests of each tunnel for 30 minutes, with secrets removed. Hookdeck's CLI runs a local MCP server with hookdeck gateway mcp, read-only unless you pass --allow-write.
- All comparisons
- Expose vs ngrok
- Expose vs Cloudflare Tunnel
- Expose vs localtunnel
- Expose vs Tailscale Funnel
- Expose vs Pinggy
- Expose vs LocalXpose
- Expose vs zrok
- Expose vs webhook.site
- Expose vs Localtonet
- Pricing
- Installation
- Webhook testing on localhost
- Catch-all
- Webhook hubs
- MCP Events
- Stripe webhooks
- GitHub webhooks
- Paddle webhooks
- Shopify webhooks