speciale

Crates.iospeciale
lib.rsspeciale
version0.2.0
created_at2025-12-02 17:01:37.434765+00
updated_at2025-12-06 07:51:35.092709+00
descriptionMCP server for DeepSeek-V3.2-Speciale reasoning model
homepage
repositoryhttps://github.com/Cupnfish/speciale
max_upload_size
id1962186
size122,777
邻二氮杂菲 (Cupnfish)

documentation

README

Speciale

Release License: MIT

MCP server for DeepSeek-V3.2-Speciale, a powerful reasoning model.

Features

  • Deep reasoning for complex math, code analysis, logical problems
  • File references: @path syntax for files and directories
  • Grep search: @grep:pattern syntax using ripgrep/grep
  • Multi-turn conversations with persistence
  • Local storage in DuckDB (~/.speciale/conversations.db)

Installation

Download from GitHub Releases

Download the latest binary for your platform from Releases:

Platform File
Linux x86_64 speciale-linux-x86_64
Linux ARM64 speciale-linux-aarch64
macOS Intel speciale-darwin-x86_64
macOS Apple Silicon speciale-darwin-aarch64
Windows speciale-windows-x86_64.exe
# Example for macOS Apple Silicon
curl -L https://github.com/Cupnfish/speciale/releases/latest/download/speciale-darwin-aarch64 -o speciale
chmod +x speciale
sudo mv speciale /usr/local/bin/

Build from source

cargo install --git https://github.com/Cupnfish/speciale.git

Configuration

Set your DeepSeek API key:

export DEEPSEEK_API_KEY="your-api-key"

MCP Client Setup

Claude Code (CLI)

The easiest way - automatically uses current directory:

macOS/Linux:

claude mcp add speciale -e DEEPSEEK_API_KEY=your-api-key -- speciale --pwd $(pwd)

Windows (PowerShell):

claude mcp add speciale -e DEEPSEEK_API_KEY=your-api-key -- speciale --pwd $PWD

Windows (CMD):

claude mcp add speciale -e DEEPSEEK_API_KEY=your-api-key -- speciale --pwd %cd%

Claude Code (Config File)

Edit ~/.claude.json:

macOS/Linux:

{
  "mcpServers": {
    "speciale": {
      "command": "bash",
      "args": ["-c", "speciale --pwd \"$PWD\""],
      "env": {
        "DEEPSEEK_API_KEY": "your-api-key"
      }
    }
  }
}

Windows:

{
  "mcpServers": {
    "speciale": {
      "command": "cmd",
      "args": ["/c", "speciale --pwd %cd%"],
      "env": {
        "DEEPSEEK_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor

Edit ~/.cursor/mcp.json:

macOS/Linux:

{
  "mcpServers": {
    "speciale": {
      "command": "bash",
      "args": ["-c", "speciale --pwd \"$PWD\""],
      "env": {
        "DEEPSEEK_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Desktop

Config locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "speciale": {
      "command": "speciale",
      "args": ["--pwd", "/path/to/your/project"],
      "env": {
        "DEEPSEEK_API_KEY": "your-api-key"
      }
    }
  }
}

Note: Claude Desktop doesn't support dynamic PWD injection. Specify the project path directly.

Reference Syntax

Syntax Description
@src/main.rs Include a single file
@src/ Include all files in directory (recursive)
@grep:pattern Search with ripgrep (fallback to grep)
@grep:pattern:*.rs Search with glob filter

Examples:

Review @src/main.rs for bugs
Analyze all code in @src/
Find usages of @grep:async_fn
Search in Rust files @grep:impl:*.rs

Tip: Only use @ syntax when entire file content is needed. For small snippets, include them directly in your question.

Tool: ask_speciale

Parameters

Parameter Type Required Description
question string Yes Use @ syntax to include files/searches
system_prompt string No System prompt (new conversations only)
include_reasoning boolean No Show reasoning (default: false)
conversation_id string No Continue previous conversation

Response

{
  "answer": "Response",
  "reasoning": "If requested",
  "conversation_id": "uuid",
  "context_tokens": 1234,
  "max_context_tokens": 131072,
  "tip": "Usage info"
}

Important

This model has NO external access and CANNOT call tools. It can only reason based on what you provide.

License

MIT

Links

Commit count: 0

cargo fmt