SAMHSA Treatment Locator MCP Server for LlamaIndexGive LlamaIndex instant access to 3 tools to Get Facility, List Services, Search Facilities
LlamaIndex specializes in data-aware AI agents that connect LLMs to structured and unstructured sources. Add SAMHSA Treatment Locator as an MCP tool provider through Vinkius and your agents can query, analyze, and act on live data alongside your existing indexes.
Ask AI about this MCP Server for LlamaIndex
The SAMHSA Treatment Locator MCP Server for LlamaIndex is a standout in the Data Analytics category — giving your AI agent 3 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
mcp_client = BasicMCPClient("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
mcp_tool_spec = McpToolSpec(client=mcp_client)
tools = await mcp_tool_spec.to_tool_list_async()
agent = FunctionAgent(
tools=tools,
llm=OpenAI(model="gpt-4o"),
system_prompt=(
"You are an assistant with access to SAMHSA Treatment Locator. "
"You have 3 tools available."
),
)
response = await agent.run(
"What tools are available in SAMHSA Treatment Locator?"
)
print(response)
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About SAMHSA Treatment Locator MCP Server
Connect to the SAMHSA Treatment Locator and empower your AI agent to find critical healthcare resources across the United States. This server provides direct access to the official Substance Abuse and Mental Health Services Administration database.
LlamaIndex agents combine SAMHSA Treatment Locator tool responses with indexed documents for comprehensive, grounded answers. Connect 3 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.
What you can do
- Geographic Search — Find facilities using precise latitude and longitude coordinates within a customizable radius.
- Service Filtering — Narrow down results using specific service codes to find the exact type of care needed (e.g., detox, inpatient, outpatient).
- Detailed Facility Profiles — Retrieve comprehensive metadata for specific facilities, including contact information and available services via unique identifiers.
- Service Code Discovery — Access the full list of available service categories and codes to refine your searches effectively.
The SAMHSA Treatment Locator MCP Server exposes 3 tools through the Vinkius. Connect it to LlamaIndex in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 3 SAMHSA Treatment Locator tools available for LlamaIndex
When LlamaIndex connects to SAMHSA Treatment Locator through Vinkius, your AI agent gets direct access to every tool listed below — spanning mental-health, substance-abuse, facility-locator, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Get facility on SAMHSA Treatment Locator
Get detailed information for a specific facility
List services on SAMHSA Treatment Locator
List available service codes used for filtering
Search facilities on SAMHSA Treatment Locator
Search for treatment facilities based on location and filters
Connect SAMHSA Treatment Locator to LlamaIndex via MCP
Follow these steps to wire SAMHSA Treatment Locator into LlamaIndex. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
pip install llama-index-tools-mcp llama-index-llms-openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.py and run: python agent.pyExplore tools
Why Use LlamaIndex with the SAMHSA Treatment Locator MCP Server
LlamaIndex provides unique advantages when paired with SAMHSA Treatment Locator through the Model Context Protocol.
Data-first architecture: LlamaIndex agents combine SAMHSA Treatment Locator tool responses with indexed documents for comprehensive, grounded answers
Query pipeline framework lets you chain SAMHSA Treatment Locator tool calls with transformations, filters, and re-rankers in a typed pipeline
Multi-source reasoning: agents can query SAMHSA Treatment Locator, a vector store, and a SQL database in a single turn and synthesize results
Observability integrations show exactly what SAMHSA Treatment Locator tools were called, what data was returned, and how it influenced the final answer
SAMHSA Treatment Locator + LlamaIndex Use Cases
Practical scenarios where LlamaIndex combined with the SAMHSA Treatment Locator MCP Server delivers measurable value.
Hybrid search: combine SAMHSA Treatment Locator real-time data with embedded document indexes for answers that are both current and comprehensive
Data enrichment: query SAMHSA Treatment Locator to augment indexed data with live information before generating user-facing responses
Knowledge base agents: build agents that maintain and update knowledge bases by periodically querying SAMHSA Treatment Locator for fresh data
Analytical workflows: chain SAMHSA Treatment Locator queries with LlamaIndex's data connectors to build multi-source analytical reports
Example Prompts for SAMHSA Treatment Locator in LlamaIndex
Ready-to-use prompts you can give your LlamaIndex agent to start working with SAMHSA Treatment Locator immediately.
"Search for treatment facilities within 25 miles of latitude 34.05 and longitude -118.24."
"Get the full details for facility ID 'FAC123456'."
"List all available service codes for filtering treatment searches."
Troubleshooting SAMHSA Treatment Locator MCP Server with LlamaIndex
Common issues when connecting SAMHSA Treatment Locator to LlamaIndex through Vinkius, and how to resolve them.
BasicMCPClient not found
pip install llama-index-tools-mcpSAMHSA Treatment Locator + LlamaIndex FAQ
Common questions about integrating SAMHSA Treatment Locator MCP Server with LlamaIndex.
How does LlamaIndex connect to MCP servers?
Can I combine MCP tools with vector stores?
Does LlamaIndex support async MCP calls?
Explore More MCP Servers
View all →
Durianpay
10 toolsEquip your AI agent to manage payments, track checkout orders, and monitor settlements via the Durianpay API.

Pipedrive Products
8 toolsManage your product catalog, attach products to deals, and track recurring revenue subscriptions in Pipedrive.

Enrich CRM
5 toolsEnhance your CRM records with verified company data, technographic signals, and contact enrichment that keeps your database fresh.

Eurostat Economy — EU Financial Intelligence
6 toolsOfficial EU economic data: quarterly GDP for all 27 member states, government debt and deficit (Maastricht criteria), HICP inflation (the ECB's target measure), interest rates, and EUR exchange rates.
