Ottoref — Standards MCP Server

v0.3.0
io.github.ottonic/standards-mcp-server Checked 2 days ago Published 1 month ago

ISO 286 limits and fits, ISO 2768 tolerances, material properties, and process limits.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_standards List Standards Coverage

List the standards this server implements, and what within each one is not covered. Call this first when a question mentions a standard, so you know whether the value you need is available before you promise an answer. Coverage is partial by design: unimplemented values are refused with a stated reason rather than approximated. Use iso286_applicability for exact size intervals of an ISO 286 class.

limits_of_size Limits of Size for a Tolerance Class

Return the upper and lower deviations, and the resulting limits, for one tolerance class at one nominal size, such as 36H7 or 36g6. Uppercase is a hole, lowercase a shaft. Values are millimetres and are deviations from the nominal size. Use this to interpret a toleranced dimension; whether the resulting limits suit a joint is an engineering decision.

ParameterTypeDescription
designation *stringTolerance class, e.g. H7 or g6.
nominal *numberNominal size in millimetres.

iso286_applicability Check ISO 286 Class Applicability

List the exact nominal-size intervals where one ISO 286 tolerance class is supported, such as H7, j5 or N9. Use this before relying on a class across a size range; omitted intervals are not inferred.

ParameterTypeDescription
designation *stringTolerance class in standard notation, e.g. H7, j5 or N9.

fit Fit Between a Hole and a Shaft

Return the resulting fit between one hole class and one shaft class at the same nominal size, such as 12 H7/h6: the type (clearance, transition or interference), the minimum and maximum clearance, and the maximum interference. Values are millimetres. A negative minimum clearance means the fit can interfere. This reports the geometry of the fit, not whether it is the right choice for a joint, which depends on function and is the caller's decision.

ParameterTypeDescription
hole *stringHole tolerance class, e.g. H7.
nominal *numberNominal size in millimetres, shared by the hole and shaft.
shaft *stringShaft tolerance class, e.g. g6 or n6.

it_grade Standard Tolerance Grade Value

Return the standard tolerance value for one IT grade at one nominal size, in micrometres and millimetres, with the size step it came from. Use this when a drawing or a calculation needs the tolerance width itself, rather than the limits of a specific class.

ParameterTypeDescription
grade *stringStandard tolerance grade in ISO notation: IT01, IT0, or IT1 to IT18.
nominal *numberNominal size in millimetres.

general_tolerance ISO 2768-1 General Tolerance

Return the deviation that a general-tolerance note such as ISO 2768-m implies for one dimension, so an unmarked dimension can be checked. The tables differ by what they cover: linear dimensions, broken edges (external radii and chamfer heights), and angular dimensions, which are keyed by the shorter side of the angle rather than the nominal size. A general tolerance applies only where the drawing gives no individual tolerance, so check for one first.

ParameterTypeDescription
nominal *numberNominal size, or the shorter side of an angle.
tolerance_class *stringClass letter from the drawing note, e.g. m.
kindstringWhich table to read: linear dimensions (default), broken edges such as chamfers and external radii, or angular dimensions. They have different values.

general_tolerance_complies Check a Deviation Against an ISO 2768-1 Note

Compare a stated deviation numerically against the ISO 2768-1 general-tolerance value for one dimension. This is only a numeric comparison: first establish that the dimension has no individual tolerance indication, because the general tolerance applies only to unmarked dimensions. The result does not establish process capability.

ParameterTypeDescription
nominal *numberNominal size, or the shorter side of an angle.
stated_deviation *numberThe deviation the drawing actually states for this dimension, in millimetres (or degrees for angular). Sign is ignored: the tables are symmetric.
tolerance_class *stringClass letter from the drawing note, e.g. m.
kindstringWhich table applies. Default: linear.

material_properties Material Properties (Typical Values)

Look up indicative material properties for a common metal or plastic by designation, such as 6061-T6, 304 or Ti-6Al-4V. Returns density, yield and ultimate strength, Young's modulus, Poisson's ratio, elongation, thermal expansion and maximum service temperature, all in SI. These are TYPICAL handbook values, not design allowables: every value is tagged basis: typical. Use them to compare materials, estimate mass, or supply an indicative modulus to an analysis; obtain an allowable from a qualified source before relying on a strength margin. An unmatched designation means this reference does not…

ParameterTypeDescription
material *stringMaterial designation, e.g. "6061-T6" or "304".
propertystringRestrict the answer to one property, so the response stays small.

material_coverage What Material Data Is Held

List what the material reference holds and what it does not. Call this when a material was not found, or before promising a property, so a gap is visible rather than assumed. The reference is limited to typical values for common metals and plastics: it holds no design allowables, no fatigue data and no high-temperature data.

process_limits Manufacturing Process Limits

Describe what a manufacturing process can hold: minimum wall thickness, minimum hole-to-edge and hole-to-bend distances, minimum internal corner radius, bend radius, draft angle, pocket depth-to-width ratio. Call process_feasibility to test one measured feature against these. These are published rules of thumb for geometric feasibility, not a specific shop's capability, and they say nothing about cost or lead time.

ParameterTypeDescription
process *stringWhich process to describe.

process_feasibility Check a Feature Against Process Limits

Compare one measured feature against a manufacturing process's limits and report whether it is within, marginal, or beyond them. Some limits are expressed as a ratio of material thickness rather than an absolute size — a 1 mm hole is fine in thin sheet and difficult in thick plate — so supply the thickness when the limit needs it. A result inside the limits is not a promise that a shop can make the part, or an estimate of what it costs. Pair this with a measured wall or hole size from a CAD server to answer whether a part suits a process.

ParameterTypeDescription
feature *stringWhich limit to check.
measured *numberThe measured value for the feature, in millimetres (or degrees for draft).
process *stringWhich process the feature is being made by.
thicknessnumberMaterial thickness in millimetres. Required when the limit is expressed as a ratio of thickness, which is common for sheet metal — the error says so if it is missing.

process_list List Manufacturing Processes

List the manufacturing processes this server has limits for, and which features each one covers. Call this first when a question names a process, so an unsupported process is visible before a check fails.