Skip to main content
Glama

launchlint

Pre-launch auditor for web apps, landing pages, and marketing campaigns — CLI + TypeScript SDK + GitHub Action + MCP Server.

Catch attribution-breaking mistakes, broken social previews, and privacy leaks before you ship.

Why launchlint?

Most linters ignore marketing & growth correctness. One typo in a campaign link or an internal utm_source silently ruins GA4 attribution, breaks WhatsApp/LinkedIn link previews, or leaks user emails into analytics logs.

launchlint checks your local codebase (.html, .astro, .tsx, .jsx, .md, .mdx) or any live URL for:

  • UTM & GA4 Attribution

    • utm/internal-link — flags internal links carrying utm_* (which overwrite original attribution and split GA4 sessions).

    • utm/typo-parameter — catches utm_sources, utm_campaing, utm-medium, etc.

    • utm/missing-required-pair — ensures utm_source and utm_medium appear together.

    • utm/uppercase-or-whitespace — flags unnormalized casing/spaces that fragment GA4 reports.

    • utm/duplicate-parameter — catches repeated utm_* keys.

    • utm/stripped-on-redirect — (live mode) detects 301/302 redirects that drop UTM query params.

  • Open Graph, Canonical & JSON-LD

    • meta/missing-title, meta/missing-description, meta/missing-canonical

    • meta/relative-canonical, meta/relative-og-image (catches relative og:image paths ignored by X/LinkedIn/WhatsApp)

    • meta/missing-og-core, meta/missing-twitter-card

    • schema/invalid-jsonld, schema/missing-context

  • Link Security & Privacy

    • links/pii-leak — blocks emails, phone numbers, or API tokens in query strings.

    • links/unsafe-target-blank — checks rel="noopener" on target="_blank".

    • links/insecure-http, links/empty-href, links/broken-link

Related MCP server: Keytomic

Quick Start

# Audit a local project directory
npx @joseimsss/launchlint ./dist

# Audit a live landing page + check external links & redirect UTM preservation
npx @joseimsss/launchlint https://example.com --live-links --origin https://example.com

# Output JSON or GitHub Actions annotations
npx @joseimsss/launchlint ./src --json
npx @joseimsss/launchlint ./dist --gha --strict

Programmatic SDK

import { auditTarget, auditHtmlString } from '@joseimsss/launchlint';

const report = await auditTarget('./dist', {
  siteOrigin: 'https://example.com',
  failOnWarn: false
});

console.log(report.score, report.summary, report.findings);

MCP Server (Claude / Cursor / Antigravity)

launchlint ships a built-in Model Context Protocol server (launchlint-mcp) exposing:

  • audit_target — audit a local path or live URL.

  • audit_campaign_url — validate and normalize a campaign URL.

{
  "mcpServers": {
    "launchlint": {
      "command": "npx",
      "args": ["-y", "--package=@joseimsss/launchlint", "launchlint-mcp"]
    }
  }
}

GitHub Action

- uses: joseimsss/launchlint@v0.1.0
  with:
    target: ./dist
    origin: https://example.com

License

MIT © 2026 joseimsss

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables auditing of websites for performance, SEO, accessibility, security, and mobile readiness, with tools to validate URLs, run page audits, save results, and retrieve reports.
      1
      -
    • A
      license
      Not graded
      quality
      F
      maintenance
      Remote MCP server for Keytomic, the AI SEO agent: SEO audits, Search Console and GA4 data, keyword research, articles, CMS publishing, indexing, backlinks, Reddit and AI visibility. You sign in with your Keytomic account.
      1
      MIT