netcafe-live-data

v1.2.0
com.ainetcafe/netcafe-live-data Checked 21 hours ago Published 3 months ago

Live data: weather, air quality, FX, CN/HK/US stocks, IP geo, domain, SSL, China reachability.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

what_can_you_do Find the right tool for a task

Describe a task in plain language (any language) and get back exactly which tools on this server do it, with ready-to-run example calls — instead of reading the whole catalogue and guessing. Also returns multi-step recipes when a task needs several tools chained (invoices to a ledger, a bank statement reconciled, a messy CSV turned into a deliverable). Deterministic and free: it calls no model, costs nothing, and never runs out of quota. Call this FIRST when you are not sure what this server offers.

ParameterTypeDescription
task *stringWhat you are trying to do, e.g. "reconcile a bank statement against my books" or "把一堆发票整理成能入账的表格"

package_info Look up a package (npm / PyPI / crates / Go)

Latest version, license, repo, description, dependencies and weekly downloads for any public package. Use it before adding a dependency, or to check whether the version in a lockfile is current.

ParameterTypeDescription
name *stringPackage name, e.g. "react", "requests", "serde", "github.com/gin-gonic/gin".
ecosystemstringnpm (default) | pypi | crates | go

check_vulns Check a package for known vulnerabilities

Query OSV.dev for known CVE/GHSA vulnerabilities affecting a package (optionally a specific version), and get the versions they were fixed in. Use it when reviewing dependencies or a lockfile. Covers npm, PyPI, crates.io, Go, Maven, NuGet and Packagist.

ParameterTypeDescription
name *stringPackage name.
ecosystemstringnpm (default) | pypi | crates | go | maven | nuget | packagist
versionstringExact version to check, e.g. "4.17.15". Omit to list all known vulns for the package.

transpile_sql Translate SQL between dialects

Convert a SQL statement from one dialect to another — mysql, postgres, sqlite, tsql, oracle, snowflake, bigquery, redshift, spark, hive, presto, trino, duckdb, clickhouse, databricks, doris, starrocks and more. Deterministic parser (sqlglot), not an LLM: the same input always produces the same output, and syntax errors come back with the exact line and column. Use it when migrating queries between databases or debugging dialect-specific syntax.

ParameterTypeDescription
sql *stringThe SQL statement (or several, separated by semicolons).
write *stringTarget dialect, e.g. "postgres", "bigquery", "doris".
readstringSource dialect, e.g. "mysql". Omit to auto-detect from generic SQL.

get_weather Get current weather

Current weather and short forecast for a city or coordinates. Works for Chinese cities too.

ParameterTypeDescription
citystringCity name, e.g. "Shanghai" / "上海". Or pass lat/lon.
latnumberLatitude (alternative to city).
lonnumberLongitude (alternative to city).

china_reachability Test if a URL is reachable from mainland China

Fetch a URL from a real mainland-China network egress and report HTTP status, latency and China DNS resolution. Answers "is my site/API usable from China?" with a measurement instead of a guess — you cannot get this from a VPS abroad.

ParameterTypeDescription
url *stringFull URL to test, e.g. https://example.com

exchange_rate Live exchange rates

Live currency exchange rate: one pair with conversion, or a major-currency table for a base currency.

ParameterTypeDescription
amountnumberAmount to convert, default 1
fromstringBase currency code, default USD
tostringTarget currency code; omit for a table

domain_check Domain availability / whois

Check if a domain is registered via official RDAP: availability, registrar, created/expiry dates, nameservers.

ParameterTypeDescription
domain *stringe.g. example.com

ssl_check SSL certificate check

Inspect the TLS certificate of a domain: issuer, validity window, days until expiry, trust status, SANs.

ParameterTypeDescription
domain *stringe.g. example.com

get_air_quality Live air quality (AQI)

Live air quality for any city: US/European AQI, PM2.5, PM10, ozone.

ParameterTypeDescription
citystringcity name, e.g. 北京
latitudenumber
longitudenumber

ip_lookup IP geolocation

IP address geolocation and ISP: country, region, city, ISP, timezone.

ParameterTypeDescription
ipstringIPv4/IPv6; omit for caller IP