MCP Server Studio

SFW API MCP server

NSFW and nudity detection for images, GIFs and videos: 0-3 content levels and policy verdicts.

Registry name: dev.sfwapi/mcp

Publisher
sfwapi.dev
Runs
Local or hosted
Package
npm
Version
0.1.2
Category
Developer tools
Updated
2026-12-02

Source code on GitHub

Set up SFW API (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sfwapi/[email protected]"
      ],
      "env": {
        "SFWAPI_API_KEY": "<SFWAPI_API_KEY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp -e SFWAPI_API_KEY='<SFWAPI_API_KEY>' -- npx -y @sfwapi/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sfwapi/[email protected]"
      ],
      "env": {
        "SFWAPI_API_KEY": "<SFWAPI_API_KEY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sfwapi/[email protected]"
      ],
      "env": {
        "SFWAPI_API_KEY": "<SFWAPI_API_KEY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sfwapi/[email protected]"
      ],
      "env": {
        "SFWAPI_API_KEY": "<SFWAPI_API_KEY>"
      }
    }
  }
}

Set up SFW API (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.sfwapi.dev/mcp",
        "--header",
        "Authorization: <Authorization>"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http mcp https://api.sfwapi.dev/mcp --header 'Authorization: <Authorization>'

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "url": "https://api.sfwapi.dev/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://api.sfwapi.dev/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://api.sfwapi.dev/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
SFWAPI_API_KEYYesYour SFW API key (sk_live_...). Get a free one at https://sfwapi.dev/console

More developer tools MCP servers