{
 "kind": "tool",
 "slug": "morgan",
 "path": "tools/morgan/",
 "name": "morgan",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Logging, monitoring and analytics",
   "tools/observability-analytics/"
  ]
 ],
 "lead": "HTTP request logger middleware for Express and Connect applications.",
 "chips": [
  {
   "label": "Logging, monitoring and analytics",
   "path": "tools/observability-analytics/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install morgan"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/expressjs/morgan"
  },
  {
   "label": "Website",
   "href": "https://github.com/expressjs/morgan#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/expressjs/morgan"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 1, 2026",
   "note": "Latest GitHub release Sep 11, 2026. ",
   "src": "https://github.com/expressjs/morgan"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "32 projects",
   "status": "info",
   "sub": "#19 of 121 in its category",
   "note": "Dependency in 32 public GitHub projects set up for AI coding agents that we scanned (0.5%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What morgan does",
   "parts": [
    {
     "t": "prose",
     "text": "HTTP request logger middleware for Express and Connect applications."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "morgan popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "66",
       "of": "/ 100",
       "l": "Gid Score, #612 overall"
      },
      {
       "n": "18.3M",
       "l": "downloads a week, npm"
      },
      {
       "n": "8,202",
       "l": "GitHub stars"
      },
      {
       "n": "32",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How morgan is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "morgan is a dependency in 32 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.7% of the 4,867 JavaScript/TypeScript ones), #19 of 121 in logging, monitoring and analytics.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 91; those are left out of every share on this page.",
      "The most used alternative in our scan is Pino (87 projects).",
      "Projects that use it most often also use Express (100.0%), dotenv (87.5%), cors (84.4%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "22 projects, 0.7%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "15 projects, 0.5%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "10 projects, 0.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "Express",
       "path": "tools/express/"
      },
      {
       "l": "In 87.5% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 84.4% of its projects",
       "v": "cors",
       "path": "tools/cors/"
      },
      {
       "l": "In 71.9% of its projects",
       "v": "Helmet",
       "path": "tools/helmet/"
      },
      {
       "l": "In 53.1% of its projects",
       "v": "express-rate-limit",
       "path": "tools/express-rate-limit/"
      },
      {
       "l": "In 53.1% of its projects",
       "v": "jsonwebtoken",
       "path": "tools/jsonwebtoken/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "nodemon",
       "path": "tools/nodemon/"
      },
      {
       "l": "In 40.6% of its projects",
       "v": "uuid",
       "path": "tools/uuid/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about morgan",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "Open Collective: https://opencollective.com/express"
       ]
      },
      {
       "title": "More in Logging, monitoring and analytics",
       "path": "tools/observability-analytics/",
       "items": [
        {
         "text": "Vercel Analytics",
         "path": "tools/vercel-analytics/"
        },
        {
         "text": "psutil",
         "path": "tools/psutil/"
        },
        {
         "text": "Vercel Speed Insights",
         "path": "tools/vercel-speed-insights/"
        },
        {
         "text": "Sentry for Next.js",
         "path": "tools/sentry-nextjs/"
        },
        {
         "text": "OpenTelemetry",
         "path": "tools/opentelemetry/"
        },
        {
         "text": "structlog",
         "path": "tools/structlog/"
        },
        {
         "text": "PostHog JS",
         "path": "tools/posthog-js/"
        },
        {
         "text": "Loguru",
         "path": "tools/loguru/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "morgan",
       "me": true,
       "facts": [
        "MIT",
        "Gid 66",
        "18.3M/wk"
       ]
      },
      {
       "name": "Pino",
       "why": "Ultra-fast JSON logger for Node.js with minimal overhead.",
       "path": "tools/pino/",
       "facts": [
        "MIT",
        "Gid 78",
        "81.5M/wk"
       ]
      },
      {
       "name": "Winston",
       "why": "Versatile Node.js logging library supporting multiple transports and levels.",
       "path": "tools/winston/",
       "facts": [
        "MIT",
        "Gid 76",
        "37.3M/wk"
       ]
      }
     ],
     "more": "Compare morgan with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install morgan"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for morgan yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm morgan"
  ],
  [
   "Category",
   "Logging, monitoring and analytics"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "66.0"
  ],
  [
   "Rank in category",
   "#19 of 121"
  ],
  [
   "GitHub",
   "expressjs/morgan"
  ],
  [
   "Last change",
   "Nov 1, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/expressjs.png"
}