brillai_mcp
An MCP server providing end-to-end information on recently listed diamonds from Brilliant Earth.
What's new? [v0.1.5]
- Added parameter
real_view - Renamed tool:
get_diamonds-->get_brilliant_diamonds
Features
- Retrieve only 360° view diamonds/ALL recent diamond listings of requested shapes (300 each)
- Access real diamond specifications through the end-to-end product information
- Get the most valuable and complete data that could exist online
- Proven to be effective in training ML models for various use cases
- This server is deployed for education purposes ONLY
Installation and How to Get Started
STEP 1: Create a virtual environment using uv
Create an empty folder and make a new Python project with basic files using init :
uv init
Next, create a virtual environment. Keep the default name preferably
uv venv
STEP 2: Install brillai_mcp
Go to the terminal and paste the following command.
pip install brillai_mcp
or
uv add brillai_mcp
STEP 3: Making changes in the pyproject.toml file
Go to the .toml file in your project folder and change the following lines.
- Change the requires-python to:
requires-python = ">=3.13,<3.14"
- Change the dependencies to:
dependencies = [
"brillai-mcp=={latest_version_here}",
"mcp<2.0.0",
]
STEP 4: Back to the terminal
In the terminal run the following commands one after the other
uv lock
uv sync
STEP 5: Boilerplate Code
Make a new .py file within the same project folder and paste the following code
from langchain_mcp_adapters.client import MultiServerMCPClient
import asyncio
async def main():
client = MultiServerMCPClient(
{
"brillai_mcp": {
"transport": "stdio",
"command": "python",
"args": ["-m", "brillai_mcp.main"]
}
}
)
tools = await client.get_tools()
get_diamonds = tools[0]
result = await get_brilliant_diamonds.ainvoke({"shapes": ["round", "heart"], "filename": "first_run.json"})
print(result)
if __name__ == "__main__":
asyncio.run(main())
This code will create a JSON file within your project that has all the data.
More about the tools
The current version has one tool with the following parameters:
Parameters
| Parameter | Type | Default | Description | Options |
|---|---|---|---|---|
shapes |
str | list[str] |
required | Diamond shape(s) to search for | "oval", "round", "marquise", "emerald-cut", "elongated-cushion", "radiant", "pear", "cushion", "antique", "princess", "asscher", "heart" |
filename (optional) |
str |
"products.json" |
Output file name for the results | Any valid filename ending in .json |
real_view (optional) |
bool |
False |
Whether to extract diamonds with real 360° views | True, False |
Caution
- The function currently retrieves ~300 diamonds of every shape except for 'antique' as there are few listings for it.
- The list obtained might contain duplicate entries that could be dealt using data preprocessing techniques
- Please verify the data type of each column before getting started
Connect with the Author
Yash Kalpesh Shah
Metadata
Release files for brillai_mcp 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| brillai_mcp-0.1.5.tar.gz | 5.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| brillai_mcp-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / brillai_mcp-0.1.5.tar.gz
| Download URL | brillai_mcp-0.1.5.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8350e7292affac2e7103fbe21fbf97b91285d2d6998e07a9f26860426dbf556
|
|
BLAKE2b-256 checksum How to use checksums |
36543741aef28c96948aaf2d228cf1a8be826e4212e02d2c161466591b665009
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / brillai_mcp-0.1.5-py3-none-any.whl
| Download URL | brillai_mcp-0.1.5-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02cf339a9188db8dd87c5ceea980386eef2d41263ea4c1ff6e48344a2242018a
|
|
BLAKE2b-256 checksum How to use checksums |
a2337edacac181261618c9a104304be384f09ddf102da7ce9f785e6ac8b29a74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for brillai_mcp 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.