OroIntelDocs
For agents:start at/llms.txt·everything as Markdown at/llms-full.txt·or add theMCP server.

Use Oro Intel with LlamaIndex

Give a LlamaIndex FunctionAgent live UK tender and contract data by loading Oro Intel's remote MCP server as a tool spec.

Prerequisites

  • An Oro Intel API key in ORO_API_KEY (create one, 250 free credits).
  • An LLM key (this example uses Anthropic via ANTHROPIC_API_KEY).
  • pip install llama-index llama-index-tools-mcp llama-index-llms-anthropic

Code

agent.py
"""LlamaIndex agent with live UK procurement data via the Oro Intel remote MCP server."""

import asyncio
import os

from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.anthropic import Anthropic
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec

ORO_API_KEY = os.environ["ORO_API_KEY"]  # https://app.oro-intel.com/dashboard/developers

mcp_client = BasicMCPClient(
    "https://api.oro-intel.com/mcp/",  # trailing slash required
    headers={"Authorization": f"Bearer {ORO_API_KEY}"},
)


async def main() -> None:
    tools = await McpToolSpec(client=mcp_client).to_tool_list_async()
    agent = FunctionAgent(
        tools=tools,
        llm=Anthropic(model="claude-sonnet-5"),
        system_prompt="You answer questions about UK public procurement using the oro_* tools.",
    )
    response = await agent.run(
        "Look up the UK company 'Serco' and give me its full supplier profile. "
        "Report how many public contracts it has won, and the credits_charged "
        "and credits_remaining from the tool responses."
    )
    print(response)


asyncio.run(main())

Expected output

output (trimmed)
Serco Limited (company number 02048608) has won 132 public contracts.
Lookup: 5 credits; full profile: 12 credits (credits_remaining: 233).

The agent chains oro_lookup_company (5 credits) into oro_company_profile (12 credits); every tool response carries credits_charged/credits_remaining.

Next steps