search_local_indicators
Search locally cached World Bank indicator metadata to discover available economic and social data types before API queries, providing instant results without network calls.
Instructions
Search through local metadata for World Bank indicators (instant, offline).
This is a FAST alternative to search_datasets that searches through locally cached
metadata. Use this to discover what types of data are available before using the
API search.
How it works:
- Searches indicator names, codes, and descriptions
- Instant results (no API call)
- Returns relevance-ranked matches
Search tips:
- Use simple keywords: "unemployment", "poverty", "co2", "water"
- Search works on indicator names AND descriptions
- Case-insensitive
- More specific queries = better results
Example queries:
- "unemployment" → finds all unemployment-related indicators
- "mortality infant" → finds infant mortality indicators
- "internet" → finds internet usage indicators
- "renewable energy" → finds renewable energy indicators
Parameters:
- query: Search term (e.g., "unemployment", "gdp growth", "water access")
- limit: Maximum number of results to return (default: 20)
Returns: List of matching indicators with codes, names, descriptions, and relevance scores.
Note: This returns indicator codes but NOT database IDs. After finding an indicator,
use search_datasets with the indicator name to get the database ID needed for data retrieval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||