Skip to content
MCP server

MCP Stashbox

Search scenes, performers, studios and tags across the public stash-box catalogues.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
2.1.0
Listing updated
4 days ago

About MCP Stashbox

MCP Stashbox is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-stashbox -- npx -y mcp-stashbox

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-stashbox": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-stashbox"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-stashbox": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-stashbox"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-stashbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-stashbox"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "mcp-stashbox": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-stashbox"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-stashbox": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-stashbox"
      ]
    }
  }
}

Configuration

  • STASHBOX_STASHDB_KEYAPI key for StashDB. A catalogue with no key is named as absent from every answer.
  • STASHBOX_TPDB_KEYAPI key for ThePornDB. A catalogue with no key is named as absent from every answer.
  • STASHBOX_FANSDB_KEYAPI key for FansDB. A catalogue with no key is named as absent from every answer.
  • STASHBOX_PMV_KEYAPI key for PMV Stash. A catalogue with no key is named as absent from every answer.
  • STASHBOX_JAVSTASH_KEYAPI key for JAVStash. A catalogue with no key is named as absent from every answer.
  • SB_USER_AGENTIdentify your own client. This project's identifier and a contact address stay appended, so a catalogue can always reach a human.
  • SB_MIN_INTERVAL_MSMinimum milliseconds between requests to one catalogue. Default and floor 1000, ceiling 60000. The floor cannot be lowered.
  • SB_TIMEOUT_MSDeadline for one request, in milliseconds. Default 20000.
  • SB_MAX_RETRIESRetries on a busy catalogue. Default 3.
  • SB_CACHE_TTL_MSIn-memory cache lifetime, in milliseconds. Default 300000. Set 0 to turn it off.
  • SB_CACHE_MAX_ENTRIESIn-memory cache size, in entries. Default 500.
  • SB_LOG_LEVELerror, info or debug. Default error. Logs go to stderr.

Pricing

Open source

MCP Stashbox FAQ

Is MCP Stashbox free?

Yes. MCP Stashbox is open source, so you can use and self-host it for free.

How do I add MCP Stashbox to Claude Code?

Run this command in your terminal: claude mcp add mcp-stashbox -- npx -y mcp-stashbox