Lessie — People Search & Enrichment
Setup
Lessie supports two modes: CLI (default, recommended) and MCP Server.
Mode A: CLI (default)
Install the Lessie CLI binary:
CODEBLOCK0
Or use without installing:
CODEBLOCK1
First-time authorization:
CODEBLOCK2
This opens a browser for login/registration. Token is cached at ~/.lessie/oauth.json.
Verify connection:
CODEBLOCK3
Mode B: MCP Server
Add to your MCP config (Claude Code ~/.claude/mcp.json, Cursor ~/.cursor/mcp.json, etc.):
CODEBLOCK4
Uninstall
- - CLI: INLINECODE3
- MCP: Remove the
"lessie" entry from your .mcp.json and INLINECODE6
Quick start
After setup, try saying to Claude:
- - "Find Engineering Managers at Stripe in San Francisco"
- "Look up Sam Altman's contact info"
- "Research OpenAI — recent news and open job postings"
Mode detection
Determine which mode to use at the start of each session:
- 1. Check if
lessie CLI is available: run INLINECODE8 - If the command succeeds → use CLI mode (call tools via Bash)
- If the command fails (not found) → attempt auto-install: INLINECODE9
- After install, run
lessie status again to verify - If install succeeds → use CLI mode
- If install fails (no npm, permission denied, network error, etc.) → check if MCP tools are available (
authorize, use_lessie) - If MCP tools are available → use MCP mode
- If neither → inform the user that installation failed and suggest manual install or MCP setup
Credits & Pricing
Lessie is a credit-based service.
New accounts receive free trial credits. View your balance and purchase more at https://lessie.ai/pricing.
The agent will disambiguate company names before searching to avoid wasting credits on wrong results.
Data & Privacy
- - Data sources: Contact and company information is aggregated from publicly available sources (business directories, social profiles, corporate websites).
- Query logging: Search queries are logged for service improvement and abuse prevention. No query data is shared with third parties.
- Data compliance: Lessie follows applicable data protection regulations. Users are responsible for using retrieved contact data in compliance with local laws (GDPR, CAN-SPAM, etc.).
- Privacy policy: https://lessie.ai/privacy
- Terms of service: https://lessie.ai/terms-of-service
Authorization
CLI mode
- 1. Run
lessie status to check token validity. - If
authorized: false → run lessie auth to open browser for login. - After the user completes login, run
lessie status again to confirm.
MCP mode
- 1. Call
authorize to check connection status. - If already authorized → proceed to use tools directly.
- If not authorized →
authorize returns an authorization URL. Tell the user you need to open a browser for Lessie login/registration, and open it using the appropriate system command:
- macOS:
open "<url>"
- Linux:
xdg-open "<url>"
- Windows:
start "<url>"
- 4. Tell the user the browser has been opened and they need to complete login/registration.
- After the user confirms, call
authorize again to verify the connection. - If authorization fails (timeout, denied, port conflict), follow the diagnostic hints returned by
authorize and retry.
Always inform the user before opening the browser — never silently redirect.
Agent behavior rules
Entity disambiguation
When a user mentions a company name that could refer to multiple entities (e.g., "Manus" could be Manus AI, Manus Bio, Manus Plus, etc.), disambiguate before searching:
- 1. Ask the user which company they mean, or present the top candidates and let them pick.
- If context makes it unambiguous (e.g., user previously discussed AI agents), state your assumption and confirm: "你是指做 AI Agent 的 Manus AI (manus.im) 吗?"
- Never silently assume one entity over another — wrong domain = wasted search credits and irrelevant results.
Tools overview
People
| Tool | CLI command | When to use |
|---|
| INLINECODE24 | INLINECODE25 | Discover people by title, company, location, seniority, audience. Default strategy is hybrid. If a request times out or fails, retry with --strategy saas_only — it's faster (~30s vs ~60s) and more stable, though recall may be lower |
| INLINECODE28 |
lessie enrich-people | Fill missing profile data for known individuals (email, phone, LinkedIn, work history) |
|
review_people |
lessie review-people | Deep-qualify
ambiguous candidates via web research — skip for obvious matches/mismatches |
Companies
| Tool | CLI command | When to use |
|---|
| INLINECODE32 | INLINECODE33 | Discover companies by name, keyword, location, size, funding |
| INLINECODE34 |
lessie enrich-org | Get full profile for known company domain(s) — industry, employees, funding, tech stack |
|
get_company_job_postings |
lessie job-postings | View active job openings (needs
organization_id from enrich) |
|
search_company_news |
lessie company-news | Find recent news articles (needs
organization_id from enrich) |
Web research
| Tool | CLI command | When to use |
|---|
| INLINECODE42 | INLINECODE43 | General web search; cached results make follow-up web_fetch free |
| INLINECODE45 |
lessie web-fetch | Extract specific info from a URL via AI summarization |
Detailed references
Key constraints
- -
enrich_people / enrich_organization: max 10 per call; split larger lists into batches - INLINECODE49 /
find_organizations: paginated — use --page for more results - INLINECODE52 caches page content; if a result has
has_content: true, calling web_fetch on that URL is instant - Seniority levels:
owner, founder, c_suite, partner, vp, head, director, manager, senior, entry, INLINECODE65 - For people enrichment, providing
domain (company domain) alongside name greatly improves match accuracy - CLI output is JSON on stdout, status messages on stderr — parse stdout for data
Lessie — 人员搜索与信息丰富
设置
Lessie 支持两种模式:CLI(默认,推荐)和 MCP 服务器。
模式 A:CLI(默认)
安装 Lessie CLI 二进制文件:
bash
npm install -g @lessie/cli
或者无需安装直接使用:
bash
npx @lessie/cli --version
首次授权:
bash
lessie auth
这将打开浏览器进行登录/注册。令牌会缓存在 ~/.lessie/oauth.json。
验证连接:
bash
lessie status
模式 B:MCP 服务器
添加到您的 MCP 配置中(Claude Code 的 ~/.claude/mcp.json、Cursor 的 ~/.cursor/mcp.json 等):
json
{
mcpServers: {
lessie: {
command: npx,
args: [-y, @lessie/mcp-server],
env: {
LESSIEREMOTEMCP_URL: https://app.lessie.ai/mcp-server/mcp
}
}
}
}
卸载
- - CLI: npm uninstall -g @lessie/cli && rm -rf ~/.lessie/
- MCP: 从您的 .mcp.json 中移除 lessie 条目,并执行 rm -rf ~/.lessie/
快速开始
设置完成后,尝试对 Claude 说:
- - 查找旧金山 Stripe 的工程经理
- 查询 Sam Altman 的联系方式
- 研究 OpenAI — 最新新闻和公开招聘职位
模式检测
在每次会话开始时确定使用哪种模式:
- 1. 检查 lessie CLI 是否可用:运行 lessie status
- 如果命令成功 → 使用 CLI 模式(通过 Bash 调用工具)
- 如果命令失败(未找到)→ 尝试自动安装:npm install -g @lessie/cli
- 安装后,再次运行 lessie status 进行验证
- 如果安装成功 → 使用 CLI 模式
- 如果安装失败(无 npm、权限被拒、网络错误等)→ 检查 MCP 工具是否可用(authorize、use_lessie)
- 如果 MCP 工具可用 → 使用 MCP 模式
- 如果两者都不可用 → 告知用户安装失败,并建议手动安装或设置 MCP
积分与定价
Lessie 是一项基于积分的服务。
新账户可获得免费试用积分。查看您的余额并在 https://lessie.ai/pricing 购买更多积分。
代理会在搜索前消除公司名称歧义,以避免将积分浪费在错误的结果上。
数据与隐私
- - 数据来源: 联系人和公司信息来自公开可用来源(企业目录、社交资料、公司网站)的聚合。
- 查询记录: 搜索查询会被记录,用于服务改进和滥用预防。不会与第三方共享查询数据。
- 数据合规: Lessie 遵循适用的数据保护法规。用户有责任确保检索到的联系数据的使用符合当地法律(GDPR、CAN-SPAM 等)。
- 隐私政策: https://lessie.ai/privacy
- 服务条款: https://lessie.ai/terms-of-service
授权
CLI 模式
- 1. 运行 lessie status 检查令牌有效性。
- 如果 authorized: false → 运行 lessie auth 打开浏览器进行登录。
- 用户完成登录后,再次运行 lessie status 进行确认。
MCP 模式
- 1. 调用 authorize 检查连接状态。
- 如果已授权 → 直接使用工具。
- 如果未授权 → authorize 会返回一个授权 URL。告知用户您需要打开浏览器进行 Lessie 登录/注册,并使用适当的系统命令打开它:
- macOS:open
- Linux:xdg-open
- Windows:start
- 4. 告知用户浏览器已打开,他们需要完成登录/注册。
- 用户确认后,再次调用 authorize 验证连接。
- 如果授权失败(超时、被拒、端口冲突),请遵循 authorize 返回的诊断提示并重试。
始终在打开浏览器前告知用户 — 切勿静默重定向。
代理行为规则
实体消歧
当用户提到一个可能指代多个实体的公司名称时(例如,Manus 可能指 Manus AI、Manus Bio、Manus Plus 等),在搜索前进行消歧:
- 1. 询问用户他们指的是哪个公司,或呈现主要候选者供其选择。
- 如果上下文使其明确(例如,用户之前讨论过 AI 代理),陈述您的假设并确认:你是指做 AI Agent 的 Manus AI (manus.im) 吗?
- 切勿静默假设一个实体优于另一个 — 错误的域名 = 浪费搜索积分和获得不相关的结果。
工具概览
人员
| 工具 | CLI 命令 | 使用时机 |
|---|
| findpeople | lessie find-people | 按职位、公司、地点、资历、受众发现人员。默认策略为 hybrid。如果请求超时或失败,使用 --strategy saasonly 重试 — 它更快(约30秒 vs 约60秒)且更稳定,但召回率可能较低 |
| enrich_people |
lessie enrich-people | 为已知个人填充缺失的个人资料数据(电子邮件、电话、LinkedIn、工作经历) |
| review_people | lessie review-people | 通过网络研究深度鉴定模糊候选者 — 对于明显匹配/不匹配的情况跳过 |
公司
| 工具 | CLI 命令 | 使用时机 |
|---|
| findorganizations | lessie find-orgs | 按名称、关键词、地点、规模、融资发现公司 |
| enrichorganization |
lessie enrich-org | 获取已知公司域名的完整资料 — 行业、员工、融资、技术栈 |
| getcompanyjobpostings | lessie job-postings | 查看活跃职位空缺(需要来自 enrich 的 organizationid) |
| searchcompanynews | lessie company-news | 查找最新新闻文章(需要来自 enrich 的 organization_id) |
网络研究
| 工具 | CLI 命令 | 使用时机 |
|---|
| websearch | lessie web-search | 通用网络搜索;缓存的结果使后续的 webfetch 免费 |
| web_fetch |
lessie web-fetch | 通过 AI 摘要从 URL 提取特定信息 |
详细参考
关键约束
- - enrichpeople / enrichorganization:每次调用最多 10 个;将较大的列表分批处理
- findpeople / findorganizations:分页 — 使用 --page 获取更多结果
- websearch 缓存页面内容;如果结果有 hascontent: true,对该 URL 调用 webfetch 是即时的
- 资历级别:owner、founder、csuite、partner、vp、head、director、manager、senior、entry、intern
- 对于人员信息丰富,提供 domain(公司域名)与姓名一起可大大提高匹配准确度
- CLI 输出为 stdout 上的 JSON,stderr 上的状态消息 — 解析 stdout 获取数据