geotap-mcp-server 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +52 -32
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geotap-mcp-server",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "MCP server for GeoTap — collect comprehensive environmental data from 80+ US federal sources for any site. One tool, all the data.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -37,26 +37,42 @@ DATA INCLUDES:
37
37
  - Protected lands (PAD-US), wild & scenic rivers, sole source aquifers
38
38
 
39
39
  HOW TO PRESENT RESULTS:
40
- When you receive completed data, organize your response using these sections (skip sections with no data):
40
+ The goal is a scannable engineering document, not a data dump. An engineer doing site due diligence needs to answer three questions fast:
41
+ 1. What kills the project? (floodway, contamination, protected species)
42
+ 2. What complicates permitting? (wetlands, impaired waters, high slopes, poor soils)
43
+ 3. What's the baseline context? (rainfall IDF, seismic params, demographics, infrastructure)
41
44
 
42
- 1. **Site Overview** Location, area, county, state, elevation range, land cover
43
- 2. **Environmental Constraints** Flood zones, wetlands, soils (drainage class, hydrologic group), impaired waters, critical habitat. Flag any development constraints.
44
- 3. **Contamination & Regulated Sites**Superfund, brownfields, USTs, NPDES, EPA-regulated facilities within the search radius. Include distances and directions.
45
- 4. **Water Resources** Streams, watershed (HUC), water quality stations, groundwater wells, Atlas 14 rainfall (cite 2yr/10yr/100yr 24-hour depths).
46
- 5. **Natural Hazards** Flood risk (FEMA zones), seismic design values, NRI risk index, earthquake history, landslide susceptibility, wildfire history.
47
- 6. **Infrastructure & Services** Nearby hospitals, fire stations, schools, EMS, dams, airports, bridges. Include counts and distances.
48
- 7. **Demographics & Energy** Population, median income, housing, solar potential, utility rates.
49
- 8. **Key Findings & Considerations** Summarize the most important findings. Highlight anything that would affect site development, permitting, or engineering design.
45
+ CRITICAL FLAGSscan results and lead with these if present:
46
+ - Any FEMA zone AE/AO/VE (SFHA): "Site intersects SFHA Zone [X]" (CRITICAL)
47
+ - Any floodway: "Regulatory floodwayno-rise certification required" (CRITICAL)
48
+ - Superfund site nearby: "NPL Superfund site within search radius" (CRITICAL)
49
+ - Wetland count > 10: "High wetland density Section 404 permitting likely" (HIGH)
50
+ - 303(d) impaired water (Category 5): "TMDL required, stricter discharge limits" (HIGH)
51
+ - Brownfields > 3: "Phase I ESA recommended" (MODERATE)
52
+ - Soils with HSG D: "Poorly draining soils stormwater design impact" (MODERATE)
53
+
54
+ SECTION ORDER (skip sections with no data):
55
+ 1. Site overview — address, coordinates, county, elevation (min/max/mean), land cover, area
56
+ 2. FEMA flood zones — table with zone, subtype, SFHA status, risk level
57
+ 3. Soils — one block per soil unit: HSG, drainage class, slope, flood frequency, limitations
58
+ 4. Atlas 14 rainfall — IDF table (rows: 15min, 1hr, 6hr, 12hr, **24hr bold**, 3day; cols: 2yr, 5yr, 10yr, 25yr, 50yr, 100yr). Include Atlas 14 volume/version.
59
+ 5. Natural hazard risk — NRI ratings by hazard type (overall, flooding, tornado, earthquake, etc.)
60
+ 6. Wetlands — count, type breakdown, Section 404 permitting note
61
+ 7. Water resources — streams (with distances), impaired waters (category), watershed HUC
62
+ 8. Contamination — Superfund, brownfields (with distances/status), USTs, NPDES outfalls
63
+ 9. Seismic & dams — ASCE 7-22 params (SDS, SD1, SDC, PGA), nearby dams with hazard rating
64
+ 10. Infrastructure — hospitals, fire stations, schools, EMS counts with distances
65
+ 11. Solar & energy — DNI, GHI, capacity factor, utility rates
66
+ 12. Demographics — population, median income, vacancy rate (from Census ACS)
50
67
 
51
68
  FORMATTING RULES:
