nx-mcp weekly downloads statistics
By nrwl (2 listings) · npm · MCP servers
A Model Context Protocol server implementation for Nx
nx-mcp has 95,399 recorded weekly downloads on npm, a decrease of 21.1% over the past 30 days, ranking #647 of 3,247 tracked listings.
About nx-mcp
Nx MCP Server
A Model Context Protocol server implementation for Nx.
Overview
The Nx MCP server gives LLMs deep access to your monorepo’s structure: project relationships, file mappings, runnable tasks, ownership info, tech stacks, Nx generators, and even Nx documentation. With this context, LLMs can generate code tailored to your stack, understand the impact of a change, and apply modifications across connected files with precision. This is possible because Nx already understands the higher-level architecture of your workspace, and monorepos bring all relevant projects into one place.
Read more in our blog post and in our docs.
Installation and Usage
There are two ways to use this MCP server:
a) Run it via the nx-mcp package
Simply invoke the MCP server via npx or your package manager's equivalent.
Here's an example of a mcp.json configuration:
{
"servers": {
"nx-mcp": {
"type": "stdio",
"command": "npx",
"args": ["nx-mcp@latest"]
}
}
}
<details>
<summary>Claude Code</summary>
claude mcp add nx-mcp npx nx-mcp@latest
</details>
<details>
<summary>VSCode</summary>
code --add-mcp '{"name":"nx-mcp","command":"npx","args":["nx-mcp"]}'
</details>
<details>
<summary>Warp</summary>
Go to Settings -> AI -> Manage MCP Servers -> + Add to add an MCP Server.
Alternatively, use the slash command /add-mcp in the Warp Agent prompt.
{
"nx-mcp": {
"command": "npx",
"args": ["nx-mcp@latest"]
}
}
</details>
Refer to your AI tool's documentation for how to register an MCP server. For example, Cursor or Claude Desktop support MCP.
If you want to host the server instead of communicating via stdio, use --transport http and optionally --port (default 9921). Clients connect to http://localhost:<port>/mcp using the Streamable HTTP transport. The server has no authentication, so it only listens on loopback (127.0.0.1 and ::1) and rejects requests whose Host or Origin header isn't a local address. To reach it from outside, for example when it runs in a container, pass --host 0.0.0.0 (or a specific address) and keep the port off untrusted networks. It supports multiple concurrent connections, allowing different clients to connect simultaneously with independent sessions. The deprecated SSE transport (--sse, --transport sse) has been removed.
Run nx-mcp --help to see what options are available.
b) Use the Nx Console extension
If you're using Cursor you can directly install the Nx Console extension which automatically manages the MCP server for you.
More info:
Environment Files
By default, Nx MCP loads .local.env, .env.local, and .env from the
workspace root. To skip this loading and preserve the environment supplied by
your launcher, set NX_LOAD_DOT_ENV_FILES to the string "false" before
starting the server:
{
"servers": {
"nx-mcp": {
"type": "stdio",
"command": "npx",
"args": ["nx-mcp@latest"],
"env": {
"NX_LOAD_DOT_ENV_FILES": "false"
}
}
}
}
This also skips root dotenv loading when Nx Console resolves its IDE socket
path. If you use a custom socket directory, supply NX_SOCKET_DIR explicitly
to both the server and the editor process. The setting does not undo environment
variables loaded by a parent process or by other tools.
Minimal Mode (Default)
By default, the Nx MCP server runs in minimal mode, which hides workspace analysis tools that overlap with AI tool skills/instructions. This reduces tool clutter and context window usage for AI agents that already have access to equivalent functionality through skills.
The following tools are hidden in minimal mode:
nx_available_pluginsnx_workspace_pathnx_workspacenx_project_detailsnx_generatorsnx_generator_schema
To disable minimal mode and expose all tools, use the --no-minimal flag:
npx nx-mcp@latest --no-minimal
Available Tools
The Nx MCP server provides a comprehensive set of tools for interacting with your Nx workspace.
Always Available
- nx_docs: Returns documentation sections relevant to user queries about Nx
- nx_current_running_tasks_details: Lists currently running Nx TUI processes and task statuses
- nx_current_running_task_output: Returns terminal output for specific running tasks
- nx_visualize_graph: Visualizes the Nx graph (requires running IDE instance)
Hidden in Minimal Mode (use --no-minimal to enable)
- nx_available_plugins: Lists available Nx plugins from the core team and local workspace plugins
- nx_workspace_path: Returns the path to the Nx workspace root
- nx_workspace: Returns readable representation of project graph and nx.json configuration
- nx_project_details: Returns complete project configuration in JSON format for a given project
- nx_generators: Returns list of generators relevant to user queries
- nx_generator_schema: Returns detailed JSON schema for a specific Nx generator
Nx Cloud Tools (only available w/ Nx Cloud enabled)
These tools provide insights and interactions with your Nx Cloud CI/CD data:…
Description from the npm listing.
- nx
- monorepo
- ai
- mcp
- model
- context
- protocol
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm MCP servers plugins
All 20 nx-mcp alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/nx-mcp. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.