Skip to main content
Glama
Juicebox MCP

Juicebox MCP

by jnot807

Juicebox MCP

一个本地 MCP 服务器,将您的 Juicebox 寻源数据读取到 Claude 中——包括已保存的搜索及其评分结果——使用您自己已登录的 Juicebox 会话。

它完全在您的机器上运行。您的会话绝不会离开本机,每次调用都以您的身份、在您自己的席位上进行。

读取不消耗导出积分。 读取工具返回的所有内容都来自搜索结果页面已经渲染的同一免费界面。有一个工具会执行写入操作,并且会明确说明:jb_run_search 会在您的工作区中创建一个真实的已保存搜索。


安装

选项 A — 桌面扩展(最简单)

从 Releases 下载 juicebox-mcp.mcpb,然后双击它,或将其拖入 Claude Desktop → 设置 → 扩展。

无需粘贴 API 密钥。安装后,请按照下方的一次性浏览器步骤操作。

选项 B — 从源码安装

git clone https://github.com/jnot807/juicebox-mcp.git
cd juicebox-mcp
npm install          # also downloads the Chromium build (see note)
npm run login        # a real browser opens — sign in to Juicebox yourself
npm run check        # proves the session works headless

然后将其注册到 Claude Code:

claude mcp add -s user juicebox -- node "$(pwd)/server.js"

-s user 使其在每个会话中可用;如果不加,注册将限定在您运行它的那个目录中。

一次性浏览器下载

这会驱动一个真实的 Chromium,而该二进制文件不属于 node_modules 的一部分——它是一次性下载,约 500MB,会放入共享缓存中(macOS 上为 ~/Library/Caches/ms-playwright)。

npm install 会通过 postinstall 步骤自动获取它。桌面扩展用户需要手动运行一次,因为扩展打包了 node_modules,但不包含该缓存:

npx patchright install chromium

如果缺少它,服务器会用通俗的语言告诉您,而不是抛出关于缺少可执行文件的堆栈跟踪。

登录

身份验证是真实的登录,而不是密钥。npm run login 会打开一个浏览器窗口;像平常一样登录 Juicebox。然后会话会存储在 session/ 目录中(已加入 gitignore,权限为 chmod 600),并在无头模式下复用。

每当 npm run check 开始失败时,请重新登录——会话会过期。


Related MCP server: JobSpy MCP Server

工具

工具

功能

jb_list_searches(projectId?)

项目中的已保存搜索(id + 名称)。

jb_get_results(searchId, limit?, minMatchRate?)

搜索的排名候选结果——姓名、LinkedIn URL、职位、公司、地点、matchRate、各标准判定,以及从渲染卡片中读取的带日期的 experience[] + education。每次调用最多约 500 条。

jb_count(queryInput, searchId?)

在不运行搜索的情况下评估筛选集的大小——这是调优原语。queryInput 是对已抓取模板的 PATCH;请检查响应中的 noEffect。

jb_run_search(prompt, need?)

写入操作。 根据自然语言提示创建并运行新搜索,然后返回其候选结果。会在您的工作区中留下一个对所有人可见的已保存搜索——使用前请确认。

experience[] 是查看过往雇主的唯一途径:API 负载只携带当前雇主,因此没有它,目标公司的校友将不可见。


默认读取哪个项目

没有硬编码任何内容。登录时,探针会加载 /projects,它会重定向到您的席位可以访问的项目,该 ID 会保存为 session/session-meta.json 中的 defaultProjectId。

它只写入一次,之后不再改动。重定向会跟随应用最近打开的项目,因此如果每次运行都信任它,那么在没有 projectId 的情况下调用工具可能会读取到与昨天不同的项目。

解析顺序:

  1. JUICEBOX_PROJECT_ID(环境变量——这是桌面扩展的可选“默认项目”字段设置的内容)

  2. JUICEBOX_VALIDATOR_PROJECT(环境变量——也会将身份验证检查固定到该项目)

  3. session/session-meta.json 中的 defaultProjectId,由发现机制设置

每个工具也接受显式的 projectId,它始终优先。

Juicebox 项目 ID 是约 20 个字符的密钥,如 c5PheL2fANnX6uBQVUdo——即 URL 中的 /project/<id>/ 部分。如果您传入 UUID,服务器会拒绝并给出解释,而不是静默导航到一个不存在的项目。


