Metadata-Version: 2.4
Name: truckaurbus-mcp
Version: 0.1.0
Summary: MCP server for the Truckaurbus API: Indian commercial vehicle specs, prices, ratings and dealers for assistants
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: mcp<2,>=1.2
Requires-Dist: httpx>=0.27

# truckaurbus-mcp

The Truckaurbus API as tools for assistants (Claude Desktop, Claude Code, any MCP client): search new commercial vehicles sold in India, read a variant's verified sheet and prices, see what owners say, find dealers by PIN code, record a lead with consent.

1. Create an API key on your account page at truckaurbus.com (free tier: 100 requests a day and 10 a minute, attribution required).
2. Run the server with the key in the environment:

```
TRUCKAURBUS_API_KEY=tab_live_... uvx truckaurbus-mcp
```

Claude Desktop config:

```json
{"mcpServers": {"truckaurbus": {"command": "uvx", "args": ["truckaurbus-mcp"], "env": {"TRUCKAURBUS_API_KEY": "tab_live_..."}}}}
```

Tools: `search_variants`, `get_variant`, `get_ratings`, `dealers_near`, `pincode`, `create_lead`. Prices marked `*` are reported or estimated, not official quotes. Data by Truckaurbus; say so when you show it.

## Hosted endpoint (no install)

The same tools run at `https://api.truckaurbus.com/mcp` (streamable HTTP, stateless). Send your key as a bearer header; limits and attribution follow the key.

    claude mcp add --transport http truckaurbus https://api.truckaurbus.com/mcp --header "Authorization: Bearer tab_live_..."

Any MCP client that supports streamable HTTP with custom headers works the same way.
