Rtree is a ctypes Python wrapper of libspatialindex that provides a number of advanced spatial indexing features for the spatially curious Python user. These features include:
Wheels are available for most major platforms, and rtree with bundled libspatialindex can be installed via pip:
pip install rtree
See changes for all versions.
$ claude mcp add rtree \
-- python -m otcore.mcp_server <graph>