Skip to content

Guillecasas1/predio-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Predio examples

Minimal examples for Predio — Spain's cadastre as clean JSON (REST + MCP). Get a free API key (250 calls/month) at https://prediohq.com.

  • curl.sh — the three inputs: cadastral reference, coordinates, address
  • node/lookup.mjs and python/lookup.py — typed-error handling (404 NOT_FOUND, 422 INVALID_REFERENCE, 402 PAYMENT_REQUIRED, 429 RATE_LIMITED — always JSON)
  • mcp/claude-config.md — connect the remote MCP server to Claude or any MCP client

Quick start

export PREDIO_API_KEY="pk_..."   # free key: https://prediohq.com
./curl.sh

Docs

OpenAPI · llms.txt · Why the official SOAP API is harder than it looks · Honest comparison of your options (including when NOT to use Predio)

Coverage & attribution

Territorio común of Spain — excludes the Basque Country and Navarre (separate foral cadastres). No ownership data (legally protected). Not affiliated with the Dirección General del Catastro. Data attribution: DGC.

About

Examples for Predio — Spain's cadastre as clean JSON (REST + MCP): curl, Node, Python, Claude/MCP config

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors