Skip to content
MCP server
Registry

SensorForge Optimizer MCP Server

Shrink trained models to fit edge devices with the hosted SensorForge Optimizer.

SensorForge Optimizer scores 66 (Good), licensed Apache-2.0 and written in Python. It installs as a local process. It declares 8 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by sidupretiApache-2.0Python0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "sidupreti-sensorforge-mcp": {      "command": "uvx",      "args": [        "sensorforge-mcp"      ],      "env": {        "SENSORFORGE_API_KEY": "YOUR_SENSORFORGE_API_KEY",        "SENSORFORGE_URL": "https://sensorforge.dev/optimize"      }    }  }}

Environment variables

NameRequiredNotes
SENSORFORGE_API_KEYSecretRequiredYour SensorForge API key (sfk_...), from https://sensorforge.dev/optimize/app (API keys).
SENSORFORGE_URLOptionalThe service's address.

Tools8Tool docs quality grade D

All capabilities
  • Checks your data file against the model, locally. Nothing is uploaded.

  • Does the model run on a chip, and in how much SRAM and flash? Seconds; no data.

  • The run's full report (markdown).

  • The chips you can target, with each one's SRAM and flash budget.

  • Your recent runs.

  • A run's state now: place in the queue, running, or the verdict with before → after figures.

  • Stops a queued or running run.

  • Waits for a run (up to 10 minutes per call) and returns the result; call again while it says still running.

About

sensorforge-mcp

We shrink models to fit edge devices. This MCP server lets your coding agent (Claude Code, Cursor, VS Code, Claude Desktop, Windsurf, Cline) send a trained .tflite or .onnx model to the hosted SensorForge Optimizer and unpack the result into your project: a TensorFlow Lite Micro model and its C sources that need less SRAM and flash, within the accuracy limit you set, with every figure measured by running the file.

The server runs on your machine over stdio. It reads the model and data files you name, calls the SensorForge service with your API key, and writes the results next to your model. The optimizer itself runs on the service.

Get an API key

Sign in at https://sensorforge.dev/optimize/app and create a key under API keys. Keys start with sfk_. Keep it out of your repository: pass it as an environment variable, as in the configurations below.

Install

You need uv (for uvx). Python 3.10 or newer is fetched by uv if you don't have it.

Claude Code

claude mcp add sensorforge -e SENSORFORGE_API_KEY=sfk_... -- uvx sensorforge-mcp

Claude Desktop (claude_desktop_config.json), Cursor (~/.cursor/mcp.json, or .cursor/mcp.json in a project), Windsurf (~/.codeium/windsurf/mcp_config.json) and Cline (MCP Servers, Configure, cline_mcp_settings.json) all take the same block:

{
  "mcpServers": {
    "sensorforge": {
      "command": "uvx",
      "args": ["sensorforge-mcp"],
      "env": { "SENSORFORGE_API_KEY": "sfk_..." }
    }
  }
}

Claude plugin: this repository is also a plugin, with the server above and a fit-model-to-chip skill. It asks for your key once and keeps it in your system's credential store. The plugin runs uvx sensorforge-mcp on your machine; it loads in Claude Code and in Cowork sessions on your computer, not in claude.ai chat.

VS Code (.vscode/mcp.json; VS Code asks for the key once and stores it):

{
  "inputs": [
    { "type": "promptString", "id": "sensorforge-key", "description": "SensorForge API key", "password": true }
  ],
  "servers": {
    "sensorforge": {
      "type": "stdio",
      "command": "uvx",
      "args": ["sensorforge-mcp"],
      "env": { "SENSORFORGE_API_KEY": "${input:sensorforge-key}" }
    }
  }
}

Restart the client (or reload its MCP servers), then ask it to list the SensorForge tools.

What to ask

  • "Will models/kws.tflite fit on an nRF54L15? Check it with SensorForge."
  • "Run SensorForge lossless on models/kws.tflite for the nrf5340 and put the C files in firmware/model/."
  • "Optimize models/kws.tflite for the esp32s3 with data/kws.npz: least SRAM, at most 1 point of accuracy lost. Check the data first."
  • "What's left on my SensorForge account today?"

The server also has a prompt, fit_model_to_chip, that walks the agent through every step (in Claude Code: /mcp__sensorforge__fit_model_to_chip). For a repository, drop examples/AGENTS.md into your project so any agent knows the flow.

Tools

