1D Vertical Electrical Sounding (VES) Occam inversion and forward modeling powered by pyGIMLi.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Simulate a synthetic 1D Vertical Electrical Sounding (VES) apparent resistivity curve from known subsurface layer thicknesses and resistivities. Returns rhoa_true, optional rhoa_noisy (when noise_pct > 0), cumulative interface depths (layer_depths), and doi_depth. Useful for pre-survey electrode spread design and inversion benchmarking.
4 to 150 positive spacings: AB/2 for Schlumberger, or 'a' spacing for Wenner (consistent length units, e.g. m or ft)
Thicknesses of the top N-1 finite layers (same length units as spacing; bottom layer is a semi-infinite half-space)
True layer resistivities from surface layer down to bottom half-space (length must equal len(thicknesses) + 1)
Potential electrode half-spacing MN/2 (required for Schlumberger, must be > 0 and < AB/2; omitted for Wenner)
Optional integer RNG seed for reproducible synthetic noise
Relative Gaussian noise percentage (0.0 to 25.0%) to populate rhoa_noisy (0.0 returns noise-free rhoa_true only). For closed-loop inversion tests, pass uniform [noise_pct]*N as sd_pct (noting invert_ves_sounding enforces a 2.0% minimum error floor)
Electrode configuration: 'schlumberger' or 'wenner'
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http indieml-ves https://indieml.app/ves/api/mcp
Simulate a synthetic 1D Vertical Electrical Sounding (VES) apparent resistivity curve from known subsurface layer thicknesses and resistivities. Returns rhoa_true, optional rhoa_noisy (when noise_pct > 0), cumulative interface depths (layer_depths), and doi_depth. Useful for pre-survey electrode spread design and inversion benchmarking.
| Argument | Type | Description |
|---|---|---|
| mn2 | any | Potential electrode half-spacing MN/2 (required for Schlumberger, must be > 0 and < AB/2; omitted for Wenner) |
| seed | any | Optional integer RNG seed for reproducible synthetic noise |
| spacing* | array | 4 to 150 positive spacings: AB/2 for Schlumberger, or 'a' spacing for Wenner (consistent length units, e.g. m or ft) |
| noise_pct | number | Relative Gaussian noise percentage (0.0 to 25.0%) to populate rhoa_noisy (0.0 returns noise-free rhoa_true only). For closed-loop inversion tests, pass uniform [noise_pct]*N as sd_pct (noting invert_ves_sounding enforces a 2.0% minimum error floor) |
| array_type | string | Electrode configuration: 'schlumberger' or 'wenner' |
| thicknesses* | array | Thicknesses of the top N-1 finite layers (same length units as spacing; bottom layer is a semi-infinite half-space) |
| resistivities* | array | True layer resistivities from surface layer down to bottom half-space (length must equal len(thicknesses) + 1) |
{
"type": "object",
"title": "forward_ves_soundingArguments",
"required": [
"spacing",
"thicknesses",
"resistivities"
],
"properties": {
"mn2": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
],
"title": "Mn2",
"default": null,
"description": "Potential electrode half-spacing MN/2 (required for Schlumberger, must be > 0 and < AB/2; omitted for Wenner)"
},
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"default": null,
"description": "Optional integer RNG seed for reproducible synthetic noise"
},
"spacing": {
"type": "array",
"items": {
"type": "number"
},
"title": "Spacing",
"description": "4 to 150 positive spacings: AB/2 for Schlumberger, or 'a' spacing for Wenner (consistent length units, e.g. m or ft)"
},
"noise_pct": {
"type": "number",
"title": "Noise Pct",
"default": 0,
"maximum": 25,
"minimum": 0,
"description": "Relative Gaussian noise percentage (0.0 to 25.0%) to populate rhoa_noisy (0.0 returns noise-free rhoa_true only). For closed-loop inversion tests, pass uniform [noise_pct]*N as sd_pct (noting invert_ves_sounding enforces a 2.0% minimum error floor)"
},
"array_type": {
"enum": [
"schlumberger",
"wenner"
],
"type": "string",
"title": "Array Type",
"default": "schlumberger",
"description": "Electrode configuration: 'schlumberger' or 'wenner'"
},
"thicknesses": {
"type": "array",
"items": {
"type": "number"
},
"title": "Thicknesses",
"description": "Thicknesses of the top N-1 finite layers (same length units as spacing; bottom layer is a semi-infinite half-space)"
},
"resistivities": {
"type": "array",
"items": {
"type": "number"
},
"title": "Resistivities",
"description": "True layer resistivities from surface layer down to bottom half-space (length must equal len(thicknesses) + 1)"
}
}
}Invert 1D Vertical Electrical Sounding (VES) apparent resistivity field data into a layered subsurface resistivity depth profile using pyGIMLi Occam inversion. Pass consistent length and resistivity units (e.g., m and Ohm-m, or ft and Ohm-ft). The result is a smooth, non-unique model, not a unique layered earth. When explaining results to a user, always report doi_depth, chi2, rms_error_pct, qc_flags, and the interpretation_notes field; describe features near or below doi_depth as weakly constrained; and treat the min/max envelope as sensitivity to smoothing only, not full uncertainty. Decision & Interpretation Rules: - If NO local geology/hydrogeology context is provided: do not guess lithology or issue a blind drilling recommendation from resistivity alone—ask for the site's geological setting and present results as screening support. - If local geological context IS provided AND the fit is physically consistent (chi2 <= 1.5, few/no residual outliers, target above doi_depth): translate resistivity zones into plausible site-specific lithologies, note that smooth Occam transitions sit ~15-25% deeper than sharp block boundaries, and provide a candidate screening/target depth interval (with standard borehole verification caveats). - If data fit is poor (chi2 > 1.5 or major high-spacing residuals): advise against drilling on this sounding alone and explain the specific field or 2D/lateral causes.
| Argument | Type | Description |
|---|---|---|
| lam | number | Occam regularization smoothing weight (lambda), used when auto_lam is false |
| mn2 | any | Potential electrode half-spacing MN/2 (required for Schlumberger, must be > 0 and < AB/2; omitted for Wenner) |
| i_mA | any | Optional injected current in mA (used for QC weighting when sd_pct is omitted; flags < 300 mA) |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 1, 2026.
| rhoa* | array | 4 to 150 positive apparent resistivity readings matching spacing length (consistent units, e.g. Ohm-m or Ohm-ft) |
| v_mV | any | Optional measured potential voltage in mV (used for QC weighting when sd_pct is omitted; flags < 10 mV) |
| sd_pct | any | Optional per-reading stacking standard deviation (%), clamped to a 2.0% minimum error floor to prevent singular weights |
| spacing* | array | 4 to 150 positive spacings: AB/2 for Schlumberger, or 'a' spacing for Wenner (consistent length units, e.g. m or ft) |
| auto_lam | boolean | Select the smoothest candidate from [500, 200, 100, 50, 20, 10, 5] reaching chi2 <= 1.05 via discrepancy principle (overrides lam; if no candidate reaches the target, falls back to the smoothest candidate within 10% of the lowest achieved chi2) |
| max_iter | integer | Maximum Occam inversion iterations |
| error_pct | number | Fallback relative data error (%) applied uniformly when sd_pct is omitted |
| array_type | string | Electrode configuration: 'schlumberger' or 'wenner' |
| include_envelope | boolean | Compute min/max regularization sensitivity bounds by bracketing the selected lambda at 0.3x and 3.0x |
{
"type": "object",
"title": "invert_ves_soundingArguments",
"required": [
"spacing",
"rhoa"
],
"properties": {
"lam": {
"type": "number",
"title": "Lam",
"default": 20,
"description": "Occam regularization smoothing weight (lambda), used when auto_lam is false"
},
"mn2": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
],
"title": "Mn2",
"default": null,
"description": "Potential electrode half-spacing MN/2 (required for Schlumberger, must be > 0 and < AB/2; omitted for Wenner)"
},
"i_mA": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
],
"title": "I Ma",
"default": null,
"description": "Optional injected current in mA (used for QC weighting when sd_pct is omitted; flags < 300 mA)"
},
"rhoa": {
"type": "array",
"items": {
"type": "number"
},
"title": "Rhoa",
"description": "4 to 150 positive apparent resistivity readings matching spacing length (consistent units, e.g. Ohm-m or Ohm-ft)"
},
"v_mV": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
],
"title": "V Mv",
"default": null,
"description": "Optional measured potential voltage in mV (used for QC weighting when sd_pct is omitted; flags < 10 mV)"
},
"sd_pct": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
],
"title": "Sd Pct",
"default": null,
"description": "Optional per-reading stacking standard deviation (%), clamped to a 2.0% minimum error floor to prevent singular weights"
},
"spacing": {
"type": "array",
"items": {
"type": "number"
},
"title": "Spacing",
"description": "4 to 150 positive spacings: AB/2 for Schlumberger, or 'a' spacing for Wenner (consistent length units, e.g. m or ft)"
},
"auto_lam": {
"type": "boolean",
"title": "Auto Lam",
"default": false,
"description": "Select the smoothest candidate from [500, 200, 100, 50, 20, 10, 5] reaching chi2 <= 1.05 via discrepancy principle (overrides lam; if no candidate reaches the target, falls back to the smoothest candidate within 10% of the lowest achieved chi2)"
},
"max_iter": {
"type": "integer",
"title": "Max Iter",
"default": 20,
"description": "Maximum Occam inversion iterations"
},
"error_pct": {
"type": "number",
"title": "Error Pct",
"default": 3,
"description": "Fallback relative data error (%) applied uniformly when sd_pct is omitted"
},
"array_type": {
"enum": [
"schlumberger",
"wenner"
],
"type": "string",
"title": "Array Type",
"default": "schlumberger",
"description": "Electrode configuration: 'schlumberger' or 'wenner'"
},
"include_envelope": {
"type": "boolean",
"title": "Include Envelope",
"default": false,
"description": "Compute min/max regularization sensitivity bounds by bracketing the selected lambda at 0.3x and 3.0x"
}
}
}