Proof of concept. This is an experiment, not a supported product. It may change or stop working without notice.
Just want to ask your AI about your LinkedIn data? Use MemberData.eu.
This repository is the open-source command-line tool for technical users: you create your own LinkedIn developer app, manage access tokens and run everything in a terminal. MemberData.eu does all of that for you. Sign in, authorise LinkedIn with a few clicks and your data is synchronised automatically, stored in the EU and ready for the AI assistant you already use through MCP. No developer app, no tokens, no installation, and it stays up to date by itself. Leave your email at MemberData.eu to be first in line.
member downloads your own LinkedIn data (connections, messages, invitations, positions, skills and more) to your
computer through LinkedIn's official
Member Data Portability API.
You can then search it yourself, or let an AI agent such as Claude Code or Codex answer questions about it.
It only reads. It never changes your LinkedIn account and never asks for your LinkedIn password. It works only for LinkedIn members in the EEA and Switzerland. This project is independent and not affiliated with or endorsed by LinkedIn.
Get the file for your computer from the latest release. The files are not code signed yet, so your computer warns you the first time.
- Windows: download
member-win-x64.exe, rename it tomember.exeand open PowerShell in that folder. If Windows says "Windows protected your PC", click More info, then Run anyway. Type.\member.exewhere the steps below saymember. - Mac (M1 or newer): download
member-osx-arm64.tar.gz, then in Terminal:cd ~/Downloads tar -xzf member-osx-arm64.tar.gz xattr -d com.apple.quarantine member sudo mv member /usr/local/bin/
- Linux: download
member-linux-x64.tar.gz, runtar -xzf member-linux-x64.tar.gzand movememberto a folder on yourPATH.
member runs in a terminal. Double-clicking it only flashes a window.
LinkedIn hands out this data only to a developer app of your own. Creating one is free and takes about ten minutes: follow docs/dma-setup.md. You end up with a long access token.
member auth import-token --expires-in-days 365Paste the token at the prompt. It is hidden while you paste, checked with LinkedIn, and stored in your computer's
keychain. Never paste it anywhere else, including chats and AI agents. On a Mac, choose Always Allow if asked
whether member may use the keychain item.
member syncThe first run takes about a minute. Run member sync again at least once a week: LinkedIn keeps recent activity
(likes, comments, messages) for only 28 days.
member domains list # what kinds of data you have
member data list --domain CONNECTIONS --limit 20
member skill install # let Claude Code, Codex and others answer questions about itThen ask your agent, for example "Who do I know at Spotify?". Remember that an agent sends what it reads to its model provider, and your data includes messages and information about other people.
That's all most people need. The rest of this page is reference.
| Command | What it does |
|---|---|
member auth import-token [--stdin] [--expires-at T | --expires-in-days N] |
Verify the token with LinkedIn and store it securely |
member auth status |
Credential source, whether a token exists, expiry, what to do (offline) |
member auth logout |
Remove the stored token; the database is kept |
member auth registration |
Ask LinkedIn whether you are registered for DMA data generation |
member auth register |
Ask LinkedIn to start data generation (only if registration reports none) |
member sync [--full] [--domain D] |
Fetch the changelog, and the snapshot when needed or asked |
member sync status |
Checkpoints, recent runs, changelog retention warnings (offline) |
member domains list |
Documented and discovered domains with local status (offline) |
member data list [--domain D] [--limit N] [--offset N] [--include-deleted] |
Stored snapshot records (offline) |
member data get --domain D --id KEY |
One record (offline) |
member data query "SELECT …" | --file q.sql [--max-rows N] [--timeout S] |
Read-only SQL (offline) |
member database info |
Path, size, schema, member binding, counts |
member database purge --yes |
Delete the local database |
member skill install [--target all|claude|agents] [--dir D] / member skill show |
Install or print the coding-agent skill |
Global options are --database PATH, --format json|table and --credential-source keychain|environment. Output is
one JSON document on stdout when stdout is redirected (or with --format json), and progress goes to stderr.
Exit codes are listed in docs/troubleshooting.md.
member data query "SELECT domain, count(*) AS n FROM snapshot_records WHERE deleted_at IS NULL GROUP BY domain"skills/member/SKILL.md teaches agents to answer questions with member: offline first,
JSON output, SQL over snapshot_records, asking before syncing. It is built into member:
member skill install # both locations below
member skill install --target claude # only ~/.claude/skills (Claude Code)
member skill install --dir ./.agents/skills # a project's skills directory, or any other location
member skill show # print SKILL.md, e.g. for an agent with another skills folder| Target | Directory | Read by |
|---|---|---|
claude |
~/.claude/skills/member/ |
Claude Code (also GitHub Copilot and OpenCode) |
agents |
~/.agents/skills/member/ |
Codex (documented user location), and per their docs also Gemini CLI, GitHub Copilot and OpenCode |
Running member skill install again after an upgrade updates the skill. It refuses to overwrite a
member/SKILL.md it didn't write unless you add --force, and it leaves a symlinked member folder alone. When
working on this repository, link instead of installing:
ln -s "$PWD/skills/member" ~/.claude/skills/member && ln -s "$PWD/skills/member" ~/.agents/skills/member.
Each release has a SHA256SUMS file and a build provenance attestation:
gh attestation verify <file> -R activout/Activout.MemberData.
- LinkedIn setup: developer app, product, scope, token generation
- Troubleshooting: exit codes and common errors
- API findings: what the API actually does, verified against a live account
- Storage and sync: tables, record identity, reconciliation, changelog, 28-day gaps
- Security and privacy: secret storage, environment opt-in, data handling
- Live testing: how the real-account test was run, and its results
dotnet test # offline, synthetic fixtures only
dotnet pack -c Release # writes artifacts/*.nupkg
./scripts/verify-pack.sh # installs the packed tool into a temp dir and runs it
dotnet publish src/Activout.MemberData.Cli -c Release -r osx-arm64 --self-contained \
-p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:EnableCompressionInSingleFile=truePush a tag such as v1.1.0 (or v1.1.0-rc.1 for a prerelease). The Publish workflow tests, packs, builds the three
single-file executables on their own operating systems, attests build provenance, pushes both packages to NuGet.org
via trusted publishing and creates the GitHub release with the executables and SHA256SUMS.
The download above suits most people. One of these may fit you better:
- LinkedIn's own export: no app or token needed. Under Settings → Data privacy → Get a copy of your data,
LinkedIn emails you a ZIP of CSV files within a day. It suits a one-off copy;
membersuits keeping an up-to-date copy you can query. - .NET tool: if you have the
.NET 10 SDK,
dotnet tool install --global Activout.MemberData.Cligives the samemembercommand, anddotnet tool updatekeeps it current. - .NET library:
dotnet add package Activout.MemberDatagives typed access to the Member Snapshot, Changelog and Authorization APIs with raw JSON preserved and no database, for building your own program.
Other open-source projects use the same LinkedIn API. They are not part of this project, and we haven't reviewed them:
- Unlinked: an MCP server that brings your LinkedIn profile and work history into AI assistants such as Claude Desktop and GitHub Copilot.
- People Memory: a private graph of the people you know, in your own PostgreSQL database, with an MCP server and importers for LinkedIn, contacts and more.
- LinkedIn Evidence MCP: turns your CV, documents and LinkedIn data into verified claims, profile suggestions and post drafts, with an MCP server and a review dashboard.
MIT. See LICENSE.