52
- - Use markdown tables for structured data (flood zones, soils, nearby facilities)
53
- - Bold key values and findings that matter most
54
- - Always cite the source agency for each data point (e.g., "FEMA NFHL", "NRCS SSURGO", "NOAA Atlas 14")
55
- - Include distances and cardinal directions for nearby features (e.g., "0.8 miles NW")
56
- - For Atlas 14 rainfall, present as a compact table: return period × duration
57
- - For soils, include drainage class and hydrologic soil group these drive stormwater design
58
- - Note when a data source was queried but returned no data ("_noData: true") this is informative (e.g., no Superfund sites nearby is good news)
59
- - End with a disclaimer: "Data sourced from US federal agencies via GeoTap. Verify critical findings against authoritative sources before making engineering or regulatory decisions."
69
+ - Use markdown tables for flood zones, rainfall IDF, brownfields, soils
70
+ - Bold the 24-hr row in rainfall tables — it's the most referenced for stormwater design
71
+ - For soils, always include HSG and drainage class these drive CN calculations
72
+ - Include distances and cardinal directions for nearby features (e.g., "0.8 mi NW")
73
+ - When a source returned no data ("_noData"), mention it where relevant ("no Superfund sites" is positive)
74
+ - Cite source agencies (FEMA, NRCS, NOAA Atlas 14, EPA), not just "GeoTap"
75
+ - End with disclaimer: "Data sourced from US federal agencies via GeoTap. Verify critical findings against authoritative sources before making engineering or regulatory decisions."
60
76
 
61
77
  IMPORTANT:
62
78
  - All data from authoritative US federal sources. Always cite the source agency, not just "GeoTap."
@@ -179,23 +195,27 @@ server.tool(
179
195
  disclaimer: 'Data sourced from US federal agencies via GeoTap. Always verify critical data against authoritative sources before making engineering or regulatory decisions.',
180
196
  };
181
197
  response._presentationGuide = {
182
- instructions: 'Present these results to the user in a well-organized report. Follow the formatting instructions in the server description (HOW TO PRESENT RESULTS section).',
183
- sections: [
184
- 'Site Overview (location, area, elevation, land cover)',
185
- 'Environmental Constraints (flood zones, wetlands, soils, impaired waters)',
186
- 'Contamination & Regulated Sites (Superfund, brownfields, USTs, NPDES — with distances)',
187
- 'Water Resources (streams, watershed, water quality, rainfall IDF data)',
188
- 'Natural Hazards (flood risk, seismic, NRI, earthquakes, wildfires)',
189
- 'Infrastructure & Services (hospitals, fire stations, schools, dams, bridges)',
190
- 'Demographics & Energy (Census ACS, solar potential, utility rates)',
191
- 'Key Findings & Considerations (summarize what matters most for this site)',
198
+ instructions: 'Present as a scannable engineering document. Lead with critical flags, then structured sections. Follow the HOW TO PRESENT RESULTS instructions.',
199
+ priorityOrder: [
200
+ '1. Critical flags (floodway, SFHA, Superfund, high wetland density)',
201
+ '2. FEMA flood zones (table: zone, subtype, SFHA, risk)',
202
+ '3. Soils (HSG, drainage class, slope, limitations)',
203
+ '4. Atlas 14 rainfall (IDF table bold 24hr row)',
204
+ '5. NRI hazard risk (badge grid by hazard type)',
205
+ '6. Wetlands (count, types, Section 404 note)',
206
+ '7. Water resources (streams, impaired waters with distances)',
207
+ '8. Contamination (Superfund, brownfields, USTs with distances)',
208
+ '9. Seismic & dams (ASCE 7-22 params, nearby dams)',
209
+ '10. Infrastructure (hospitals, fire, schools, EMS counts)',
210
+ '11. Solar/energy & demographics (collapsed/secondary)',
192
211
  ],
193
212
  tips: [
194
- 'Use markdown tables for structured comparisons',
195
- 'Bold the most critical findings (e.g., site is in a FEMA AE flood zone)',
196
- 'Cite source agencies, not just GeoTap',
197
- 'Mention when sources returned no data "no Superfund sites" is useful info',
198
- 'End with the disclaimer from _meta',
213
+ 'Lead with what kills or complicates the project — not context',
214
+ 'Use tables for flood zones, rainfall IDF, brownfields, soils',
215
+ 'Bold the 24-hr rainfall row — most referenced for stormwater design',
216
+ 'For soils, always show HSG and drainage class (drives CN calculation)',
217
+ 'Cite source agencies (FEMA, NRCS, NOAA Atlas 14, EPA)',
218
+ '"No Superfund sites nearby" is positive — mention it',
199
219
  ]
200
220
  };
201
221
  } else {