工具遵循的两条规则

  • verdictFound: false → unknown,绝不是否定。 “未找到证据”和“证据表明没有”是不同的判定。将它们混为一谈,会因一个实际上无人能检查的标准而降低候选人的评分。

  • 宽泛的技能术语会稀释排名。 技能是 OR 加权的;像“客户成功”搜索中的“客户管理”这样的大众化术语会使候选池膨胀约 3.4 倍。删除通用术语,并将一个硬性要求提升为技能筛选器。


在服务器运行时运行脚本

您无法共享浏览器配置文件:session/profile/ 是单写入者的,MCP 服务器在运行时始终持有它。尝试打开它的第二个进程会失败身份验证检查——该检查会报告为“会话已过期”,让您陷入重新登录的循环。

如需诊断,请改为从检查点构建新的上下文。无锁,同一会话:

const { chromium } = require('patchright');
const browser = await chromium.launch({ headless: true });
const context = await browser.newContext({ storageState: 'session/storage-state.json' });

工作原理及陷阱

结果页面在首次加载时是服务器端渲染的,因此 /api/profiles/results 只在交互时触发。客户端会轻推分页器,让应用发出自己的请求,然后捕获响应——响应包含整个排名集,而不仅仅是可见页面。

有三件事会让任何修改 client.js 的人头疼:

  1. 切勿使用 addInitScript。 Patchright 会静默地将其作为反检测措施忽略——不会报错,只是脚本永远不会运行。请使用 page.on('response')。

  2. API 的 linkedin_url 是加密的(hex:hex),profiles[].url 和 profileDetails.id 也是如此。真实 URL 来自渲染的卡片,并在规范化的 full_name 上连接——在实时搜索中测得为 100%。

  3. 列表在分页过程中会清空。 分页器读取为 null 表示“仍在移动”,而不是“失败”。在转换期间,基于分页器更改检测来门控任何内容,正是之前两个 bug 的根源。


出现问题时

这依赖于 Juicebox 的内部 API。没有稳定性保证,并且可能随时更改。

  • npm run check 失败 → 会话过期:npm run login。

  • 服务器提示缺少 Chromium → npx patchright install chromium。

  • jb_get_results 返回 source: "dom-fallback" → API 捕获失败;您将丢失 matchRate 和标准。请检查 RESULTS_PATH 是否仍然匹配。

  • jb_get_results 报告 joinedLinkedInUrls: 0 → 卡片标记已更改;请重新检查 harvestCards / rewindToFirstPage。

  • 搜索列表为空 → 项目页面标记已更改;请参阅 listSavedSearches。


要求

  • Node.js 18 或更高版本

  • 一个可以登录的 Juicebox 账户

  • 约 500MB 可用磁盘空间用于 Chromium 下载

许可证

MIT。与 Juicebox 无关联,亦未获其认可。

Available Tools

4 tools
jb_countA

Size a filter set WITHOUT running a search — the tuning primitive. Free and side-effect free, so permute filters and compare before committing to a run. The endpoint is VERIFIED DETERMINISTIC (same body, same count on repeat), which is what makes the comparisons below trustworthy.

queryInput is a PATCH, not a whole body. It is merged over a ~164-key template harvested live from a saved search, because a PARTIAL body does not error — it returns result:0, which reads exactly like "nobody matches your filters". Pass only the keys you want to change. Use searchId to choose which saved search supplies the template; the response echoes baseline (the unpatched count).

ALWAYS CHECK noEffect IN THE RESPONSE. Unrecognised keys and wrong value shapes are dropped SILENTLY, so an unchanged count means the key name is probably wrong, NOT that the filter does not matter. Measured example: coSizes (company headcount) is ignored in all eight shapes tried, including [{name:"51-200"}], ["51-200"], [{title,tag}] and [{min,max}]. Its real shape is still unknown — set the filter in the Juicebox UI and capture the request before trusting it.

SOME FILTERS EXPAND RATHER THAN RESTRICT, which is the opposite of the intuition and was measured on one search (baseline 1413): dropping industries gives 1387 and dropping coTags gives 1247 — REMOVING them SHRINKS the pool, so they act as OR-expanders and cannot be used to narrow onto a category. An unrecognised industry ("mining & metals") returns the same 1387 as an empty list. What actually restricts: skills (removing all four widened 1413 to 4526), yearsOfExp (20 gives 881), selectedLocs, and criteria. Note this REVISES the older claim that broad skill terms widen the pool — specific skills restrict hard, broad ones merely fail to restrict. The practical rule is unchanged: drop skill terms that describe the whole population, and promote the ONE hard requirement to a skill (e.g. "AI Agents", not prose about being AI-first).

