Skip to main content

llama-index-tools-surface

Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. A hop or a 1×1 pixel counts the same way, with no install. Free for the first million requests a month. https://nova-otter-delta-cloud.grok.me

This package gives LlamaIndex agents that check as one ready-made tool: surface_preflight.

Surface by Canada Site Ops. Ontario, Canada.

Get a free API key in about 10 seconds

No email, no card. Then set SURFACE_API_KEY. The tool sends it as Authorization: Bearer <key> or X-Surface-Key.

curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys
# returns {"key","created_at","free_monthly":1000000,"usage_url"}
export SURFACE_API_KEY=...   # paste the key value

A key gets its own million free requests a month. The tool also runs without a key on a shared demo limit.

Install

pip install llama-index-tools-surface
from llama_index.tools.surface import SurfaceToolSpec

tools = SurfaceToolSpec().to_tool_list()

The tool returns next: fetch or next: skip, plus where the link really goes (unwraps t.co, bit.ly, lnkd.in, youtu.be). It never downloads the page.

Prefer MCP?

Mint a key first, then paste this into your MCP settings (tool preflight_url):

{
  "mcpServers": {
    "surface": {
      "type": "http",
      "url": "https://nova-otter-delta-cloud.grok.me/mcp",
      "headers": {
        "Authorization": "Bearer REPLACE_WITH_YOUR_KEY"
      }
    }
  }
}

Also listed

CLI and GitHub Action are coming soon.

Metadata

Release files for llama-index-tools-surface 0.1.1

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

Source distribution (sdist)

Source distribution for llama-index-tools-surface 0.1.1
File Size Uploaded Provenance Actions
llama_index_tools_surface-0.1.1.tar.gz 3.5 kB Without provenance Details for llama_index_tools_surface-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-tools-surface 0.1.1
File Interpreter ABI Platform Actions
llama_index_tools_surface-0.1.1-py3-none-any.whl Python 3 none any Details for llama_index_tools_surface-0.1.1-py3-none-any.whl

Total release size: 8.3 kB

Release files / llama_index_tools_surface-0.1.1.tar.gz

Download URL llama_index_tools_surface-0.1.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e3941df3c925e90a7d77be32845f3ece27dffef4505457ea402433bba3d92833
BLAKE2b-256 checksum
How to use checksums
6a5523daad601d5d04c419906741262c86cceb66ce2ce79bf9b87959819cac5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / llama_index_tools_surface-0.1.1-py3-none-any.whl

Download URL llama_index_tools_surface-0.1.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e320ea15ae0b5d6afec9aa564bf32e4e3addd7898914c5cbb8bcb42e18350a47
BLAKE2b-256 checksum
How to use checksums
0d027ef8406f0b30f8fd7aee2d41238a90b9bf1f5219d0f61d6066aabf227381
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for llama-index-tools-surface 0.1.1

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.

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