Sceptre
Local OCR MCP server and CLI for reading text from images, with no Python runtime
Sceptre is an open-source MCP server for files and documents. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Linux, macOS
- Runs
- Locally
- Version
- 0.10.5
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add sceptre -- npx -y @xberg-io/sceptre-cliAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"sceptre": {
"command": "npx",
"args": [
"-y",
"@xberg-io/sceptre-cli"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"sceptre": {
"command": "npx",
"args": [
"-y",
"@xberg-io/sceptre-cli"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"sceptre": {
"command": "npx",
"args": [
"-y",
"@xberg-io/sceptre-cli"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"sceptre": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@xberg-io/sceptre-cli"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add sceptre -- npx -y @xberg-io/sceptre-cliOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.sceptre]
command = "npx"
args = ["-y", "@xberg-io/sceptre-cli"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"sceptre": {
"command": "npx",
"args": [
"-y",
"@xberg-io/sceptre-cli"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "sceptre": { "command": "npx", "args": [ "-y", "@xberg-io/sceptre-cli" ] } } }Or run: gemini mcp add -s user sceptre npx -- -y @xberg-io/sceptre-cli
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "sceptre": { "command": "npx", "args": [ "-y", "@xberg-io/sceptre-cli" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "sceptre": { "command": "npx", "args": [ "-y", "@xberg-io/sceptre-cli" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "sceptre": { "command": "npx", "args": [ "-y", "@xberg-io/sceptre-cli" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "sceptre": { "command": "npx", "args": [ "-y", "@xberg-io/sceptre-cli" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "sceptre": { "command": "npx", "args": [ "-y", "@xberg-io/sceptre-cli" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "sceptre": { "command": "npx", "args": [ "-y", "@xberg-io/sceptre-cli" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "sceptre": { "command": "npx", "args": [ "-y", "@xberg-io/sceptre-cli" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Sceptre
Sceptre reads text from images using a detection stage followed by a recognition stage, packaged as a single Rust executable. It runs on the CPU by default and downloads its models once, after which it works offline from a local cache.
The tool is available three ways: as a command-line program that processes one or many images in a batch, as a Rust library, and as an MCP server that exposes an OCR tool to AI agents. Recognition covers English, Latin-script languages, Simplified Chinese, Japanese, Korean, Cyrillic, Telugu and Kannada, and it accepts PNG, JPEG, BMP, GIF, TIFF, WebP and NetPBM inputs.
It suits developers and teams who want OCR inside an agent workflow or a script without installing a Python stack. The project is MIT licensed and is distributed through Cargo, prebuilt release archives, and an npm package for the MCP registry entry.
Tools this server provides (1)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- readtext
- Runs OCR over an image file path and returns recognized lines, optionally with boxes and confidence.
What it does
- Single native binary
- Ships as one self-contained executable with no Python interpreter or PyTorch runtime to install.
- Offline model caching
- Models download on first use, are checksum-verified, and are read from local cache on later runs.
- Multilingual recognition
- Recognizes text in several scripts, selectable per run with language flags.
- MCP readtext tool
- Exposes a readtext tool that takes an image path and can return text only or text with boxes and confidence.
- Batch processing
- Processes several images in one warm process so models load once per batch.
- Rotated scan handling
- An optional orientation pre-pass helps with rotated pages.
Good for
- Give an AI agent the ability to read text from screenshots or scanned pages
- Extract text from receipts or documents in batch on a local machine
- Run OCR offline in environments where sending images to a cloud service is not an option
- Add multilingual image text extraction to a Rust application through the library
Pricing
Open source
Free and MIT licensed; runs locally.
Prices change. Check xberg.io before you buy.
Sceptre FAQ
Does Sceptre need Python installed?
No. The release is a single executable with no Python or torch runtime required.
Is Sceptre free to use?
Yes. The project is MIT licensed and runs locally.
How do AI clients call Sceptre?
Run the mcp subcommand and expose the readtext tool, which takes an image path and an optional detail flag.
Which image formats are supported?
PNG, JPEG, BMP, GIF, TIFF, WebP and NetPBM are decoded in pure Rust.
How do I add Sceptre to Claude Code?
Run this command in your terminal: claude mcp add sceptre -- npx -y @xberg-io/sceptre-cli
What are the best alternatives to Sceptre?
The closest alternatives to Sceptre are PDF Text Extractor MCP, Image to Text OCR, Optical Context MCP, Pdf MCP and ocr-software.com OCR.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.