41fred/claude-code-slack

Claude in Slack, without API costs.

A self-hosted bridge that runs Claude Code locally. Each Slack thread is its own isolated session. Replies remember everything in that thread, nothing across threads.

Public MIT licensed No API keys · uses your Claude plan

Per-token API bills

Fixed by the local CLI.

Threads bleeding together

Fixed by isolated sessions.

Generic answers

Fixed by your CLAUDE.md.

Stage 1 · Slack

One thread, one session.

How does the team talk to it?

Each thread is its own isolated session. Reply anytime to keep it going. Open as many parallel threads as your team needs. None of them leak into each other.

Reply in the thread tomorrow. Claude still has the context.
Stage 2 · Worker

Stateless webhook receiver.

How does Slack reach the laptop?

A tiny FastAPI app on Railway's free tier. Verifies, queues, forgets. Can disappear and restart without losing anything.

Stage 3 · GitHub

The queue is just a folder.

Why git as the bus?

Each Slack request becomes one file. Audit-logged, replayable, durable. No Redis to maintain.

Stage 4 · Daemon

Local Claude. Real context.

How does Claude actually run?

A small loop polls the queue. Runs claude -p inside your project. Reads your codebase, CLAUDE.md, MCP tools. Posts the reply back to the thread.

Inside

The repo, on one screen.

claude-code-slack/ ├── README.md ├── LICENSE ├── slack-app-manifest.json ├── worker/ │ ├── main.pyWorker │ ├── verify.pyWorker │ └── requirements.txt └── daemon/ ├── main.pyDaemon ├── install.shDaemon └── .env.example
Install

Three steps. Ten minutes.

1

Create the Slack app

Use slack-app-manifest.json
2

Deploy the worker

railway up
3

Install the daemon

cd daemon && ./install.sh
Get the repo

I'll email you the link.

Drop your details. You'll get the repo link plus a note when the v2 multi-team routing ships. No spam, MIT, free.

github.com/
Something went wrong. Try again, or email [email protected].

MIT licensed. No API keys. ~10 min install.

Self-host it. Fork it. Ship it.

MIT. Built by Alcanah Partners.

Get the repo