Content
# CanadaBuys MCP Server
A local Python Model Context Protocol (MCP) server for querying the CanadaBuys tenders via beautifulsoup.
This server enables LLMs (like Claude Desktop) to dynamically search for CanadaBuys notices filtering by specific criteria.
## Features
* **Notice Search Tool**: Allows LLMs to search parameters specific to CanadaBuys (`status`, `closing_date`, `category`, `location`, `notice_type`).
* **Headless MCP Integration**: Provides a `mcp.server.fastmcp` implementation seamlessly connecting your workflow tools.
## Installation
### Prerequisites
- Python 3.12+
### Setup
```bash
# Clone or download this project
git clone <repository_url>
cd mcp_ungm
# Create virtual environment and install dependencies
python3 -m venv .venv
source .venv/bin/activate
pip install -Ur requirements.txt
```
## Usage with MCP Clients
```json
{
"mcpServers": {
"mcp_canadabuys": {
"command": "/path/to/this/repo/.venv/bin/python",
"args": [
"/path/to/this/repo/mcp_canadabuys.py"
]
}
}
}
```