# TerraLab Docs > Documentation for TerraLab: the QGIS plugins (AI Agent, AI Segmentation, AI Edit), and geodata tools for any place (addresses, OpenStreetMap and Overture data, terrain, routes, Sentinel-2 images, population, French parcels and natural risks) as a remote MCP server at https://mcp.terra-lab.ai/mcp and a REST API at https://mcp.terra-lab.ai/v1. Every result names its sources and licences. Every page below is markdown. The OpenAPI 3.1 document is https://mcp.terra-lab.ai/v1/openapi.json. All pages in one file: https://terra-lab.ai/docs/llms-full.txt. The site-wide index, with the product pages and the blog, is https://terra-lab.ai/llms.txt. - [TerraLab documentation](https://terra-lab.ai/docs.md): Docs for the TerraLab QGIS plugins (AI Agent, AI Segmentation, AI Edit) and for the TerraLab MCP server and REST API: install, quickstart, tools, pricing. ## QGIS plugins - [QGIS plugins](https://terra-lab.ai/docs/plugins.md): TerraLab's three QGIS plugins: AI Agent runs a GIS task from one sentence, AI Segmentation turns imagery into polygons, AI Edit changes what imagery shows. - [Install and sign in](https://terra-lab.ai/docs/plugins/install.md): Install the TerraLab QGIS plugins from the QGIS plugin manager, sign in with a free TerraLab account, and check the QGIS version each plugin needs. - [AI Agent](https://terra-lab.ai/docs/plugins/ai-agent.md): AI Agent carries out a GIS task in your open QGIS project from one sentence: it finds the data, runs the analysis and builds the map. Use, free tasks, limits. - [AI Segmentation](https://terra-lab.ai/docs/plugins/ai-segmentation.md): AI Segmentation turns imagery into vector polygons in QGIS, from a click or a word like buildings. Semi-Auto and Automatic modes, free allowance, export. - [AI Edit](https://terra-lab.ai/docs/plugins/ai-edit.md): AI Edit changes what an aerial image shows from a plain-language instruction and returns a georeferenced raster in QGIS. How to use it, free images, limits. ## MCP server and API - [Quickstart](https://terra-lab.ai/docs/quickstart.md): Create a TerraLab API key and make your first geodata call in under five minutes, with curl, Python or JavaScript, or add the MCP server to your agent. - [Connect an agent](https://terra-lab.ai/docs/mcp.md): Add the TerraLab MCP server to Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code or any agent, with the exact command or link for each, then sign in. - [Authentication](https://terra-lab.ai/docs/authentication.md): Authenticate to the TerraLab API with a tlk_ API key, let your AI agent sign in with OAuth 2.1, or confirm a 6-digit code for an agent that has no browser. - [Team sign-in for Claude Team and Enterprise](https://terra-lab.ai/docs/team-sign-in.md): Give every member of a Claude Team or Enterprise organization TerraLab with no sign-in: set the Claude issuer URL as your trusted issuer and invite them. - [WebMCP tools for browser agents](https://terra-lab.ai/docs/webmcp.md): The tools every terra-lab.ai page registers for browser AI agents through WebMCP: coordinate and file conversion, building data, the Data API and your account. ## API reference - [TerraLab API reference](https://terra-lab.ai/docs/api.md): Every TerraLab REST endpoint with its parameters, request samples in curl, Python and JavaScript, and responses, generated from the OpenAPI document. - [Find places and addresses](https://terra-lab.ai/docs/api/find_places.md): Coordinates of an address or place name, the address at a point, or a list of up to 100 addresses placed on a map with a CSV for QGIS. - [Convert coordinates](https://terra-lab.ai/docs/api/convert_coordinates.md): Coordinates converted between decimal degrees, degrees minutes seconds, UTM, MGRS, Lambert 93 or any EPSG code, with the format detected for you. - [Measure distance, area, radius or buffer](https://terra-lab.ai/docs/api/measure.md): Geodesic distance and bearing between places, the length of a line, the area and perimeter of a polygon, or a circle or buffer around a shape. - [Extract open map data for an area](https://terra-lab.ai/docs/api/extract_open_data.md): OpenStreetMap and Overture layers for any area: buildings, roads, addresses, points of interest, land use, water and more, as GIS files. - [Open, map and convert GIS data](https://terra-lab.ai/docs/api/open_gis_file.md): Any GeoJSON, KML, KMZ, GPX, Shapefile, CSV or WKT read, checked, shown on a map and converted to another format. - [Buffer, clip, join, count or filter features](https://terra-lab.ai/docs/api/process_geometry.md): One GIS operation on a set of features: buffer, union, dissolve, intersection, difference, clip or simplify, returned as a file. - [Elevation, profile and contour lines](https://terra-lab.ai/docs/api/get_elevation.md): Elevation of points, a profile along a path, or a DEM, hillshade, slope and contour lines for an area, worldwide at 30 m. - [Road route between places](https://terra-lab.ai/docs/api/get_route.md): Driving, walking or cycling route through 2 to 25 places, with distance and travel time per leg and the route line. - [Area reachable in a travel time](https://terra-lab.ai/docs/api/get_travel_area.md): The area reachable from 1 to 10 places within a travel time or a distance on the road network, driving, walking or cycling (isochrones). - [Travel times between many places](https://terra-lab.ai/docs/api/get_travel_times.md): Driving, walking or cycling distances and travel times from up to 25 origins to up to 25 destinations in one call, as a matrix with a map and a CSV. - [Satellite image of an area](https://terra-lab.ai/docs/api/get_satellite_image.md): A recent Sentinel-2 image of an area in true colour, false colour or NDVI, or an IGN aerial photo in France, as a GeoTIFF. - [Sentinel-2 index and change](https://terra-lab.ai/docs/api/get_satellite_index.md): NDVI, NDWI, NBR or NDBI statistics and a map for an area on one date, or the change between two dates, from cloud-masked Sentinel-2 scenes. - [Statistics of a raster per polygon](https://terra-lab.ai/docs/api/zonal_statistics.md): A raster summarised for each polygon of a layer: population, land cover shares, or elevation and slope per district, parcel or catchment. - [Forest type (natural, planted, plantation)](https://terra-lab.ai/docs/api/get_forest_type.md): Whether a forest is natural, naturally regenerating, planted, a plantation or tree crops, mapped at 10 m for 2020. - [Estimate the population of an area](https://terra-lab.ai/docs/api/estimate_population.md): A modelled estimate of the people living in a circle, a bounding box, a travel area or an administrative boundary, from the GHS-POP 2025 grid. - [French cadastral parcel and zoning](https://terra-lab.ai/docs/api/french_parcel.md): The French cadastral parcel at an address or point, its reference and area, and the urban plan zone that applies there. - [French cadastral parcels and zoning in an area](https://terra-lab.ai/docs/api/french_parcels_in_area.md): Every French cadastral parcel in an area, with its reference, its area and the urban plan zone it lies in, as a GIS file. - [French building heights](https://terra-lab.ai/docs/api/french_building_heights.md): Height in metres, floors, main use and year built of every building around an address or in a small area in France, from IGN BD TOPO. - [Natural risks at an address or a point](https://terra-lab.ai/docs/api/get_natural_risks.md): Natural risks at an address or point: flood zones, clay, seismic zone, cavities and commune risks in France, river flood depth elsewhere. - [Find a dataset in the TerraLab catalogue](https://terra-lab.ai/docs/api/find_datasets.md): Search the TerraLab catalogue of open datasets by need or place, with each licence, coverage, size and the call that gets it. - [Extract a hosted dataset for an area](https://terra-lab.ai/docs/api/extract_dataset.md): A hosted dataset from the TerraLab catalogue cut to an area: a GeoTIFF or a vector file with its licence, or only the statistics. - [Describe a cloud GeoParquet dataset](https://terra-lab.ai/docs/api/inspect_dataset.md): What a public cloud GeoParquet holds, read from its footer only: rows, columns with their ranges, geometry, CRS, extent and partitions. - [Count and sum a cloud GeoParquet per zone](https://terra-lab.ai/docs/api/aggregate_dataset.md): A count, sum or average over a large public GeoParquet for a place or per zone (state, county, region, district), without downloading it. - [Ask TerraLab to add data it does not have](https://terra-lab.ai/docs/api/request_data.md): Ask TerraLab to add geographic data the catalogue does not have yet, with what you need and up to five places where you need it. - [Straight-line distance between places](https://terra-lab.ai/docs/api/measure_distance.md): Straight-line geodesic distance between 2 or more places or points, with the midpoint and bearing for two, or the length of a line. - [Area and perimeter of a shape](https://terra-lab.ai/docs/api/measure_area.md): Geodesic area and perimeter of a shape given by its corner points, place names or a drawn polygon. - [Circle of a given radius around a place](https://terra-lab.ai/docs/api/circle_around_place.md): A circle of a given radius around a place or a point, with its area and circumference, as a map and a GIS file. - [Buffer features by a distance](https://terra-lab.ai/docs/api/buffer_features.md): A buffer of a given width around each feature of a layer, or one merged area whose overlaps count once, as a GIS file. - [Merge (dissolve) features into one](https://terra-lab.ai/docs/api/dissolve_features.md): The features of a layer merged into one, or into one per value of a field, with the total area or length. - [Keep the parts inside a second layer](https://terra-lab.ai/docs/api/intersect_layers.md): The parts of each feature that lie inside a second layer of polygons, with their attributes. - [Remove the parts inside a second layer](https://terra-lab.ai/docs/api/erase_with_layer.md): Each feature of a layer minus the parts inside a second layer of polygons, such as buildings outside the flood zones. - [Clip features to an area or a layer](https://terra-lab.ai/docs/api/clip_features.md): A layer cut to an area: a place, a place with a radius, a bounding box or a second layer of polygons. - [Simplify feature outlines](https://terra-lab.ai/docs/api/simplify_features.md): Lighter outlines: the lines or polygons of a layer simplified so no vertex moves more than a tolerance in metres. - [Centre point of each feature](https://terra-lab.ai/docs/api/feature_centroids.md): The centre point of each feature of a layer, with its attributes, for example to turn buildings or parcels into points. - [Add area and length to each feature](https://terra-lab.ai/docs/api/add_area_and_length.md): The geodesic area, perimeter and length added to every feature of a layer, with the totals. - [Count features inside each polygon](https://terra-lab.ai/docs/api/count_in_polygons.md): How many features of a layer fall inside each polygon of a second layer, with an optional sum of a numeric field. - [Nearest feature and its distance](https://terra-lab.ai/docs/api/find_nearest_features.md): For each feature of a layer, the nearest feature of a second layer and the distance to it. - [Select features by location](https://terra-lab.ai/docs/api/select_by_location.md): The features of a layer that intersect a second layer, lie within it or lie within a distance of it, or those that do not. - [Join attributes by location](https://terra-lab.ai/docs/api/join_by_location.md): A spatial join: each feature of a layer takes the attributes of the polygon of a second layer it falls in. - [Filter features by attribute](https://terra-lab.ai/docs/api/filter_by_attribute.md): Only the features of a layer whose attributes meet conditions, such as roads of class primary or buildings higher than 10 m. ## Help - [Pricing and free calls](https://terra-lab.ai/docs/pricing.md): TerraLab MCP server and API pricing: free calls every month, then pay per call from a prepaid balance. No subscription, same figures in EUR and USD, excl. VAT. - [Errors and rate limits](https://terra-lab.ai/docs/errors.md): Every HTTP status and error code the TerraLab API returns, what each one means, whether to retry, and the per-minute rate limit applied to every account. - [Data sources and licences](https://terra-lab.ai/docs/data-sources.md): Where TerraLab geodata comes from: OpenStreetMap, Overture Maps, Copernicus, IGN, Géorisques and more, with the licence of each source and each tool's limits. - [Support](https://terra-lab.ai/docs/support.md): Get help with the TerraLab API, the MCP server or the QGIS plugins: who to write to, what to include so we can answer fast, and where to report a wrong result. ## Changelog - [Changelog](https://terra-lab.ai/docs/changelog.md): What changed in the TerraLab MCP server and REST API: new tools, pricing, authentication and behaviour changes, newest first, with the date of each change.