Skip to content

Socket MCP Server

Check npm, PyPI and other packages for supply chain risk before you install them.

Officialby SocketHosted or on your computerChecked November 18, 2026

Socket's MCP server lets Claude look up Socket's 0 to 100 scores for supply chain risk, vulnerabilities, quality, maintenance and license on packages from npm, PyPI, Go, Maven, NuGet, RubyGems, Cargo and Composer, several at a time. In our checks on November 8 and November 18, 2026 the hosted server at mcp.socket.dev scored packages before we signed in; with a Socket account connected it can also list your organization's alerts, read Socket's threat feed and open the files inside a published package.

Who is Socket MCP for?

  • Developers who let AI add dependencies
  • Open source maintainers
  • Security teams watching supply chain risk

What can you ask Socket MCP to do?

Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.

Prompt 1
Score every dependency in this package.json with Socket and list anything below 80 on vulnerability or supply chain.
Prompt 2
Is version 4.18.2 of express safe to use, or should I upgrade? Compare its Socket scores with the latest version.
Prompt 3
Show the critical open alerts for our Socket organization and which repositories they come from.

How to connect Socket to Claude

MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, ChatGPT, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:

New to MCP? Read what an MCP server is and how to add one.

Easiest: paste this into Claude Code
Connect the Socket MCP server to Claude Code for me: run this command: claude mcp add --transport http socket-mcp https://mcp.socket.dev/
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.

Or do it yourself:

claude mcp add --transport http socket-mcp https://mcp.socket.dev/

Type /mcp inside Claude Code, pick the server and choose Authenticate to sign in.

Hosted address: https://mcp.socket.dev/

Unlock the setup steps

Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.

No spam. One click to unsubscribe. We use your email to send you this bonus, new guides and news about our courses.

Good to know

In Claude Code run /mcp, pick socket-mcp and choose Authenticate. The local server (npm @socketsecurity/mcp) uses a SOCKET_API_TOKEN instead.

How did we check Socket MCP?

Checked on November 8, 2026: the SocketDev/socket-mcp repo (MIT), its service reference, the @socketsecurity/mcp npm package (0.3.0 at the time) and Socket's pricing page. We then connected to the hosted server without signing in: it listed 7 tools, and depscore returned scores for 7 package versions. lodash 4.17.15 scored 70 on vulnerability against 83 for 4.17.21, and event-stream 3.3.6, the version behind the 2018 flatmap-stream attack, scored 25. On November 18, 2026 we ran the same check again: the hosted server now reports version 0.4.0 (released November 12), lists the same 7 tools and returned the same scores without a sign-in, and the repo had 142 stars. We keep the raw logs.

Source: github.com/SocketDev/socket-mcp

What to do next

Before your next npm install, paste the package name and exact version and ask for its Socket scores; anything under 70 deserves a second look. On a bigger change, ask Claude in plan mode to list every package it wants to add before it writes code, then score that list: the free plan mode guide has the prompts and a plan review checklist, and the Claude Code course (early access) builds the habit of catching AI mistakes before they cost you.

What do people ask about Socket MCP?

Do I need a Socket account?

For your organization's alerts, the threat feed and package files, yes: those tools answered Authentication required in our check. Package scores (depscore) worked without a sign-in on November 8 and again on November 18, 2026, but Socket's README says the hosted server requires sign-in for every call, so plan to sign in. The Free plan is enough to start.

What do the Socket scores mean?

Each package version gets 0 to 100 scores for supply chain, quality, maintenance, vulnerability and license, and lower means riskier. In our run, express 4.18.2 scored 98 on vulnerability and the latest express, 5.3.0, scored 100, while event-stream 3.3.6 scored 25. Ask for exact versions: Socket strips ^ and ~, and unknown resolves to the latest release.

Which package ecosystems does it cover?

Scores cover npm, PyPI, Go modules, Maven, RubyGems, NuGet, Cargo and Composer for PHP. Browsing the files inside a package also works for Chrome and Open VSX extensions, with a Socket sign-in.

How is it different from npm audit?

npm audit asks the registry for known vulnerabilities in the packages you have already installed in one project. Socket scores a package before you install it, in any of its ecosystems, and adds supply chain, maintenance and license signals; its pricing page says it detects more than 70 risk types.

We wrote these answers from the official pages of each product named, read on November 18, 2026.