datacircle-mcp
Find the best GTM APIs. We benchmark all the GTM APIs and we put the results on our website.
Our website: https://datacircle.dev
This package gives servers of the MCP Python SDK four tools that call Datacircle's public API, https://api.datacircle.dev/v1. It is also an MCP server of its own on stdio. You need no key and no account.
| Tool | Gives | Call |
|---|---|---|
datacircle_list_apis |
Every GTM API on Datacircle, with the API's slug, number of plans, number of providers and best plan | GET /apis |
datacircle_best_plans |
One API's plans, sorted by score out of 100, best first. Each plan comes with a rank and a price per 1,000 calls | GET /apis/{slug}/best |
datacircle_search_plans |
Plans that match a provider or plan name, on all APIs or on one API. You can sort them by score, provider or price | GET /plans |
datacircle_provider |
The APIs a provider sells, and the provider's rank on each API | GET /providers/{slug} |
Install
pip install datacircle-mcp
The package needs Python 3.10 or later and the MCP Python SDK 1.10 or later (mcp 1.x or 2.x).
Add the tools to your server
from mcp.server import MCPServer
from datacircle_mcp import add_datacircle_tools
mcp = MCPServer("My server")
@mcp.tool()
def hello(name: str) -> str:
return f"Hello, {name}!"
add_datacircle_tools(mcp)
if __name__ == "__main__":
mcp.run()
With mcp 1.x, the server class is FastMCP:
from mcp.server.fastmcp import FastMCP
from datacircle_mcp import add_datacircle_tools
mcp = FastMCP("My server")
add_datacircle_tools(mcp)
Your server now has your tools and our four tools. Run your server as you run any MCP server, for example python server.py or mcp run server.py.
To add a few of our tools, give their names:
add_datacircle_tools(mcp, names=["datacircle_best_plans", "datacircle_search_plans"])
Run our server
The package comes with a server with the four tools. The server runs on stdio:
uvx datacircle-mcp
To add our server to an MCP client, put this in the client's config:
{
"mcpServers": {
"datacircle": {
"command": "uvx",
"args": ["datacircle-mcp"]
}
}
}
To call a tool from your terminal with the MCP Inspector's CLI:
npx @modelcontextprotocol/inspector --cli uvx datacircle-mcp --method tools/call --tool-name datacircle_best_plans --tool-arg slug=email-finder --tool-arg limit=3
python -m datacircle_mcp runs the same server.
Call a tool yourself
Each tool is an async function:
import asyncio
from datacircle_mcp import datacircle_best_plans
result = asyncio.run(datacircle_best_plans("email-finder", limit=3))
print(result["plans"][0])
Each tool returns our API's answer as a Python dict. The server sends the client the dict as JSON.
Tool output
Each plan comes with a rank, provider, plan, score, price per 1,000 (perThousand, in dollars) and a page on datacircle.dev. That page lists every field.
You can give a provider's name in place of a slug. The tool turns Bright Data into bright-data.
For an unknown slug, the tool raises a DatacircleError with the API's error message. DatacircleError is the SDK's ToolError, so the client gets the error message on mcp 2 too, which hides the message of other errors. The error message for an unknown API slug lists every valid slug. The client can then pick a valid slug and call the tool again. Each tool's schema gives the range of each number. For a number out of range, the client gets an error and the tool makes no API call.
Network
Each tool makes one HTTPS GET request to https://api.datacircle.dev/v1 and no other network calls. The request holds only the tool's input. The API takes up to 60 calls a minute from one IP address. If the API says to wait, the tool waits up to a minute. The tool waits at most once per call. The request runs in a worker thread and needs no HTTP package. All plans are in one file at https://datacircle.dev/datacircle.json.
Links
- Datacircle: https://datacircle.dev
- The API: https://datacircle.dev/api
- The API's spec: https://api.datacircle.dev/v1/openapi.json
- Meaning of each key: https://datacircle.dev/fields
MIT license.
Metadata
Release files for datacircle-mcp 0.1.0
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 | Actions |
|---|---|---|---|---|
| datacircle_mcp-0.1.0.tar.gz | 11.8 kB | Without provenance | Details for datacircle_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datacircle_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for datacircle_mcp-0.1.0-py3-none-any.whl |
Total release size: 22.8 kB
Release files / datacircle_mcp-0.1.0.tar.gz
| Download URL | datacircle_mcp-0.1.0.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73e2b0e59697a230510d9f7bd1f507e0a38eadc9043c09d288b110fd82b5d1ff
|
|
BLAKE2b-256 checksum How to use checksums |
3005c00d365c7fbe4e94bdf4b0580086217914763e83dc4095fc7c3271840999
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / datacircle_mcp-0.1.0-py3-none-any.whl
| Download URL | datacircle_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56b404a19771da01e30ae324ee520eefb8e3f2778bdb4c372a853c0a6cf9ce4e
|
|
BLAKE2b-256 checksum How to use checksums |
566dad6985d003235b1bf952afd9bcef9cc155df497be0aad04ffda84ebf33e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for datacircle-mcp 0.1.0
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.