
Unlinked
io.github.larsbaunwall由 GitHub 账号 larsbaunwall 发布v2.0.0更新于 Oct 24, 2026
Your LinkedIn profile and recent activity as JSON, via CLI or MCP server (EEA and Switzerland only).
概览
以 JSON 读取你自己的 LinkedIn 个人资料、各栏目和近期动态,并通过四个只读 MCP 工具提供给助手。
- 可以做什么
- Unlinked 通过 LinkedIn 官方的会员数据可携 API 读取你自己的 LinkedIn 数据,并以结构化 JSON 返回。作为 MCP 服务器,它提供四个只读工具:linkedin_get_profile 一次返回简历并合并近期修改,linkedin_get_section 按 limit 和 cursor 分页读取单个栏目,linkedin_get_recent_activity 返回最近 28 天的变化,linkedin_check_access 检查 LinkedIn 是否正在向该应用共享近期变更。每个工具返回结构化 JSON 和一行摘要,结果带有 freshness 信息。
- 适用场景
- 当你希望助手直接回答关于自己 LinkedIn 资料、技能、经历、帖子、评论或联系人的问题,而不必手动导出数据时使用。适合欧洲经济区或瑞士的会员,尤其是需要最新数据、包括 LinkedIn 导出尚未包含的最近 28 天修改。它是只读的,不能用于发布或修改 LinkedIn 内容。
- 运行要求
- 通过 npx 在本地运行(需 Node.js 22+)。需要 LINKEDIN_TOKEN 中的 LinkedIn 会员访问令牌,来自 LinkedIn OAuth Token Generator,并要求已创建带 Member Data Portability API (Member) 产品的 LinkedIn 开发者应用。仅限欧洲经济区和瑞士的会员使用。可选 UNLINKED_CACHE_TTL 控制缓存时长。需要访问 LinkedIn API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Unlinked,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[Unlinked logo] Unlinked
Your LinkedIn profile, up to date, in one call. From your terminal or from your AI assistant.
Unlinked reads your own data from LinkedIn's official Member Data Portability API and hands it over as tidy JSON. It works two ways:
- CLI:
unlinked profileprints your profile as JSON. - MCP server:
unlinked --mcpgives Model Context Protocol clients such as Claude Desktop and GitHub Copilot four read-only tools.
LinkedIn's data export can lag behind what you just did. Unlinked also reads your recent changes (the last 28 days) and merges them in, so a headline you edited yesterday or a comment you wrote last week is already there.
:eu: EEA / Switzerland only. LinkedIn's Member Data Portability API is currently available only to members located in the European Economic Area and Switzerland. Thank you, Digital Markets Act (DMA)!
:warning: Use at your own risk. You use Unlinked entirely on your own responsibility. See the Disclaimer.
Quickstart
You need Node.js 22+ and a member access token from the LinkedIn OAuth Token Generator (it requires a LinkedIn Developer app with the Member Data Portability API (Member) product).
Results are JSON on stdout (use --compact for one line). Errors are JSON on stderr, with exit code 1 for LinkedIn or token problems and 2 for usage mistakes such as an unknown section.
Use it from an AI assistant
Add --mcp so Unlinked runs as an MCP server.
Claude Desktop
Add to your claude_desktop_config.json:
The config file is typically at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
GitHub Copilot (VS Code)
Add to your user-level MCP config or a workspace .vscode/mcp.json:
Tools
All four are read-only. Each returns structured JSON plus a one-line summary.
Sections
Sections use the names you see on LinkedIn. profile embeds the small ones; the big ones (marked paged) are fetched with section <id>.
Sensitive data is never read: messages, login history, phone numbers, email addresses, contacts, ads, searches, receipts and similar. Private details inside the sections above (birth date, home address and so on) are removed.
Featured, your profile photo and banner, and contact info (beyond websites) are not in LinkedIn's API, so Unlinked cannot return them.
Freshness and cache
Every answer has a freshness block: when the data was fetched (asOf), how many recent changes were merged in, which sections have edits LinkedIn's export does not show yet (pendingEdits), and which came back empty.
An empty section has two possible meanings: you have no entries there, or LinkedIn has not prepared it yet (new data can take up to 24 hours after you first grant consent).
To be kind to LinkedIn's API, results are cached for up to 6 hours. The CLI keeps the cache in your OS cache folder (readable only by you, never containing your token); the MCP server keeps it in memory only.
Configuration
LINKEDIN_API_VERSION is no longer used. LinkedIn accepts only version 202312 for this API, so Unlinked always sends that and warns on stderr if the variable is set to anything else.
Upgrading from 1.x
2.0 is a breaking release.
- MCP configs need
--mcpinargs. Without it Unlinked runs as a CLI and exits. - Five tools became four:
linkedin_get_profile,linkedin_get_section,linkedin_get_recent_activityandlinkedin_check_access.linkedin_get_activity,linkedin_get_recent_changesand thedomain/maxPagesinputs are gone. - Sections use LinkedIn's UI names (
experience,reactions) instead of internal ones (POSITIONS,ALL_LIKES), and rows use camelCase keys without empty values. - Recent changes are merged into the data for you; there is no
startTimepolling. - Sensitive sections are blocked, and private fields are removed.
Security
- Treat tool output as untrusted data. Sections such as recommendations you received, invitation messages, and connection names and headlines contain text written by other people. An assistant should read it as data and never follow instructions found in it (prompt injection).
- The disk cache is plaintext. The CLI cache (up to 6 hours, readable only by you) holds your profile plus connections, invitations and job-application data, unencrypted. Your token is never written to it. Run
unlinked cache clearto remove it. The MCP server keeps its cache in memory only.
Development
See AGENTS.md for implementation guidance.
Disclaimer
Use of Unlinked is at your sole risk and responsibility.
Unlinked is provided "as is" and "as available", without warranty of any kind, express or implied. It is an independent, unofficial open-source project. It is not affiliated with, endorsed by, or sponsored by LinkedIn, GitHub, or Microsoft.
By installing or using Unlinked, you accept that:
- You are solely responsible for how you use it and for everything that follows from that use. This includes your LinkedIn access token and its storage, the data you retrieve, the local cache on your machine, and the AI assistants, MCP clients, and third-party services you give that data to.
- You are responsible for compliance with LinkedIn's terms, policies, and API product terms, with applicable laws (including data protection law such as the GDPR), and with the terms of any AI assistant or service you connect. Your LinkedIn account and API access may be limited, suspended, or terminated by LinkedIn.
- You bear all risk of loss, damage, or harm of any kind, including loss or exposure of data, account restrictions, incorrect or outdated output, and actions taken by AI assistants based on that output.
- The developer and contributors accept no liability and, to the fullest extent permitted by law, disclaim all liability for any claim, damage, or loss, whether direct, indirect, incidental, special, consequential, or otherwise, and whether in contract, tort, or otherwise, arising from or in connection with Unlinked or its use. You release them from any such claim and agree to indemnify and hold them harmless against any claim brought by a third party that arises from your use of Unlinked.
Nothing in this notice limits any liability that cannot be excluded under applicable law. This notice supplements the MIT License, which also applies.
License
MIT
来源:README.md,提交 21f46c1
工具
0版本历史
2- v2.0.0最新Oct 6, 2026
- v1.0.4Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分