{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.factql/factql-mcp",
  "slug": "factql-mcp",
  "title": "FactQL",
  "summary": "Ask plain-English questions of your database: answers, the query that ran, and the rows.",
  "version": "0.1.7",
  "serverKey": "factql-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/factql-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/factql-mcp/install.md",
  "trust": {
    "score": 89,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:16:15.923060189Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "factql-mcp==0.1.6"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add factql-mcp -e 'FACTQL_API_KEY=<FACTQL_API_KEY>' -- uvx factql-mcp==0.1.6"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"factql-mcp\": {\n      \"args\": [\n        \"factql-mcp==0.1.6\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"FACTQL_API_KEY\": \"<FACTQL_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"factql-mcp\": {\n      \"args\": [\n        \"factql-mcp==0.1.6\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"FACTQL_API_KEY\": \"<FACTQL_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"FACTQL_API_KEY\",\n      \"id\": \"factql-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"factql-mcp\": {\n      \"args\": [\n        \"factql-mcp==0.1.6\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"FACTQL_API_KEY\": \"${input:factql-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.factql-mcp]\ncommand = \"uvx\"\nargs = [\"factql-mcp==0.1.6\"]\nenv = { \"FACTQL_API_KEY\" = \"<FACTQL_API_KEY>\" }"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://api.factql.ai/mcp",
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http factql-mcp https://api.factql.ai/mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"factql-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://api.factql.ai/mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"factql-mcp\": {\n      \"url\": \"https://api.factql.ai/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"factql-mcp\": {\n      \"type\": \"http\",\n      \"url\": \"https://api.factql.ai/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.factql-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://api.factql.ai/mcp\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "FACTQL_API_KEY",
      "required": true,
      "secret": true,
      "description": "FactQL API key (an ask-only key is enough)",
      "help": "FactQL API key (an ask-only key is enough)",
      "placeholder": "<FACTQL_API_KEY>"
    },
    {
      "name": "FACTQL_BASE_URL",
      "required": false,
      "secret": false,
      "description": "FactQL API base URL",
      "help": "FactQL API base URL",
      "default": "https://api.factql.ai",
      "placeholder": "https://api.factql.ai"
    },
    {
      "name": "FACTQL_WORKSPACE_ID",
      "required": false,
      "secret": false,
      "description": "Default workspace, for tenants that use workspaces",
      "help": "Default workspace, for tenants that use workspaces",
      "placeholder": "<FACTQL_WORKSPACE_ID>"
    },
    {
      "name": "FACTQL_END_USER_ID",
      "required": false,
      "secret": false,
      "description": "Who is asking; defaults to mcp:<os user>",
      "help": "Who is asking; defaults to mcp:<os user>",
      "placeholder": "<FACTQL_END_USER_ID>"
    }
  ],
  "expectedTools": [
    "whoami",
    "ask"
  ],
  "agentSteps": [
    "Ask the user for: FACTQL_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: whoami, ask.",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:16:15.923060189Z"
}
