Skip to content
PluginStats

@lovable.dev/mcp-js weekly downloads statistics

By lovable.dev · npm · MCP servers

Author MCP servers for Lovable apps. Declare tools with defineTool, register them in defineMcp, and a framework adapter (TanStack or Supabase Edge Functions) emits the route(s) at build time.

View on npm Fresh · Dec 6, 2026

@lovable.dev/mcp-js has 741,520 recorded weekly downloads on npm, a decrease of 12.8% over the past 30 days, ranking #327 of 3,247 tracked listings.

Weekly downloads
741,520
Official API · Dec 5, 2026
7-day growth
+7.2%
+49.7K weekly downloads
30-day growth
-12.8%
-109.3K weekly downloads
90-day growth
+244%
+525.8K weekly downloads
Rank
#327
▼ 7 in 7 days

About @lovable.dev/mcp-js

@lovable.dev/mcp-js

Author MCP servers for Lovable apps. Declare tools with defineTool, register them with defineMcp, and a Vite plugin emits the framework-specific routes at build time for TanStack or Supabase Edge Functions.

Vite is an optional peer dependency: deployed MCP handlers do not need it. Both /stacks/*/vite plugins and lovable-mcp-extract-manifest require an explicitly installed Vite version >=5.0.0 <9.0.0. Keep your project's existing compatible version, or install one with npm install -D vite@^7. Build and manifest-extraction jobs must include dev dependencies; runtime-only deployments can omit them.

// src/lib/mcp/tools/echo.ts
import { defineTool } from "@lovable.dev/mcp-js";
import { z } from "zod";

export default defineTool({
  name: "echo",
  title: "Echo",
  description: "Echo the input text back.",
  inputSchema: { text: z.string().min(1) },
  handler: ({ text }) => ({ content: [{ type: "text", text }] }),
});
// src/lib/mcp/index.ts
import { defineMcp } from "@lovable.dev/mcp-js";
import echoTool from "./tools/echo";

export default defineMcp({
  name: "my-app-mcp",
  title: "My App MCP",
  version: "0.1.0",
  instructions: "Tools for interacting with My App. Use `echo` to verify connectivity.",
  tools: [echoTool],
});
// vite.config.ts
import { defineConfig } from "vite";
import { mcpPlugin } from "@lovable.dev/mcp-js/stacks/tanstack/vite";

export default defineConfig({ plugins: [mcpPlugin()] });

That's the whole authoring surface. No imperative server construction, no route handlers, no JSON-RPC envelope, no transport instantiation — all wrapped.

Manifest extraction allows 512 tools in the evaluated defineMcp({ tools }) array, including conditional and programmatically generated tools. Above that limit, extraction writes the current manifest and exits with an error; reduce the array to 512 tools or fewer. This is an extraction limit, not a runtime cap: the SDK does not truncate tools/list.

inputSchema is closed: a tools/call carrying an argument key the schema does not declare fails in-band (isError: true, naming the key) instead of silently dropping it, and tools/list advertises additionalProperties: false. Set strict: false on a tool to accept and drop unknown keys instead.

MCP POST bodies default to 1 MiB and tool arguments to 10,000 combined object members and array elements. Larger bodies receive HTTP 413; arguments over the element limit return a tool error before the handler runs. These defaults apply to both protocol eras, including Skills and app-context requests.

For tools that need larger inputs, set limits in defineMcp, for example limits: { maxRequestBodySize: 4 * 1024 * 1024, maxToolInputElements: 50_000 }. maxRequestBodySize is measured in bytes. Each override must be a positive safe integer; zero, fractional values, NaN and Infinity are rejected when the server is declared. Omitted fields keep their defaults. Hosting-provider limits still apply.

Task workflows as skills

Experimental: Skills support follows the developing MCP Skills extension. Client support varies, and the integration may change as the specification evolves.

Keep shared terminology and server-wide rules in instructions, individual tool contracts in tool descriptions, and task procedures in Agent Skills. Import a dedicated skill directory and pass it in defineMcp({ skills: [refunds] }):

import refunds from "./skills/refunds?skill";

Add /// <reference types="@lovable.dev/mcp-js/skill-imports" /> to an included .d.ts file. Imports use relative or absolute directory paths, not aliases. Both stack plugins and the manifest extractor compile these imports; the deployed server needs no source directory or filesystem access. Imported values have the opaque Skill type: pass them to defineMcp, rather than constructing or inspecting compiled manifests. Each directory needs SKILL.md with valid YAML name and description; name must match its directory. All JSON-compatible frontmatter fields are preserved. Supporting files must be UTF-8 text. Binary content, ASCII controls other than tab/CR/LF (including DEL), symlinks, cycles and metadata that cannot survive JSON serialization fail the build. Text scripts can be included, but the SDK neither installs nor executes them.

Every ordinary file beneath an imported directory is published recursively. Hidden entries (a dot-prefixed path segment) fail the build unless each file is explicitly allowlisted on that import:

import refunds from "./skills/refunds?allowHidden=templates/.prettierrc&allowHidden=.config/example.json&skill";

Repeat allowHidden for each exact, case-sensitive file path relative to the skill directory. Directory-wide grants, globs, traversal paths, duplicate entries and entries that do not name an existing file are rejected. A hidden directory is traversed only for listed descendants; every file beneath it needs its own entry. An empty hidden directory fails too. Allowed files still pass the text-only and symlink checks. Combine allowHidden with path in either order, keeping skill last; percent-encode reserved characters in values (for example %26 for & and %25 for %).

Use dedicated publication directories without credentials or private documents. The allowlist prevents accidental hidden-file publication, not secrets in ordinary or explicitly approved files. Files use the same server-level OAuth and origin policy as tools. Tool visibility does not control Skill visibility; use a conditional Skill registration when callers need different procedures.…

Description from the npm listing.

  • mcp
  • model-context-protocol
  • tanstack
  • vite
  • lovable

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

@lovable.dev/mcp-js weekly downloads on npm, last 90 days: 741,520 weekly downloads as of Dec 5, 2026, +244% over 90 days.@lovable.dev/mcp-jsWeekly downloads on npm · Last 90 days741,520downloads / week+244% over 90 days0200K400K600K800K1MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@lovable.dev/mcp-js weekly downloads on npm, last 90 days: 741,520 weekly downloads as of Dec 5, 2026, +244% over 90 days.

7/30/90-day growth

@lovable.dev/mcp-js weekly downloads growth on npm: +7.2% over 7 days, -12.8% over 30 days, +244% over 90 days.@lovable.dev/mcp-jsWeekly downloads growth on npm741,520downloads / week now7-day growth+49,706 weekly downloads+7.2%30-day growth-109,296 weekly downloads-12.8%90-day growth+525,821 weekly downloads+244%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@lovable.dev/mcp-js weekly downloads growth on npm: +7.2% over 7 days, -12.8% over 30 days, +244% over 90 days.

Ranking history

@lovable.dev/mcp-js npm ranking history: currently #327 (by weekly downloads).@lovable.dev/mcp-jsnpm ranking · by weekly downloads · Last 90 days#327current rank#100#150#200#250#300#350#400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@lovable.dev/mcp-js npm ranking history: currently #327 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 17, #7 (overall #327)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 2, #6 (overall #26)
MCP servers: every listing in weekly downloads order

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 (592)
Recent weekly downloads observations for @lovable.dev/mcp-js
Date (UTC)Weekly downloadsChange vs. previous
741,520-83.6K
825,147+24.1K
801,026+30.2K
770,832+28.5K
742,326+29.4K
712,950+12.6K
700,331+8.5K
691,814+11.2K
680,600+9.7K
670,918+12K
658,934+4.4K
654,572+6.2K
648,421-4.1K
652,477—

Similar npm MCP servers plugins

All 20 @lovable.dev/mcp-js alternatives

Data 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/@lovable.dev/mcp-js. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.