LinkFetch: LinkedIn MCP

io.linkfetchv2.0.1更新于 Oct 9, 2026

LinkedIn jobs, companies and people for AI agents, plus messages and invites via your own account.

概览

AI 生成的概览

让 AI 助手搜索 LinkedIn 职位、公司和人员,并通过已连接的 LinkedIn 账号发送消息和邀请。

功能
LinkFetch 向助手提供 LinkedIn 工具:搜索公开职位和公司、获取职位与公司详情,并对最多 25 条职位或公司运行 AI 功能,如评分、分类、提取和撰写。它还能管理已保存的线索和线索列表。通过你连接的 LinkedIn 账号,还可进行人员和公司搜索、查看资料、员工、帖子与互动、人脉、邀请、会话、消息、评论、点赞和关注。
适用场景
适用于招聘、销售拓客或市场调研场景:助手需要搜索 LinkedIn 职位、公司和人员,对结果评分或排序,并通过已连接的 LinkedIn 账号发送消息或好友邀请。
运行要求
可使用基于 Streamable HTTP 的远程 MCP 端点并携带 Authorization Bearer 请求头,或在本地通过 stdio 运行 npm 包 linkfetch-mcp,需要 Node.js 18+ 和 LINKFETCH_API_KEY 环境变量。必须使用在仪表板创建的 LinkFetch API 密钥,新账号有免费额度。人员、帖子、收件箱和消息类工具需要连接 LinkedIn 账号。
安装前请注意
每次工具调用都会消耗额度,已连接账号受服务端每日和每周限额约束。相关工具可以以你的 LinkedIn 账号发送消息、好友邀请、评论、点赞和关注,并可保存线索。API 密钥(LINKFETCH_API_KEY 或 Authorization 请求头)属于机密,旧的 sk_live_ 密钥已失效。工具调用和密钥会发送到 LinkFetch 托管服务器。

安装

在 SourceWeft 中

  1. 打开 控制台中的 LinkFetch: LinkedIn MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "linkedin": {
      "type": "http",
      "url": "https://linkfetch.io/mcp"
    }
  }
}

README

LinkedIn MCP server for Claude, Cursor and any AI agent

[npm] [License: MIT] [MCP Registry]

linkfetch-mcp gives any AI agent a full set of LinkedIn tools: search every public LinkedIn job since April 2026, look up companies, score and sort them with AI functions, and, through a LinkedIn account you connect, search people and posts, read profiles and your inbox, and send messages and connection requests.

It is a small stdio bridge to LinkFetch's hosted MCP server: every tool call goes to https://linkfetch.io/mcp with your API key, so the tools and prices are always current and nothing runs a browser on your machine. If your client supports remote MCP over HTTP, you can skip this package and use the URL directly.

Full tool list with prices, and setup for each client: linkfetch.io/mcp/claude

Tools

  • Jobs and companies (no LinkedIn account needed): search_jobs, get_job, search_companies, get_company
  • AI functions: ai_score, ai_classify, ai_extract, ai_write, each over up to 25 jobs or companies
  • Your leads: list_leads, save_lead, list_lead_lists
  • Through your connected LinkedIn account: people and company search, profiles, employees, posts and reactions, connections, invitations, conversations, messages, comments, reactions, follows

Each call costs a flat number of credits, stated in the tool's description. Every connected account works inside daily and weekly limits that LinkFetch enforces whatever the agent asks for.

Setup

Create an API key (lf_…) on the MCP page of your LinkFetch dashboard. New accounts start with free credits. Then add the server to your client: every client runs npx -y linkfetch-mcp with LINKFETCH_API_KEY set. Node.js 18+ is required.

Upgrading from 0.1.x? Keys starting with sk_live_ stopped working when LinkFetch 2 launched in October 2026. Create a new lf_… key and replace it in your config.

Claude Desktop

Settings → Developer → Edit Config, or edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "linkfetch": {      "command": "npx",      "args": ["-y", "linkfetch-mcp"],      "env": { "LINKFETCH_API_KEY": "lf_..." }    }  }}

Fully quit and reopen Claude.

Claude Code

bash
claude mcp add linkfetch -e LINKFETCH_API_KEY=lf_... -- npx -y linkfetch-mcp

Cursor, Windsurf, Gemini CLI, Cline

These use the same mcpServers block as Claude Desktop above. Put it in:

ClientConfig file
Cursor~/.cursor/mcp.json (global) or .cursor/mcp.json (project)
Windsurf~/.codeium/windsurf/mcp_config.json
Gemini CLI~/.gemini/settings.json
ClineMCP Servers → Configure → cline_mcp_settings.json

VS Code (GitHub Copilot agent mode)

.vscode/mcp.json:

json
{  "servers": {    "linkfetch": {      "command": "npx",      "args": ["-y", "linkfetch-mcp"],      "env": { "LINKFETCH_API_KEY": "lf_..." }    }  }}

OpenAI Codex CLI

~/.codex/config.toml:

toml
[mcp_servers.linkfetch]command = "npx"args = ["-y", "linkfetch-mcp"]env = { LINKFETCH_API_KEY = "lf_..." }

Zed

settings.json:

json
{  "context_servers": {    "linkfetch": {      "command": "npx",      "args": ["-y", "linkfetch-mcp"],      "env": { "LINKFETCH_API_KEY": "lf_..." }    }  }}

Your own agent

Any MCP client library can spawn the server over stdio. OpenAI Agents SDK (Python):

python
from agents import Agent, Runnerfrom agents.mcp import MCPServerStdio
async with MCPServerStdio(params={    "command": "npx",    "args": ["-y", "linkfetch-mcp"],    "env": {"LINKFETCH_API_KEY": "lf_..."},}) as linkfetch:    agent = Agent(name="LinkedIn researcher", mcp_servers=[linkfetch])    result = await Runner.run(agent, "Which companies in Berlin started hiring data engineers this week?")

LangChain users can load the same server with langchain-mcp-adapters.

No install: remote MCP

Clients that support remote MCP over Streamable HTTP can connect to the hosted server directly:

  • URL: https://linkfetch.io/mcp
  • Header: Authorization: Bearer lf_...

Claude (desktop or claude.ai): Settings → Connectors → Add custom connector, with https://linkfetch.io/mcp?key=lf_... as the URL.

Claude Code: claude mcp add --transport http linkfetch https://linkfetch.io/mcp --header "Authorization: Bearer lf_..."

Environment variables

VariableRequiredDefault
LINKFETCH_API_KEYyesYour lf_… key
LINKFETCH_MCP_URLnohttps://linkfetch.io/mcpPoint at another LinkFetch MCP endpoint

Errors

A missing, old or rejected key comes back as an error on every request, with what to do about it, so the agent can tell you. Tool errors (no credits left, no LinkedIn account connected, a limit reached) come from the hosted server as normal tool results.

Development

bash
npm installnpm run buildLINKFETCH_API_KEY=lf_... node dist/index.js

src/index.ts is the whole server: it opens one MCP client connection to the hosted server and forwards tools/list and tools/call to it.

License

MIT

来源:README.md,提交 fd05ba1

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v2.0.1最新Oct 9, 2026