Skip to content

feat(ckan-registration): use dso-geo MCP reverse_geocode with local fallback - #5

Open
wmobley wants to merge 1 commit into
mainfrom
issue-3-use-dso-geo-reverse-geocode
Open

feat(ckan-registration): use dso-geo MCP reverse_geocode with local fallback#5
wmobley wants to merge 1 commit into
mainfrom
issue-3-use-dso-geo-reverse-geocode

Conversation

@wmobley

@wmobley wmobley commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • _reverse_geocode_raw (nodes.py, title revision) and _reverse_geocode (persona_nodes.py, evidence gathering) now prefer the shared dso-geo MCP reverse_geocode tool when geo_mcp_enabled, falling back to the existing local Nominatim client on any MCP error or when disabled.
  • Consolidates two independent reverse-geocoding implementations in this repo onto the shared tool from mcp-suite PR feat(geo-mcp): add reverse_geocode and reverse_geocode_bbox tools mcp-suite#2.
  • Depends on that mcp-suite PR being merged/deployed for the MCP path to actually engage; the local fallback keeps current behavior otherwise.

Test plan

  • ckan-agent-api/.venv/bin/pytest tests/test_geo_mcp_integration.py — 12 passed
  • Confirmed 1 unrelated pre-existing failure (test_config_defaults_seed_contact_email_and_crs) also fails on base branch — not introduced by this change

🤖 Generated with Claude Code

…allback

Both title-revision (_reverse_geocode_raw in nodes.py) and evidence-gathering
(_reverse_geocode in persona_nodes.py) now prefer the shared dso-geo MCP
reverse_geocode tool when geo_mcp_enabled, falling back to the existing local
Nominatim client on any MCP error or when disabled. Consolidates two
independent reverse-geocoding implementations onto the shared dso-geo tool.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@wmobley
wmobley deployed to Tapis Configure August 10, 2026 19:16 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant