Access 1,500+ Murphy's Laws: search, browse by category, random, daily, submit.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"com-murphys-laws-murphys-laws": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Access 1,500+ Murphy's Laws: search, browse by category, random, daily, submit.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in cloud
Manage Supabase projects — databases, auth, storage, and edge functions
MCP Server for GCP environment for interacting with various Observability APIs.
Verified cloud cost forecasting for AI agents. AWS, GCP, Azure pricing matrix.
IAM Policy Autopilot is an open source static code analysis tool that helps you quickly create baseline AWS IAM policies that you can refine as your application evolves. This tool is available as a command-line utility and MCP server for use within AI coding assistants for quickly building IAM policies.
MCP Security Weekly
Get CVE alerts and security updates for com.murphys-laws/murphys-laws and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A comprehensive collection of Murphy's Laws - humorous observations about life's tendency for things to go wrong.
Available on Web, iOS, and Android.
Four official ways to integrate Murphy's Laws. No API key for reads.
| Package | npm | Purpose |
|---|---|---|
murphys-laws-sdk | Typed TypeScript client, zero deps | |
murphys-laws-cli | Command-line interface (npx murphys-laws-cli) | |
murphys-laws-mcp | Model Context Protocol server for AI agents | |
| REST API | - | Public HTTP API at https://murphys-laws.com/api/v1/ |
Full details and examples on the developer landing page.
Public API at https://murphys-laws.com/api/v1/, no auth required for reads.
murphys-laws-sdk on npm is a tiny typed client over the REST API with zero runtime dependencies.
import { MurphysLawsClient } from 'murphys-laws-sdk';
const law = await new MurphysLawsClient().getRandomLaw();
murphys-laws-cli on npm wraps the API for scripts and terminal use.
npx murphys-laws-cli random
npx murphys-laws-cli search "computer" --limit 3
An MCP server lets AI agents (Claude Desktop, Cursor, VS Code Copilot) query Murphy's Laws directly.
Quick start, no clone needed:
{
"mcpServers": {
"murphys-laws": {
"command": "npx",
"args": ["-y", "murphys-laws-mcp"]
}
}
}
7 tools: search_laws, get_random_law, get_law_of_the_day, get_law, list_categories, get_laws_by_category, submit_law.
See mcp/README.md or npm, or the developer landing page for the full picture.
This is a monorepo containing:
murphys-laws/
├── backend/ # Node.js API server (TypeScript runtime via tsx)
├── web/ # Web application (TypeScript + Vite)
├── mcp/ # MCP server for AI agent integration (npm: murphys-laws-mcp)
├── sdk/ # TypeScript SDK over the public REST API (npm: murphys-laws-sdk)
├── cli/ # Command-line interface (npm: murphys-laws-cli)
├── ios/ # iOS app (Swift + SwiftUI)
├── android/ # Android app (Kotlin + Jetpack Compose)
└── shared/ # Shared resources and documentation
cd backend
npm install
npm run build:db # Build SQLite database
npm run dev # Start API server
npm start # Run API from src/server/api-server.ts via tsx
cd web
npm install
npm run dev # Start dev server
cd ios
open MurphysLaws.xcodeproj
# Press ⌘R to run
cd android
./gradlew assembleDebug
# Or open in Android Studio