How to Add Craigslist Search to Claude Code
Claude Code is great for automating tasks, but it can’t browse classified listings out of the box. If you need to find a used monitor, check apartment prices, or look up local gigs, you have to leave your terminal and search manually. Adding Craigslist Search through AgentPatch fixes that.
Why This Matters
Developers and freelancers use Craigslist for all sorts of things — finding cheap office furniture, scoring a used GPU, or looking for short-term housing near a new gig. Normally you’d tab over to a browser, search, scroll through results, then come back to your terminal. That’s a context switch.
With Craigslist Search available as a tool, Claude Code can search listings directly during a conversation. Ask it to find a used standing desk in your area and it handles the search, parses the results, and gives you structured data — titles, prices, and links — without you opening a browser.
Setup
Install the AgentPatch CLI (zero dependencies, Python 3.10+):
pip install agentpatch
Set your API key:
export AGENTPATCH_API_KEY=your_api_key
Then use it:
ap search "web search"
ap run agentpatch google-search --input '{"query": "test"}'
Get your API key from the AgentPatch dashboard.
Run this command to add AgentPatch as an MCP server:
claude mcp add -s user --transport http agentpatch https://agentpatch.ai/mcp \
--header "Authorization: Bearer YOUR_API_KEY"
Replace YOUR_API_KEY with your actual key from the AgentPatch dashboard. Claude Code discovers all AgentPatch tools automatically.
Example
You’re setting up a home office and want to find a used monitor:
“Search Craigslist in the SF Bay Area for a 4K monitor under $200”
Claude Code searches Craigslist directly:
Searching Craigslist sfbay for "4k monitor"...
Found 18 listings. Here are the top results under $200:
1. Dell U2720Q 4K USB-C Monitor - $175 (sunnyvale)
2. LG 27UK850 4K Monitor w/ HDR - $150 (san jose south)
3. Samsung 28" 4K UHD Monitor - $120 (palo alto)
All listings include direct links. Want me to check any of these in detail?
Claude Code searched, filtered by your price range, and presented structured results — all without leaving the terminal.
Wrapping Up
Adding AgentPatch to Claude Code gives it access to Craigslist Search during any session. The same config also provides Google Search, Amazon Search, email, maps, and everything else on the marketplace. Visit agentpatch.ai to explore what’s available.