MCP Server for Federal Acquisition Regulations (FAR) search
Project description
FAR Oracle - MCP Server for AI Agents
FAR Oracle is a Model Context Protocol (MCP) server that provides AI agents with instant, programmatic access to the U.S. Federal Acquisition Regulation (FAR).
This server allows agents like Claude Desktop, AutoGPT, and CrewAI to perform semantic searches on the entire FAR database, enabling them to assist with compliance, research, and proposal writing for government contracts.
Key Features
- Semantic Search: Understands the intent behind queries, not just keywords.
- A2A Commerce: Zero-friction, automatic API key registration on first use.
- Always Up-to-Date: Continuously updated with the latest FAR clauses.
- Simple Integration: Works seamlessly with any MCP-compatible agent.
Quick Start (30 Seconds)
Get your agent connected to FAR Oracle in two simple steps.
Step 1: Install from PyPI
pip install far-oracle
Step 2: Configure Your Agent (e.g., Claude Desktop)
Add the following to your agent's MCP configuration file (e.g., claude_desktop_config.json).
The API key is handled automatically via A2A commerce. You do not need to provide one.
{
"mcpServers": {
"far-oracle": {
"command": "far-oracle",
"args": []
}
}
}
That's it! Your agent can now access the FAR.
How It Works: A2A Commerce
This MCP server uses Agent-to-Agent (A2A) Commerce for authentication. The first time your agent connects, it automatically:
- Registers for a free API key.
- Stores the key locally in
~/.far-oracle/credentials. - Uses the key for all subsequent requests.
This provides a completely seamless, zero-friction onboarding experience for agents.
Usage Examples
Once configured, you can ask your agent questions like:
"Using the far-oracle tool, what are the FAR requirements for cybersecurity?"
"With far-oracle, explain the small business set-aside rules found in FAR Part 19."
"Use far-oracle to find contract clauses related to intellectual property and data rights."
Pricing & Tiers
FAR Oracle uses a simple, agent-friendly pricing model. All usage is managed through the A2A Commerce API.
| Plan | Queries/Month | Price | Upgrade |
|---|---|---|---|
| Free | 500 | $0 | Automatic on first use |
| Pro | 5,000 | $29 | Via /v1/billing/upgrade endpoint |
| Ultra | 150,000 | $199 | Via /v1/billing/upgrade endpoint |
Your agent can programmatically upgrade its plan by calling the billing endpoint.
Troubleshooting
Problem: command not found: far-oracle
- Cause: The package's scripts directory is not in your system's
PATH. - Solution: Ensure that the output of
python3 -m site --user-base/bin is in yourPATH. Alternatively, you can use the full path to the executable.
Problem: Connection errors or timeouts
- Cause: A firewall may be blocking the connection to the FAR RAG API.
- Solution: Ensure your system can make outbound requests to
https://far-rag-api-production.up.railway.app.
Full API Documentation
For more details on the underlying REST API, including all available endpoints and parameters, please see the full API documentation:
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file far_oracle-1.0.8.tar.gz.
File metadata
- Download URL: far_oracle-1.0.8.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a1a0f0e136d7fea46cc64dbc5f7f5ddd078026d13991b8f3787b586c9301cd0
|
|
| MD5 |
63063152b636c16dc232c39d502b226b
|
|
| BLAKE2b-256 |
4cf02eff7c6a4d1d06a1c38b26599115bf9917e17f95ee7a26008ac4dd4bdee9
|
File details
Details for the file far_oracle-1.0.8-py3-none-any.whl.
File metadata
- Download URL: far_oracle-1.0.8-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ddfe5cadf16dda059de5cb988e325d69c081044954f46e3e68a4ab0a44d09bc
|
|
| MD5 |
f8b701550a1a7d18e09c55b9b34be905
|
|
| BLAKE2b-256 |
203b4fe5c18f75de1b668607637a1480561c0f83d3de7b29e036ec4447c841b2
|