{"slug":"nirvanjha2004/ctxai-mcp-tool-to-reduce-hallucinations","name":"ctxai","description":"A version-aware MCP server that prevents AI coding hallucinations by validating suggestions against your actual installed packages.","category":"development","tags":[],"official":false,"stars":0,"transport":"stdio","install":[{"cmd":"pip install |","imports":[]}],"tools":[{"name":"get_project_context","description":"Scans your project root and returns a structured fingerprint of every installed package and its exact version"},{"name":"validate_suggestion","description":"Takes AI-generated code and the fingerprint from get_project_context, then runs three validation layers to check for missing packages, hallucinated methods, and suggests closest real alternatives"},{"name":"check_package_safety","description":"Checks every new package the AI suggests installing against three safety layers: existence on npm/PyPI, typosquat detection, and trust level"},{"name":"get_package_docs","description":"Fetches live metadata from npm or PyPI for a specific package version, used by the LLM to self-correct after a hallucination is detected"}],"env_vars":[],"auth_type":"none","github":"https://github.com/Nirvanjha2004/ctxAI-MCP-tool-to-reduce-hallucinations/","homepage":"","server_url":"","status":"active","source":"mcpservers.org","updated_at":"Thu May 28"}