{"name":"io.github.AKR1166/rules-mcp","slug":"akr1166-rules-mcp","title":"Rules MCP","description":"MCP for rules/skills/knowledge evaluation for Cursor, Claude, VS Code, and Antigravity.","url":"https://mcp.market/server/akr1166-rules-mcp","rating":null,"grade":"C","score":65,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":0,"stars":null,"forks":null,"downloads_week":null,"last_push_at":null,"license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/AKR1166/Rules-MCP","website":null,"version":"0.3.1","remotes":[],"packages":[{"registryType":"npm","identifier":"@akr1166org/rules-mcp","version":"0.3.1","transport":{"type":"stdio"},"environmentVariables":[{"description":"Log level: debug | info | warn | error (logs go to stderr)","format":"string","name":"LOG_LEVEL"},{"description":"Override path to Markdown/MDC skills directory","format":"string","name":"SKILLS_PATH"},{"description":"Override path to knowledge directory","format":"string","name":"KNOWLEDGE_PATH"},{"description":"Override path to agent profiles directory","format":"string","name":"PROFILES_PATH"},{"description":"Active agent profile (default, cursor, claude, …)","format":"string","name":"PROFILE"},{"description":"Override path to legacy YAML rules directory","format":"string","name":"RULES_PATH"}]}],"tools":[{"name":"enrich_prompt","description":"Turn a short feature request into a full governed instruction set using project YAML rules, cursor skills (MD/MDC), and knowledge. Includes skillsDisclosure — the agent must open the user-visible reply with that section (skills chosen + why).","write_action":false,"price_micros":0,"input_schema":null},{"name":"explain_violation","description":"Explain a rule/violation by ID: rule text, reason, good/bad examples, exceptions, and related knowledge. Use when the user asks why a rule failed or what TS001/SEC001 means.","write_action":false,"price_micros":0,"input_schema":null},{"name":"generate_artifacts","description":"Generate agent instruction files from the YAML rule source of truth: .cursor/rules, AGENTS.md, CLAUDE.md, STYLEGUIDE.md, SECURITY.md, CONTRIBUTING.md, PR checklist, and prompt templates. Use when the user asks to sync or regenerate governance artifacts.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_context","description":"Gather relevant YAML rules, Markdown/MDC skills (from cursor skills/), and knowledge for a coding task. Returns skillsDisclosure — paste that block at the start of your reply before answering. Prefer calling this or select_skills first on every coding prompt.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_knowledge","description":"Retrieve project knowledge (architecture, FAQs, module docs). Use when the user asks how the project is structured or about architecture/domain knowledge.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_rule","description":"Fetch full details for one YAML governance rule by ID (e.g. TS001, SEC001). For Markdown skills, use get_skill with a skill slug (e.g. typescript-expert).","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_skill","description":"Fetch one skill by slug/id from cursor skills/ (e.g. typescript-expert, nestjs-best-practices/security-validate-all-input). Skills are MD/MDC, not YAML.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_rules","description":"List project coding/governance rules from rules/*.yaml (enforceable standards and policies). For Cursor agent skills (Markdown/MDC under cursor skills/), use list_skills instead.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_skills","description":"List Cursor agent skills loaded from cursor skills/ as Markdown (.md) or MDC (.mdc). Use when the user asks what skills exist or which skill guidance applies.","write_action":false,"price_micros":0,"input_schema":null},{"name":"ping","description":"Health check for Rules MCP. Returns server version, phase, and configured paths.","write_action":false,"price_micros":0,"input_schema":null},{"name":"review_diff","description":"Review a unified git diff/patch against project rules. Reports violations on new/changed lines. Use when the user asks to review a PR diff, patch, or staged changes for standards compliance.","write_action":false,"price_micros":0,"input_schema":null},{"name":"score_output","description":"Produce a governance scorecard (aiScore, category scores, blocking, failedCritical) for code. Use when the user asks for a quality/compliance score.","write_action":false,"price_micros":0,"input_schema":null},{"name":"search_knowledge","description":"Ranked search across project knowledge docs (architecture, FAQ, modules). Use when the user asks to find docs about a topic with relevance ranking.","write_action":false,"price_micros":0,"input_schema":null},{"name":"search_rules","description":"Search YAML governance rules by keyword (security, logging, python, secrets, etc.). For Cursor skills under cursor skills/, use search_skills.","write_action":false,"price_micros":0,"input_schema":null},{"name":"search_skills","description":"Search Markdown/MDC skills under cursor skills/ by keyword (nestjs, typescript, prompt, security, etc.).","write_action":false,"price_micros":0,"input_schema":null},{"name":"select_skills","description":"PRIMARY first step for any coding/governance prompt: automatically pick relevant cursor skills for the user's task and return a ready-to-paste 'Skills used' disclosure (id, why, score). Call this (or get_context) before answering, then paste skillsDisclosure at the start of your reply.","write_action":false,"price_micros":0,"input_schema":null},{"name":"server_info","description":"Describe Rules MCP capabilities available in the current phase.","write_action":false,"price_micros":0,"input_schema":null},{"name":"validate_code","description":"Check a single code snippet against enforceable YAML rules under rules/ and return line-level issues (rule id, message, suggestion). Markdown skills are advisory via list_skills/get_context — they are not machine-validated here. For folders or multiple files, use the multi-file evaluation tool instead.","write_action":false,"price_micros":0,"input_schema":null},{"name":"validate_paths","description":"PRIMARY tool when the user wants to evaluate, review, scan, audit, or check source files/folders for enforceable YAML rule violations (any languages: js, ts, py, java, go, …). Reads files from disk, applies matching rules under rules/ as ground truth, and returns every issue with file, line, ruleId, rule text, and suggestion. Skills under cursor skills/ are MD/MDC guidance (use list_skills / get_c","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":65,"grade":"C","scanned_at":"2026-09-23T17:18:41.368Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-23T17:18:41.315Z","components":{"code":{"score":25,"max":25,"notes":["71 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":12,"max":15,"notes":["local package, no credentials required"]},"maintenance":{"score":3,"max":15,"notes":["repository not readable: repo not found"]},"identity":{"score":2,"max":10,"notes":["no repository or website to verify"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"@akr1166org/rules-mcp","version":"0.3.1","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":3,"publishedAt":"2026-08-11T08:53:57.133Z","repositoryUrl":"git+https://github.com/AKR1166/Rules-MCP.git"}],"repo":{"found":false,"owner":"AKR1166","repo":"Rules-MCP","error":"repo not found"},"icon":{"url":null,"source":"none"},"presence":{"stars":null,"forks":null,"downloadsWeek":null,"license":"MIT","lastPushAt":null,"score":0}}}},"grade_history":[],"reviews":[]}