Stop rewriting the code you already wrote.
One searchable base for the snippets, API calls and docs your team keeps re-googling. Your AI agents read it and write to it over REST and MCP — and your team approves what becomes canon.
Workspace-isolated · API keys hashed at rest · never used to train AI models
Debounce hook
Delays a value until the user stops typing.
function useDebounce<T>(value: T, delay = 300): T {
const [debounced, setDebounced] = useState(value);
useEffect(() => {
const t = setTimeout(() => setDebounced(value), delay);
return () => clearTimeout(t);
}, [value, delay]);
return debounced;
}Typing 'react' quickly fires one update: 'react' // 300ms after the last keystroke
From scratch file to source of truth in three moves.
Save it once
A snippet, an endpoint, a runbook — capture it the moment you use it, with tags and a sample of what it returns.
Find it in seconds
Hit / and search across code, URLs, outputs and docs. Copy code — or a whole curl — in one click.
Let agents keep it fresh
Connect your AI over REST or MCP. Agents file what they learn; your team reviews and approves what becomes canon.
Three libraries. One source of truth.
Everything your team looks up twice belongs in the base — with search, tags, collections and favorites across all of it.
Snippets
Code in 35+ languages with syntax highlighting, descriptions, tags — and a sample output field so you see what it produces before you paste it.
APIs
Save endpoints with method, URL, headers, body and a sample response. Copy any of them as a ready-made curl in one click.
Docs
A Markdown knowledge base with live preview. Link notes with [[wikilinks]], export any doc as .md.
Team review
Every team item carries a status. Request review, approve or send back changes — so what's in the base is what's trusted.
Shared workspace
Switch between a private base and a live team space. Collections, favorites and review queues, shared with everyone.
Fast by default
Keyboard-first: / to search, ⌘K anywhere, ⌘↵ to save. Light and dark, both monochrome.
Your agents read it.
Your agents update it.
You approve what becomes canon.
The-Snip ships a hosted MCP server: generate an API key and any LLM or agent can search, fetch, create and update items — over REST, or natively through MCP tools.
{
"mcpServers": {
"the-snip": {
"url": "https://the-snip.com/mcp",
"headers": {
"Authorization": "Bearer snip_········_····"
}
}
}
}{
"mcpServers": {
"the-snip-demo": {
"url": "https://the-snip.com/mcp",
"headers": {
"Authorization": "Bearer snip_kTHay3_E_PRcubQBouPQM8hnHoEKhWvXAJS6MCZwSPwqDX-hkmsU"
}
}
}
}Shared read-only demo workspace — rate-limited; sign up for your own base.
Built because my own snippets kept dying in gists.
I'm Adnan. I built The-Snip after re-solving the same problems every sprint — first for myself, then for my agents. It launched in July 2026: no logos, no invented testimonials. Here's a real MCP session from launch week instead.
> search_base("postgres weighted full-text rank")
1 result — Weighted tsvector column · approved
> create_snippet(title: "pg_trgm fuzzy title search", …)
created — status: in-review
› approved by a human in the review queue 14 min laterStart free. Upgrade when the base earns it.
No card to start. The free plan is a real product, not a trial.
Working solo with agents? $8 — unlimited items and agent writes over MCP & REST.
Leading a team? $8/user — one reviewed base every teammate's agent can trust.
- Snippets, APIs, docs & webpages
- Syntax highlighting, 35+ languagessnippets can carry a sample-output block
- Up to 25 items
- Agent search over MCP & REST
- 5 free agent writes (review-gated)lifetime — then unlimited on Pro & Team
- Not included: Unlimited agent writes
- Not included: Team workspace & review
- Everything in Free
- Unlimited items
- Export / import (.md, .json)
- Unlimited agent writes over MCP & REST (create + update)Claude Code, Cursor, scripts and CI
- Shared team workspace & member management
- Request review & approvalsagents propose, humans approve
No card to start · cancel anytime · your data is always exportable on paid plans
Questions, answered.
What is The-Snip?
The-Snip is a code snippet manager and team knowledge base with built-in AI-agent access. It stores code snippets in 35+ languages, saved API calls you can replay as curl, and Markdown docs in one searchable base. Agents connect over a REST API or a hosted MCP server to search, create and update items — and every agent write lands in review, so humans approve what becomes canon. Free up to 25 items; Pro & Team is $8 per person per month (or $80 per person per year — 2 months free).
How is this different from gists or a notes app?
Gists are a pile; notes apps don't understand code. The-Snip is structured for how developers actually retrieve things: language-aware search across code, saved API calls you can replay as curl, docs that link to each other — and a review workflow so a team base stays trustworthy instead of rotting.
What does "agents can update it" actually mean?
Every workspace exposes a small tool surface — search, fetch, create and update — over REST or MCP. Reads are free — any agent can search the base on the Free plan, with 5 free agent writes (review-gated) to try; unlimited agent writes need Pro & Team. Point your agent at it and it can file the snippet it just wrote, save the endpoint it just discovered, or update a runbook. Team review keeps humans as the gate for what gets approved.
Which languages are supported?
35+ — from JavaScript, TypeScript, Python, SQL, Go, Rust and Java to Elixir, Haskell, Julia, MATLAB, PowerShell, Dockerfile, GraphQL, Zig and Solidity, plus plain text for everything else.
Can I get my data out?
Yes. Docs export as .md individually, and Pro & Team includes full export/import in Markdown and JSON. It's your base, not ours.
Do you offer annual billing?
Yes — pay annually and get 2 months free: Pro & Team works out to $6.67 per person per month ($80 per person per year, billing 12 months for the price of 10). To change your billing cycle, email support@infodriven.ae and we'll switch it for you.
Is there a trial for Pro & Team?
The Free plan is the trial — it never expires, your agents can already search the base on it, and every Free workspace gets 5 free agent writes (review-gated). Upgrade when you hit the 25-item ceiling or need unlimited agent writes and teammates in the base.
Is my code private?
Yes. Every base is isolated per workspace — every query is scoped to your workspace ID across the UI, REST and MCP, so no other tenant can ever read your items. API keys are hashed at rest and scoped to a single workspace. Your snippets are never used for training anything, and your data is always exportable — docs as .md on every plan, full Markdown/JSON export on paid plans.
Does The-Snip have an MCP server?
Yes. Every workspace gets a hosted MCP server at https://the-snip.com/mcp. Add it to Claude Code, Cursor, Windsurf or any MCP client with a workspace API key (Authorization: Bearer snip_...) and your agent gets nine tools — reads: search_base, get_item, list_collections; writes: create_snippet, create_api, create_doc, create_webpage, update_item, create_collection. Reads are free on every plan; Free workspaces get 5 free agent writes (review-gated), unlimited on Pro & Team — and everything an agent writes lands in review for a human to approve.
What is an MCP knowledge base?
An MCP knowledge base is a knowledge store an AI assistant can query and update through the Model Context Protocol — the open standard for connecting agents to tools. The-Snip is one: your agent searches the team's snippets, APIs and docs mid-task, and files what it learns back into the base, with human review as the trust gate.
What is a review-gated MCP knowledge base?
A review-gated MCP knowledge base is an MCP knowledge base where nothing an agent writes becomes trusted until a human approves it. Agents can search and propose over the Model Context Protocol, but every create and update lands in a review queue with status "in review" — a person approves, edits or rejects it before it becomes canon. That gate is what separates The-Snip from a base an agent can silently fill with unverified content: the base stays trustworthy because humans, not agents, decide what's canonical.
Can I use The-Snip's REST API on the free plan?
For reads, yes. Reads are free — any agent can search the base on the Free plan, and every Free workspace gets 5 free agent writes (review-gated). Unlimited agent writes (create and update) are part of Pro & Team, $8/user/mo. Generate a workspace API key on any plan and call /api/v1 or point your agent at the hosted MCP server; upgrading lets the same key keep creating and updating items.
How do I connect Claude Code or Cursor to The-Snip?
Generate a workspace API key in Settings → API keys, then add The-Snip to your client's MCP config — .mcp.json in Claude Code, .cursor/mcp.json in Cursor — with the server URL https://the-snip.com/mcp and the header Authorization: Bearer snip_.... The config block in the agents section above is copy-paste ready. Your agent gets nine tools — search_base, get_item, list_collections, create_snippet, create_api, create_doc, create_webpage, update_item and create_collection — and everything it writes lands in review for a human to approve.
Your future self is
about to search for this.
Put it in the base once — find it, reuse it, and let your agents keep it current.
Start free