# Azure AI Search — card for AI agents

Managed search service for vector, keyword and hybrid retrieval with semantic ranking for RAG and agents.

Maker: Microsoft · category: Vector databases

## Price (official page)
- Free tier: Free tier: 50 MB storage, 3 indexes per service; semantic ranker first 1k requests free per month
- Free tier terms: free allowance · monthly · amount: 1k requests (read from the wording above and the pricing page; empty = not stated)
- Usage price: East US: Basic $0.101/hour, Standard S1 $0.336/hour, S2 $1.344/hour, S3 $2.688/hour; semantic ranker $1 per 1K queries; Serverless (preview): $0.24 per compute unit-hour and $0.20 per GB-month of storage, scales to zero when idle
- Pricing page: https://azure.microsoft.com/en-us/pricing/details/search/ (checked 2026-10-09)
- Note: Billed hourly per search unit and varies by region; hourly rates taken from Microsoft's Azure Retail Prices API (prices.azure.com) because the pricing page renders prices client-side.

## Connect
- Official MCP server: @azure/mcp
- MCP server card (how to connect it): https://agentgid.com/mcp/servers/com-microsoft-azure/agent.md
- npm: `npm install @azure/search-documents`
- PyPI: `pip install azure-search-documents`
- Repository: https://github.com/Azure/azure-sdk-for-python

## For AI agents on Microsoft's own site (AgentGid check 2026-11-13: 4 of 6)
- llms.txt: none found
- OpenAPI description: none found at the usual places
- Official MCP server: yes · official SDK: yes · status page: yes
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## A year of price history (Internet Archive copies of the pricing page, read by rules)
- Months read: 3 (2026-08 to 2026-10) of https://azure.microsoft.com/en-us/pricing/details/search/
- A figure is any "$X/month" on the page (plans, seats and add-ons alike); open the archived copy to see which plan it is.

## Price history in AgentGid's catalog (since 2026-10-10)
- Changes recorded: 1, last on 2026-11-13 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)
- 2026-11-13: usage price changed

## Other APIs in this category
- Algolia: https://agentgid.com/apis/algolia/agent.md
- Supabase (pgvector): https://agentgid.com/apis/supabase-pgvector/agent.md
- pgvector: https://agentgid.com/apis/pgvector/agent.md
- Elasticsearch (Elastic Cloud): https://agentgid.com/apis/elastic-cloud/agent.md
- Qdrant Cloud: https://agentgid.com/apis/qdrant-cloud/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/azure-ai-search/


## Azure AI Search: Microsoft's hosted search for apps and chatbots

Azure AI Search is Microsoft's online search service. You load your documents into it, and your website, app or chatbot can then find them by exact words, by meaning, or both. It can pull files from Azure storage and SharePoint, and has a small free tier for trying it out.

### Where to use it
- Search box for a catalog or site: Visitors search your products, articles or listings with filters, facets, autocomplete and typo tolerance, and get ranked results.
- Chatbot that answers from company files: Let a chatbot or agent look up the right passages in your company documents before it answers, so replies are based on your own content.
- Find by meaning and words at once: A search for "historic hotel walk to restaurants" finds good matches even when the page uses other words, because meaning and keywords are combined.
- Each employee sees only allowed files: Store the groups that may read each file, and add the signed-in person's groups to every search, so results skip files they may not open.
- Add or update documents from your app: When a product or article changes in your app, send the new version to the index so search shows it.
- Search across SharePoint and storage files: Point the service at files in Azure storage or SharePoint, and it reads, splits and indexes them on a schedule.

### How to start
- Create a search service in the Azure portal; pick the Free tier to try it (one per subscription).
- Install the Python client library.

```
pip install azure-search-documents
```

- Create a client with the service address, index name and key.

```
service_endpoint = os.environ["AZURE_SEARCH_SERVICE_ENDPOINT"]
index_name = os.environ["AZURE_SEARCH_INDEX_NAME"]
key = os.environ["AZURE_SEARCH_API_KEY"]

search_client = SearchClient(service_endpoint, index_name, AzureKeyCredential(key))
```


### License
Azure AI Search is a paid Microsoft cloud service with a free tier, used under your Azure agreement; Microsoft says it suits both business and consumer apps. The client libraries are MIT.

