# Shopfront MCP server

> Enables AI assistants to discover, query, and recommend verified local merchants and real-time product availability in Chennai, India.

- Repository: https://github.com/jeeva-m-21/shopfront
- Page: https://hostedmcp.org/servers/jeeva-m-21/shopfront
- Transport: remote
- Stars: 0
- Latest version: 2.0.0

## Install

### Claude Code

```sh
claude mcp add --transport http shopfront https://shopfront-rouge.vercel.app/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "shopfront": {
      "url": "https://shopfront-rouge.vercel.app/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "shopfront": {
      "type": "http",
      "url": "https://shopfront-rouge.vercel.app/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"shopfront","type":"http","url":"https://shopfront-rouge.vercel.app/mcp"}'
```

### Codex

```sh
codex mcp add shopfront --url https://shopfront-rouge.vercel.app/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.shopfront]
url = "https://shopfront-rouge.vercel.app/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http shopfront https://shopfront-rouge.vercel.app/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "shopfront": {
      "url": "https://shopfront-rouge.vercel.app/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `APP_BASE_URL` | no | no |  |
| `DATABASE_URL` | no | no |  |
| `RERANK_ENABLED` | no | no |  |
| `STAGE1_TIMEOUT_MS` | no | no |  |

## Tools (5)

- `find_shops`
- `get_shop_info`
- `get_catalog`
- `search_catalog`
- `get_action_link`

## FAQ

### How does Shopfront help local businesses?

It makes local businesses visible to AI assistants, allowing them to be found by users asking conversational questions instead of using traditional apps.

### Can merchants control what information the AI provides?

Yes, owners use a mobile-first portal to manage operating hours, exact pricing, live item availability, and service areas.

### How do customers contact the shops found by the AI?

The AI provides direct WhatsApp and telephone connections with pre-filled enquiry templates.

### What technologies power the search retrieval?

The system uses PostGIS for spatial indexing and a two-stage retrieval pipeline including an LLM semantic decision reranker.