NameRequiredDescriptionDefault
searchIdNoSaved search to harvest the template from (from jb_list_searches). Defaults to the first saved search on the project. Pick the one whose titles/locations you want as your starting point.
projectIdNoJuicebox project id — a ~20-character key like c5PheL2fANnX6uBQVUdo, taken from the /project/<id>/ part of a Juicebox URL. Optional: omit it to use the default project discovered at sign-in.
queryInputYesPATCH over the harvested template — only the keys you are changing. Verified keys: jobTitles[{title,tag}], pastJobTitles, skills[{title,tag}], industries[{name}], coTags[{title,name,tag}], selectedLocs[{name,country,continent,type,...}], selectedCos, timezones, revenueRanges, fundingStages, yearsOfExp (number), criteria[{text,id}], excludeDncCountries (bool), coSizes (present but IGNORED in every shape tried).

TDQS

A5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the entire behavioral burden, and it excels. It reveals that the endpoint is deterministic, that partial bodies are silently merged over a template, that unrecognized keys are dropped silently, and that filter behavior can be counterintuitive (some expand rather than restrict). It even provides measured examples showing how to detect silent failures via the noEffect flag. This is exemplary transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long, but every sentence carries critical, non-redundant information. It front-loads the core purpose and safety properties, then layers in warnings and measured data. No filler or repetition exists; each paragraph adds actionable knowledge an agent needs to use the tool correctly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (nested objects, no output schema) and the absence of annotations, this description is remarkably complete. It covers expected behavior, failure modes (silent drops, noEffect), practical examples, and even guidance on filter semantics that only become apparent through experimentation. An agent has everything it needs to call this tool correctly and interpret results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema already describes each parameter, the description adds value by clarifying that queryInput is a PATCH over a template, enumerating the verified key shapes (e.g., 'skills[{title,tag}]'), and explicitly flagging coSizes as ignored in every tested shape. It also explains how searchId selects the template and the meaning of the echoed 'baseline.' This goes well beyond the schema definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a clear verb and object: 'Size a filter set WITHOUT running a search — the tuning primitive.' This immediately distinguishes it from running a search and states its role as a sizing/measurement tool. It also explicitly contrasts with the sibling jb_run_search by saying 'before committing to a run,' leaving no ambiguity about what the tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use guidance ('permute filters and compare before committing to a run') and explains the side-effect-free nature that makes this safe for experimentation. It also instructs on selecting the saved search template via searchId and warns about the partial-body PATCH semantics. This is far more than typical usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

jb_get_resultsA

Pull a saved search's ranked candidates — up to ~500 in one call. Returns name, LinkedIn URL, title, company, location, a numeric matchRate (0-100, banded) and per-criterion verdicts. Costs NO export credits: this is the same free surface the results page renders.

READING THE RESULTS: at the top of a ranked list every candidate meets every criterion, so criteria-met count does NOT discriminate up there — use matchRate and depth. A criterion with verdictFound=false is reported as result "unknown": that means no evidence was found, NOT that the candidate fails it. Never treat an unknown as a negative.

If the search has never been executed, this errors — open it in the app and press "Run search" once.