### Good to know
- The free tier holds 50 MB and three indexes, runs on shared hardware, and may be deleted after a long time without use.
- Paid tiers are billed per hour while the service exists, even with no searches, and rates differ by region.
- The pay-per-use Serverless tier is a preview with no uptime promise; Microsoft does not recommend it for live products.
- Smart re-ranking (semantic ranker) is free for 1,000 requests a month; after that searches fail until you switch on paid billing for it.
- The service only stores documents in a structured text format; files are converted on the way in.

Checked 2026-11-10 against: https://azure.microsoft.com/en-us/products/ai-services/ai-search, https://azure.microsoft.com/en-us/pricing/details/search/, https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Azure%20Cognitive%20Search'%20and%20armRegionName%20eq%20'eastus', https://learn.microsoft.com/en-us/azure/search/search-what-is-azure-search, https://learn.microsoft.com/en-us/azure/search/search-sku-tier, https://learn.microsoft.com/en-us/azure/search/search-sku-manage-costs, https://learn.microsoft.com/en-us/azure/search/search-limits-quotas-capacity, https://learn.microsoft.com/en-us/azure/search/search-security-api-keys, https://learn.microsoft.com/en-us/azure/search/search-security-rbac, https://learn.microsoft.com/en-us/azure/search/search-security-overview, https://learn.microsoft.com/en-us/azure/search/search-security-trimming-for-azure-search, https://learn.microsoft.com/en-us/azure/search/search-get-started-text, https://learn.microsoft.com/en-us/azure/search/search-get-started-vector, https://learn.microsoft.com/en-us/azure/search/search-query-simple-examples, https://learn.microsoft.com/en-us/azure/search/hybrid-search-how-to-query, https://learn.microsoft.com/en-us/azure/search/semantic-search-overview, https://learn.microsoft.com/en-us/azure/search/vector-search-overview, https://learn.microsoft.com/en-us/azure/search/retrieval-augmented-generation-overview, https://learn.microsoft.com/en-us/rest/api/searchservice/http-status-codes, https://learn.microsoft.com/en-us/rest/api/searchservice/documents/search-post, https://learn.microsoft.com/en-us/azure/developer/azure-mcp-server/tools/azure-ai-search, https://learn.microsoft.com/en-us/azure/developer/azure-mcp-server/get-started, https://github.com/microsoft/mcp/blob/main/servers/Azure.Mcp.Server/README.md, https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/search/azure-search-documents/README.md, https://github.com/Azure/azure-sdk-for-python/blob/main/LICENSE, https://pypi.org/pypi/azure-search-documents/12.0.0/json, https://registry.npmjs.org/@azure/search-documents/13.0.0

### Mistakes to avoid
- Don't: Putting an admin key in browser or mobile code → Do: Keep admin keys on the server; give client apps only a query key, or call search from your server (Admin keys allow full read-write access; query keys are read-only.)
- Don't: Passing the key in the URL (?api-key=...) → Do: Send it in the api-key request header (Only query keys are accepted in the query string, and Microsoft calls that poor security practice.)
- Don't: Relying on semantic ranking on the free plan in production → Do: Switch semantic ranker to standard billing before launch, or handle 402 errors (After the free monthly allowance, requests fail with 402.)
- Don't: Calling the service with http:// URLs → Do: Always use https:// for the search endpoint (Plain http gives 502 or 504 errors.)
- Don't: Setting up the Azure MCP server with npx -y @azure/mcp@latest in a shared project config → Do: Pin an exact @azure/mcp version and ask the person before adding it (The README's command downloads whatever version is newest at each start.)

### Questions
- Is there a free plan? Yes. One free search service per Azure subscription, with 50 MB of storage, shared hardware and some features missing.
- What does a paid service cost? Dedicated tiers are billed per hour by tier and size (Basic is $0.101 an hour in East US on 2026-11-10); a Serverless preview bills by use.
- Does Microsoft train AI models on my search data? No. Microsoft says it does not use customer data from Azure AI Search to train or improve any models.
- Do I need vectors to build a chatbot on it? No. Microsoft notes that language models and agents do not require vectors; use them only for search by similarity.
- Can a web page call it directly? Only with a read-only query key, which Microsoft says is typically given to client apps; admin keys must stay on the server.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
