Skip to main content

fastmcp-datacircle

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 FastMCP servers four tools that call Datacircle's public API, https://api.datacircle.dev/v1. 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 fastmcp-datacircle

The package needs FastMCP 2.14 or later and Python 3.10 or later.

Add the tools to your server

from fastmcp import FastMCP
from fastmcp_datacircle import add_datacircle_tools

mcp = FastMCP("My server")


@mcp.tool
def hello(name: str) -> str:
    return f"Hello, {name}!"


add_datacircle_tools(mcp)

if __name__ == "__main__":
    mcp.run()

Your server now has your tools and our four tools. Run it as you run any FastMCP server, for example fastmcp run server.py.

To add only some of our tools, add them one by one:

from fastmcp_datacircle import datacircle_tools

for tool in datacircle_tools():
    if tool.name in ("datacircle_best_plans", "datacircle_search_plans"):
        mcp.add_tool(tool)

Run our server on its own

The package comes with a server that has the four tools. It runs on stdio:

uvx fastmcp-datacircle

To add it to an MCP client, put this in the client's config:

{
  "mcpServers": {
    "datacircle": {
      "command": "uvx",
      "args": ["fastmcp-datacircle"]
    }
  }
}

To call a tool from your terminal with the FastMCP CLI (FastMCP 3 or later):

fastmcp call --command "uvx fastmcp-datacircle" --target datacircle_best_plans --input-json '{"slug": "email-finder", "limit": 3}'

You can also mount our server on yours:

from fastmcp import FastMCP
from fastmcp_datacircle.server import mcp as datacircle

mcp = FastMCP("My server")
mcp.mount(datacircle)

Call a tool yourself

Each tool is an async function:

import asyncio

from fastmcp_datacircle 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. FastMCP 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 a FastMCP ToolError, so the client gets the error message even when your server hides error details. 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, and the tool checks each value before the API call. A number out of range gets an error and 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. All plans are in one file at https://datacircle.dev/datacircle.json.

MIT license.

Metadata

Release files for fastmcp-datacircle 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastmcp-datacircle 0.1.0
File Size Uploaded Provenance Actions
fastmcp_datacircle-0.1.0.tar.gz 10.8 kB Without provenance Details for fastmcp_datacircle-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fastmcp-datacircle 0.1.0
File Interpreter ABI Platform Actions
fastmcp_datacircle-0.1.0-py3-none-any.whl Python 3 none any Details for fastmcp_datacircle-0.1.0-py3-none-any.whl

Total release size: 21.5 kB

Release files / fastmcp_datacircle-0.1.0.tar.gz

Download URL fastmcp_datacircle-0.1.0.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f8b95fb30cb0f8436fc63c1a4420d237c6cbcc004b2f4c9d624df539b1ccd8ff
BLAKE2b-256 checksum
How to use checksums
ffab2b5828cb5c816561e701b83333171e20e96c72f259619a5ce9ebcb6bb197
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 / fastmcp_datacircle-0.1.0-py3-none-any.whl

Download URL fastmcp_datacircle-0.1.0-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24be4fecf2e3589594a832e9bbdb530a497eafba4a16bbef092043450e06f772
BLAKE2b-256 checksum
How to use checksums
c28cec46590404b8bbd32a15be33e0e64ea03170c0434123584ac2e1aaea5a61
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 fastmcp-datacircle 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page