NameRequiredDescriptionDefault
limitNoMax candidates to return (default 50, max 500).
searchIdYesSaved search id from jb_list_searches.
projectIdNoJuicebox project id — a ~20-character key like c5PheL2fANnX6uBQVUdo, taken from the /project/<id>/ part of a Juicebox URL. Optional: omit it to use the default project discovered at sign-in.
minMatchRateNoOnly return candidates at or above this matchRate.

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses the free/costless nature, the exact return data, the significance of verdictFound=false ('not a negative'), and the error condition for unexecuted searches. It also notes that matchRate is 'banded' and that criteria-met count doesn't discriminate at the top of a ranked list. This is rich behavioral detail well beyond structured fields, giving the agent a clear understanding of what happens when calling the tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but every sentence earns its place: the first line states the action and output, the cost note is critical, the 'READING THE RESULTS' section is indispensable for correct interpretation, and the final error note is essential. It's well-structured with clear sections (purpose, cost, interpretation, error condition). No fluff or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, but the description enumerates the return fields and explains the semantic meaning of matchRate and verdicts (including the crucial 'unknown ≠ negative' nuance). It covers error behavior, limits, and the relationship to search execution. With four parameters fully documented in the schema and the description adding inter-tool references, an agent has everything necessary to correctly invoke and interpret results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers all parameters with descriptions at 100% coverage, so the baseline is 3. The description adds meaningful context: it tells the agent that searchId comes from jb_list_searches, that projectId is a specific format and can be omitted to use a default project, and that limit has a default of 50 and max of 500. These references connect the tool to its ecosystem and clarify usage, exceeding the schema's raw field meanings.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description begins with a specific verb ('Pull') and a specific resource ('a saved search's ranked candidates'), and details the exact fields returned (name, LinkedIn URL, title, company, location, matchRate, per-criterion verdicts). This clearly distinguishes it from siblings like jb_list_searches (which lists searches) and jb_count (counts). The scope is precise and non-tautological.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states that this costs no export credits and is the same surface as the results page, giving context on when it's appropriate. It also provides a prerequisite: 'If the search has never been executed, this errors — open it in the app and press Run search once.' It doesn't explicitly name sibling alternatives, but the distinct purposes of siblings (list, count, run) make the usage boundary clear. The 'READING THE RESULTS' section adds interpretive guidance, though it's more about reading the output than choosing when to use the tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

jb_list_searchesA

List the saved searches on a Juicebox project (searchId + name). Saved searches are stable and re-runnable, so this is the entry point for pulling existing sourcing work. Defaults to the configured project.

NameRequiredDescriptionDefault
projectIdNoJuicebox project id, or a /project/{id} URL. Optional.

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It discloses that saved searches are stable and re-runnable (reassuring the agent that reuse is safe), and that it defaults to the configured project. This adds useful behavioral context beyond the raw schema. It doesn't mention pagination or error behavior, but for a simple list operation this is adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: the first states the purpose and output, the second adds context and default behavior. No wasted words, and the most important information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter list tool with no output schema, the description is nearly complete: it explains what is returned, the stability, and the default. It could mention whether an empty list is returned when none exist, but that is minor. It doesn't need to explain return values since it already says 'searchId + name'. Missing details are negligible.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already describes projectId as optional and as a URL or ID (100% coverage). The description adds value by stating it defaults to the configured project, which is not in the schema. That's meaningful extra guidance for when an agent can omit the parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (list), the resource (saved searches on a Juicebox project), and the output (searchId + name). It also situates the tool as an entry point for pulling existing sourcing work, distinguishing it from siblings like jb_run_search or jb_get_results without needing to inspect them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It says this is the entry point for pulling existing sourcing work, implying you should use this before running or fetching results. It also notes the default-project behavior, which helps an agent decide when explicitly passing projectId is unnecessary. It doesn't explicitly say 'don't use this if you want results' or name alternatives, but the use case is implied clearly enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updatesv1.0.0
    • First observedjb_count
    • First observedjb_get_results
    • First observedjb_list_searches
    • First observedjb_run_search

TDQS

A4.6/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: list saved searches, fetch ranked results, tune filter counts, and create/run a new search. No two tools overlap in function, making misselection unlikely.

Naming Consistency5/5

All tools follow the consistent pattern of 'jb_' prefix + verb_noun (list_searches, get_results, run_search) with count as a concise verb. This is predictable and uniform.

Tool Count5/5

Four tools is well-scoped for a talent sourcing server. Each tool earns its place and covers the core workflow without redundancy or bloat.

Completeness4/5

The surface covers the essential lifecycle: listing existing searches, retrieving results, tuning filters without execution, and creating new searches. Minor gaps like deleting or updating saved searches exist but are not critical for the primary use case.

Maintenance

ActivityNo data
ResponsivenessSyncing

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables Claude to perform actions on X, LinkedIn, and Reddit via a Chrome extension, such as connecting with recruiters, finding threads, and replying to posts.
    36
    22 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables job search and scraping across multiple job boards (LinkedIn, Indeed, Glassdoor, etc.) with advanced filtering, directly from Claude Desktop or other MCP clients.
    6
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables searching and evaluating job postings from LinkedIn and freehire.me directly through Claude Desktop. Provides tools to search jobs, fetch full posting details, and assess candidate fit using eligibility scans and a scoring rubric.
    MIT