ToolWhat it does
list_chipsThe chips you can target, with each one's SRAM and flash budget.
check_fitDoes the model run on a chip, and in how much SRAM and flash? Seconds; no data.
losslessLess SRAM and flash, outputs bit-identical to yours; no data. Waits, downloads and unpacks.
check_dataChecks your data file against the model, locally. Nothing is uploaded.
optimizeThe smallest model within your accuracy limit, retrained on your data. Returns a run id at once (5–60 min).
wait_for_runWaits for a run (up to 10 minutes per call) and returns the result; call again while it says still running.
run_statusA run's state now: place in the queue, running, or the verdict with before → after figures.
downloadUnpacks a finished run into <model folder>/sensorforge/<run id>/ and says what each file is for.
get_reportThe run's full report (markdown).
list_runsYour recent runs.
stop_runStops a queued or running run.
accountYour plan, this month's usage, and the runs left today.

What a download holds:

  • the model for TensorFlow Lite Micro (optimized_tflm.tflite or model_lossless.tflite), the file to deploy;
  • sometimes the same model as desktop LiteRT loads it, for checking it on a PC;
  • c/: model_data.cc / model_data.h (the model as a C array), model_ops.h (the operators to register, the input and output scale and zero point, the tensor arena size) and INTEGRATION.md (how to build it in);
  • the report (report.md or lossless.md).

Data for optimize

Images: a .zip of folders, one per class, holding JPEG or PNG files (person/, no_person/, ...). Folder names in alphabetical order map to the model's outputs 0, 1, 2, ... To fix the test set yourself, put train/ and test/ folders in the zip, each with the class folders.

Audio, sensors and anything else: an .npz with X, the model's inputs exactly as your front end produces them (float32, one row per sample, in the model's input shape), and y, each sample's class index in the model's output order. Add X_test / y_test for a fixed test set. Without y, your model's own answers become the labels.

import numpy as np
np.savez("data.npz", X=features.astype("float32"), y=labels.astype("int64"))

Detectors, autoencoders and regression models: pass output="values"; y is not needed. A few hundred samples per class are enough to measure accuracy; more helps the retraining. check_data checks all of this before you upload.

Limits

  • Model files up to 50 MB (.tflite, .onnx, or a .zip of a firmware export). PyTorch and Keras files are not accepted: export to .tflite or .onnx first.
  • Data up to 500 MB (.npz or .zip; a zip may unpack to 2,000 MB).
  • Runs per day depend on your plan; account shows what is left and when the next run is free.

Privacy Policy

What is collected. The server reads only the files you name. check_fit, lossless and optimize upload the model, and optimize also uploads your data file, to the SensorForge service over HTTPS. check_data runs on your machine and uploads nothing. Your API key is sent only to the SensorForge service.

How it is used and stored. The service uses your uploads to run the job you asked for, each in its own folder. Your runs, reports and optimized models are visible only to your account. Locally the server keeps a short list of your run ids and model paths in ~/.sensorforge-mcp/runs.json, so downloads land next to the right model. Nothing it downloads is ever run.

Who else handles it. The service and its storage run on Railway, Vercel routes traffic to it, and sign-in is by Clerk. Your models and data are not sold or shared with anyone else.

How long it is kept. As set out in SensorForge's privacy policy, https://sensorforge.dev/privacy. You can ask for your files to be deleted at any time at sid@sensorforge.dev.

Contact. sid@sensorforge.dev. EdgeForge LLC.

Settings

Variable
SENSORFORGE_API_KEYYour key (required).
SENSORFORGE_URLThe service, default https://sensorforge.dev/optimize.
SENSORFORGE_MCP_HOMEWhere the run list is kept, default ~/.sensorforge-mcp.
SENSORFORGE_LOGLog level on stderr, default WARNING.

License

Apache-2.0. Copyright 2026 EdgeForge LLC. See LICENSE.

Frequently asked questions

What is SensorForge Optimizer MCP Server?

Shrink trained models to fit edge devices with the hosted SensorForge Optimizer.

How do I install SensorForge Optimizer MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. SensorForge Optimizer MCP Server runs locally from the PyPI package sensorforge-mcp with the command uvx sensorforge-mcp.

Is SensorForge Optimizer MCP Server free and open source?

Yes. SensorForge Optimizer MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does SensorForge Optimizer MCP Server support remote (HTTP) connections?

No remote endpoint is listed for SensorForge Optimizer MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does SensorForge Optimizer MCP Server provide?

SensorForge Optimizer MCP Server provides 8 tools, including check_data, check_fit, get_report, and list_chips. See the full tool list for descriptions and parameters.

How is SensorForge Optimizer MCP Server's trust score calculated?

SensorForge Optimizer MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server