Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

AnnealBridge

PYPI · ANNEALBRIDGE

Optimization middleware for AI agents: JSON problem in, verified and ranked solutions out.

Available components

−3 this week 91 Trust /100

Last scanned (1 hour ago)

Scores higher than 92% of PyPI servers

Category AI and Machine Learning

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security99
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
  • 3 of 19 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to TheTsungYing/AnnealBridge). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 6 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability75
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 4901 tokens (~408/item across 12 items; 4 tools + 8 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management80
  • Stability observed for 24 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage79
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 25% of tool parameters carry a description.Partial
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 4 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 6 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a current MCP spec version (2026-07-28).Pass
What we tested

Checks we ran (16)

  • Malware scan
  • Known CVEs
  • Install scripts
  • Dependency health
  • Source repository
  • Provenance
  • License
  • Maintenance
  • Security disclosure
  • Schema quality
  • Stability
  • Tool coverage
  • Injection markers
  • Destructive annotations
  • Judged manipulation
  • MCP protocol

Does not apply to this package (2)

  • Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
  • Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.

The score does not measure everything. What the score does not measure →

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 25 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 77 to 80. That category is still filling its 30-day observation window: 23 days of observed history at the previous scan, 24 at this one. The score rises as the window fills, whether or not the server changes.

  • 23 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 70 to 73. That category is still filling its 30-day observation window: 21 days of observed history at the previous scan, 22 at this one. The score rises as the window fills, whether or not the server changes.

  • 22 Nov 26 −5
    • Stability: pass → 0.70 functional
  • 18 Nov 26 0
    • Package version: 0.4.0 → 0.5.0 functional
  • 16 Nov 26 +1
    • Stability: 0.97 → pass security
  • 15 Nov 26 −1
    • Stability: pass → 0.97 functional
  • 12 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
  • 11 Nov 26 −15
    • Malware scan: pass → unverified ▼ security
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 25 Nov 2026 · Analysed pypi/annealbridge@0.5.0

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem pypi
Reason Verified
Discovered via Registry attestation endpoint
Source repo TheTsungYing/AnnealBridge
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/TheTsungYing/AnnealBridge/.github/workflows/release.yml@refs/tags/v0.5.0
Rekor log index 3963522345
Predicate type PyPI publish attestation https://docs.pypi.org/attestations/publish/v1
Subject digest sha256:03d86c4ee87b164d23e63c5aa1d2eedf191253490fb168ccb657b16d714fdee6

Background: How many MCP packages publish verified provenance →

Install scripts 1 script
Hook Tier Command
build_backend Known build tool setuptools.build_meta

Background: Why install scripts are a supply-chain risk →

Dependencies 19 packages
Packages resolved 19
Stale 3
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 4 exposed · ~2,356 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
get_optimization_capabilities ~442

Describe what this optimization server accepts and which solver backends are usable right now. Call this when you need the supported problem vocabulary (variable types, constraint operators, objective terms, accepted schema versions) or, per backend, whether it is installed/configured (available), whether server policy permits it (enabled), and its resource limits. It is not required before every problem: for a small binary problem on a local backend the example in the server instructions already shows the document shape. This performs no solving and no network requests. The full problem JSON schema is several times the size of everything else, so problem_json_schema is null unless include_schema is true. Ask for it when the document needs more than the example shows — integer variables, soft constraints, cardinality constraints, templates, solver preferences — or before inventing a field; every field description is in it. supported_variable_types lists the variable types a problem may declare — "binary" and "integer" — and schema_versions lists every problem schema version this server accepts, newest last; each version accepts everything the one before it does. Integer variables are only allowed when the problem carries "version": "1.1" or later at its top level, cardinality_constraints (exactly, at most or at least k of a set of binary variables chosen) only with "version": "1.2" or later, and index_sets, parameters, variable_families and the *_templates fields (a large, regular problem written once over index sets, which the server expands into ordinary entries) only with "version": "1.3", which accepts every "1.2" document too; "version": "1.0" accepts binary variables and linear constraints only. supported_constraint_operators applies to cardinality constraints too.

NameTypeReqDescription
include_schemaboolean–Whether to include the full OptimizationProblem JSON Schema as problem_json_schema. The default false keeps the response small; pass true only when the schema itself is needed, e.g. for integer varia…
NameTypeReqDescription
annealbridge_version––The installed package version that produced this view; "unknown" outside an installed distribution.
backendsarrayyesEvery registered backend, with its flags and limits.
inequality_requires_integer_coefficientsbooleanyesWhether <= / >= constraints need integral coefficients and rhs, which the slack encoding requires.
problem_json_schema–yesThe full OptimizationProblem JSON Schema, identical to what annealbridge export-schema prints, when it was requested (include_schema on the MCP tool); null otherwise. Its field descriptions explain t…
schema_versionstringyesThe newest problem schema version this server accepts; use it unless an older one is needed.
schema_versionsarrayyesEvery accepted problem schema version, oldest first. Derived from the model, not hard-coded. Each version is a superset of the one before it: "1.1" adds integer variables, "1.2" adds cardinality_cons…
supported_constraint_operatorsarrayyesThe operators a constraint may use, linear or cardinality alike.
supported_objective_termsarrayyesThe kinds of objective term a problem may carry.
supported_variable_typesarrayyesThe variable types a problem may declare.

No examples provided.

recommend_backend ~483

Rank the solver backends of this server for a given problem, without solving it. Advisory only: solve_optimization always uses problem.solver.backend exactly as given and never substitutes a backend. Each entry reports whether the backend is usable right now (installed, credentialed, permitted by policy, within limits), the model type it would compile to, deterministic reason codes, blocking errors, and the same warnings validate_optimization_problem would give for that backend. Based only on the problem structure, backend capabilities and server policy — no cost estimation, no network requests, no quota consumed. A problem with integer variables adds reason codes: R_INTEGER_NATIVE when the backend compiles to cqm and takes integers as they are, R_INTEGER_ENCODED when it compiles to bqm and must binary-encode them, and R_INTEGER_BLOWUP when that encoding also raises an INTEGER_QUADRATIC_BLOWUP warning — a backend carrying that code is ranked after the ones without it. The entries are ordered best first, so the first usable entry is the default choice when the user named no backend. Among backends of the same kind, two reason codes come from a backend's declared, measured structural preference: R_DENSE_STRENGTH when it declares that it reaches the same energy as its peers in a fraction of the time on large dense unconstrained models and this problem is one, R_PENALTY_WEAKNESS when it declares a lower hit rate on models whose hard constraints compile to penalties and this problem has an effective hard constraint. Both shapes are bqm-path shapes, so a backend that compiles to cqm is never matched. A backend carrying the first is ranked ahead of its neighbours, one carrying the second behind them; neither changes which backends are usable. A document that does not fit the schema (a field the schema does not declare, a missing required field, a value of the wrong type) comes back as valid: false with every such error at once, coded UNKNOWN_FIELD, MISSING_FIELD or IN…

NameTypeReqDescription
problem–yes–
NameTypeReqDescription
advisorystring–A fixed sentence restating that a solve always uses problem.solver.backend as given and never substitutes one.
errorsarray–The problem's errors when it is invalid; empty otherwise.
recommendationsarray–Every registered backend, ranked best first.
validbooleanyesThe problem's own validity. When false, recommendations is empty.

No examples provided.

solve_optimization ~856

Solve a structured binary or bounded-integer combinatorial optimization problem. Use this when the user asks which items to take within a budget, weight or capacity, how to assign people or jobs to seats, shifts or machines, in which order to visit a handful of places, or how to split things into groups or pick a subset that meets several requirements at once — anything expressible as yes/no or bounded-count decisions with a linear or quadratic score and linear rules, even when the user never says "optimization". Call this only after translating the user's request into explicit binary or bounded-integer variables, an objective (linear/quadratic, minimize or maximize), and hard or soft linear or cardinality constraints. Do not pass natural-language requirements. A rule that exactly, at most or at least k of a set of binary variables are chosen is written in cardinality_constraints (the counted "variables", "operator" and "rhs" k), which needs "version": "1.2" or later; a hard at-most-one written there compiles on a bqm backend without a slack variable. Each one is evaluated in constraint_evaluations under its own id, after the linear constraints, with actual_value the number of chosen variables. An integer variable is declared with "type": "integer" plus integer lower_bound and upper_bound (both required), and the problem must then carry "version": "1.1" or later at its top level. A backend that compiles to bqm encodes each integer in binary, so the compiled size grows with the range of the bounds; a backend that compiles to cqm takes integers natively. Integer values come back as ints inside their declared bounds. A large, regular problem (every city at every position, every person on every shift) can be written once with templates: index_sets, parameters, variable_families and the *_templates fields, which need "version": "1.3" ("1.3" accepts every "1.2" document too). They are expanded before anything else: an error names the template's own path, solutions a…

NameTypeReqDescription
problem–yes–
NameTypeReqDescription
annealbridge_version––The installed package version that produced this result; "unknown" outside an installed distribution.
attemptsarrayyesOne entry per compile/solve/validate attempt, in order.
backend–yesRegistry name of the backend that ran, or null when the request failed before a backend was chosen.
elapsed_ms––Wall-clock milliseconds measured by the service from entering solve to returning, problem validation and any wait for a concurrency slot included. Unrelated to metadata.timing_us, which is what a ven…
errorsarray–Structured failures. Empty on success.
infeasibility––Why the last attempt found nothing feasible. Present only when status is infeasible and that attempt had candidates to diagnose; null on every other status, and on an attempt that received no samples…
infeasibility_provenboolean–True only when an exhaustive backend actually enumerated every assignment and found none feasible. On a heuristic or remote backend an infeasible result only means 'not found under this configuration…
message––Human-readable one-line summary of the result. On success: which backend produced it, whether optimality is proven, the rank-1 objective with its direction (and its soft violation when non-zero), how…
metadata––Sanitized execution facts about the last completed attempt, local backends included. Null when the request failed before any solve finished; the service never invents it.
objective_direction–yesEchoed from the problem, so a consumer can interpret objective_value without re-reading the input. Null when the request failed before the problem was read.
optimality_provenboolean–True only on success when an exhaustive backend enumerated every assignment: rank 1 is then the global optimum of ranking_score, not merely the best candidate seen. Always false on a heuristic or rem…
solutionsarrayyesRanked feasible solutions, best first, at most solver.top_k. Empty unless status is success.
statusstringyesThe single verdict for the request. success: at least one feasible solution was found and ranked. infeasible: the pipeline ran but no candidate satisfied every hard constraint under re-validation — c…
wall_clock_limit_reachedboolean–True when solver.wall_clock_limit_seconds ran out while work was left: an attempt was cut short or a retry was not started. The solutions are then the best of a partial search, still re-validated and…
warningsarray–Non-blocking advice, same structure as an error: the warnings validate gives for this backend, then any raised during the run. Present whatever the status, except invalid_problem.

No examples provided.

validate_optimization_problem ~575

Check a structured optimization problem without solving it. Returns semantic errors (each with a recommended_action), advisory warnings, and an estimate of the compiled variable count including slack bits. Call this before solve_optimization when planning to use a remote backend, so problems can be fixed before spending quota, or when the problem is large (many variables, wide integer ranges). On a local backend solve_optimization can be called directly: an invalid document returns status invalid_problem with the same errors and recommended_action. Nothing is compiled or solved and no network requests are made. solve_optimization reports the same warnings for the same backend, so skipping this call never hides them; calling it first only saves the solve. A document that does not fit the schema — a field the schema does not declare (never ignored), a missing required field, a value of the wrong type — comes back as valid: false with every such error at once, coded UNKNOWN_FIELD, MISSING_FIELD or INVALID_FIELD_VALUE and naming its path. Semantic errors are reported once the document fits the schema. Check the schema (get_optimization_capabilities with include_schema: true returns it as problem_json_schema) before inventing a field. Cardinality constraints are checked in their own terms: an error or warning about one names its path under cardinality_constraints (for example cardinality_constraints[0].variables[2]). In a document of version "1.2" or later, a hard linear constraint that is an at-most-one (two or more distinct binary variables, every coefficient 1, operator "<=", rhs 1) gets the advisory warning CARDINALITY_FORM_AVAILABLE on a bqm backend: declared in cardinality_constraints it would need no slack variable. A "version": "1.3" document with templates (index_sets, parameters, variable_families, *_templates) is expanded first and the expanded problem is what gets checked and estimated. An error in a template, or in an entry it generated, names the templ…

NameTypeReqDescription
problem–yes–
NameTypeReqDescription
errorsarray–Every error found in one pass — validation does not stop at the first. Empty means the problem is safe to compile.
estimated_compiled_variables––Compiled size without building a model: on the BQM path, binary variables + integer-encoding bits + slack bits; on the CQM path, variables + integer slacks. Null when the problem is invalid.
model_type––Which compiler path the estimate assumed. Null when the problem is invalid.
objective_scale––The upper bound on the objective's range, used to size hard penalties and to judge whether a soft weight is meaningful. Null when the problem is invalid.
validbooleanyesDecided by errors alone. Warnings are advisory and never make a problem invalid.
warningsarray–Advisory findings that do not block a solve. Only produced when there are no errors.

No examples provided.

Install

How do I install the AnnealBridge MCP server?

AnnealBridge runs locally as a PyPI package, launched with uvx --from 'annealbridge[mcp]' annealbridge mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 3 more is on this page, copied from each client's own documentation.

pypi · annealbridge

# add to Claude Code
claude mcp add thetsungying-annealbridge -- uvx --from 'annealbridge[mcp]' annealbridge mcp
Common questions

What is the AnnealBridge MCP server?

AnnealBridge is an MCP server listed in the public MCP registry as io.github.TheTsungYing/annealbridge. Optimization middleware for AI agents: JSON problem in, verified and ranked solutions out. This page covers its PyPI package (annealbridge).

Is the AnnealBridge MCP server safe to use?

AnnealBridge scores 91 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 25 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the AnnealBridge MCP server expose?

AnnealBridge exposes 4 tools: get_optimization_capabilities, validate_optimization_problem, recommend_backend, solve_optimization. Their descriptions and schemas cost roughly 2,356 tokens of context every time the server is loaded.

Is the AnnealBridge MCP server still maintained?

AnnealBridge is still listed as active in the MCP registry. We last reached this channel on 25 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the AnnealBridge MCP server under?

AnnealBridge declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

What did VerifyMCP test on the AnnealBridge MCP server?

VerifyMCP ran 16 checks on AnnealBridge, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.