What is MCP?
The Model Context Protocol is an open standard that enables AI assistants to connect to external data sources and tools. JobSpy’s MCP server exposes two tools:scrape_jobs— Search for jobs across multiple job boardsfetch_job— Get full details for a specific job by ID
Prerequisites
- Node.js 18+ installed
- Claude Desktop or another MCP-compatible client
- JobSpy JS installed globally or locally (
npm install -g jobspy-jsornpm install jobspy-js)
For Google Jobs scraping, you must also install Playwright’s Chromium browser:
Installation
The
npx -y jobspy-js --mcp approach automatically uses the latest version or installs it if not present. For production use, consider pinning to a specific version.In Claude Desktop, you should see a small hammer icon (🔨) or tool indicator when JobSpy tools are available. Try asking:
Configuration Options
Proxy Support
If you need to route requests through a proxy, set the proxy in environment variables:Authentication Credentials
Some job boards (especially LinkedIn) may require authentication for reliable scraping. Set credentials via environment variables:LINKEDIN_USERNAME/LINKEDIN_PASSWORDINDEED_USERNAME/INDEED_PASSWORDGLASSDOOR_USERNAME/GLASSDOOR_PASSWORDZIPRECRUITER_USERNAME/ZIPRECRUITER_PASSWORDBAYT_USERNAME/BAYT_PASSWORDNAUKRI_USERNAME/NAUKRI_PASSWORDBDJOBS_USERNAME/BDJOBS_PASSWORD
JOBSPY_CREDS=1 is set.
Troubleshooting
MCP server not appearing in Claude Desktop
MCP server not appearing in Claude Desktop
- Verify the config file path is correct
- Check that the JSON syntax is valid (no trailing commas, proper quotes)
- Ensure Node.js is in your system PATH
- Try restarting Claude Desktop completely (quit and reopen)
- Check Claude Desktop logs (Help → View Logs)
'jobspy' command not found
'jobspy' command not found
If using a local installation, provide the absolute path to the executable:
Google Jobs not working
Google Jobs not working
Google Jobs requires Playwright’s Chromium browser. Install it with:Google also requires a clean residential IP or high-quality proxy. Datacenter IPs are often blocked.
LinkedIn returning no results
LinkedIn returning no results
LinkedIn frequently rate-limits anonymous scraping. Try:
- Adding credentials via environment variables
- Using a residential proxy
- Reducing
results_wantedto a smaller number (10-20) - Enabling credential fallback with
JOBSPY_CREDS=1
Next Steps
Usage Examples
Learn how to use JobSpy tools with Claude Desktop
SDK Reference
Explore all available parameters and options
