BJ

borgius/jobspy-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

123 stars 45 forks 质量 62 趋势 16

borgius/jobspy-mcp-server 是从 https://github.com/borgius/jobspy-mcp-server. 导入的 MCP 服务器候选

概览

borgius/jobspy-mcp-server 是从 https://github.com/borgius/jobspy-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

一个模型上下文协议(MCP)服务器,使像Claude这样的AI助手能够利用JobSpy工具在多个职位列表平台上搜索职位。

特色

  • 通过多个平台(Indeed、LinkedIn、Glassdoor等)搜索工作
  • 按搜索词、地点、时间框架等筛选
  • 获得AI模型可以轻松处理的结构化工作数据
  • 将结果格式化为 JSON 或 CSV
  • 多种传输选项:用于 Claude 集成的 stdio,用于 Web 客户端的 SSE

先修条件

  • Node.js 16+
  • Python 3.6+
  • 已安装并可用的 JobSpy 工具

安装

配置

服务器会自动尝试在标准位置定位JobSpy脚本:

  • ../jobSpy/run.sh(相对于服务器目录)
  • ./run.sh(当前目录中)
  • /app/run.sh(适用于Docker环境)

环境变量

您可以使用以下环境变量配置服务器:

环境变量 描述 默认
JOBSPY_DOCKER_IMAGE 用于JobSpy的Docker镜像 jobspy

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

JobSpy MCP Server

A Model Context Protocol (MCP) server that enables AI assistants like Claude to search for jobs across multiple job listing platforms using the JobSpy tool.

Features

  • Search for jobs across multiple platforms (Indeed, LinkedIn, Glassdoor, etc.)
  • Filter by search terms, location, time frames, and more
  • Get structured job data that AI models can easily process
  • Format results as JSON or CSV
  • Multiple transport options: stdio for Claude integration, SSE for web clients

Prerequisites

  • Node.js 16+
  • Python 3.6+
  • The JobSpy tool installed and available

Installation

# Clone the repository
git clone https://github.com/borgius/jobspy-mcp-server.git
cd jobspy-mcp-server

# Install dependencies
npm install

# Make sure the JobSpy tool is properly set up
cd ../jobSpy
pip install -r requirements.txt
chmod +x run.sh

Configuration

The server will automatically try to locate the JobSpy script in standard locations:

  • ../jobSpy/run.sh (relative to the server directory)
  • ./run.sh (in the current directory)
  • /app/run.sh (for Docker environments)

Environment Variables

You can configure the server using the following environment variables:

Environment Variable Description Default
JOBSPY_DOCKER_IMAGE Docker image to use for JobSpy jobspy
JOBSPY_ACCESS_TOKEN Access token for JobSpy API (if required) none
PORT Port for the MCP server 9423
HOST Host for HTTP server ‘0.0.0.0’
ENABLE_SSE Enable Server-Sent Events transport 0

Setting Up Configuration

You can set these configuration values in multiple ways:

1. Using environment variables directly

export JOBSPY_DOCKER_IMAGE=jobspy
export JOBSPY_HOST='0.0.0.0'
export JOBSPY_PORT=9423
export ENABLE_SSE=1

2. Using a .env file

Create a .env file in the root directory with your configuration:

JOBSPY_DOCKER_IMAGE=jobspy
JOBSPY_HOST='0.0.0.0'
JOBSPY_PORT=9423
ENABLE_SSE=1

Usage

Starting the server

npm start

Connecting with Claude Desktop

Add the following to your Claude Desktop config file (typically at ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "jobspy": {
      "command": "node",
      "args": ["/path/to/jobspy-mcp-server/src/index.js"],
      "env": {
        "ENABLE_SSE": 0
      }
    }
  }
}

Using with Web Clients (SSE Transport)

The server exposes HTTP endpoints that allow web applications to interact with the JobSpy MCP server:

  • Connect for updates: GET /mcp/connect
    • Establishes a Server-Sent Events (SSE) connection for real-time updates
在 GitHub 查看完整 README

安装

docker run -p 9423:9423 jobspy-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "jobspy": { "command": "node", "args": ["/path/to/jobspy-mcp-server/src/index.js"], "env": { "ENABLE_SSE": 0 } } } }