• DATA
  • VISUAL
  • LOGIC
  • HUMAN

How to fetch astronomy data by location with your agent

Connect IPGeolocation to your AI client to pull real-time celestial data. Once linked, your agent handles the coordinate lookups and astronomical calculations for you.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I get sunrise and moon phase info using my AI?

Your agent uses the get_astronomy tool to pull specific celestial data based on geographic coordinates. You provide the location, and your agent returns the exact times for sunrise, sunset, and current moon phases. This breakdown shows how the data flows from the tool to your chat.

The outcomes

Where your data lands

Depending on what you ask, your agent produces different outputs.

DATA

Celestial timestamps

Your agent pulls specific times for sunrise and sunset. You get clean, usable data for your planning or scripts.

VISUAL

Moon phase details

Your agent identifies the current moon phase. This helps you understand lighting conditions for any given coordinate.

LOGIC

Coordinate mapping

Your agent processes the latitude and longitude you provide. It translates raw numbers into meaningful astronomical events.

HUMAN

Manual verification

You decide if the astronomical data fits your specific needs. Your agent provides the facts, but you make the final call on how to use them.

The workflow

What your agent does when the request arrives.

Your agent acts as the bridge between your prompt and the astronomical data.

  1. Receive coordinates

    Your agent identifies the latitude and longitude from your natural language prompt.

    get_astronomy
  2. Execute lookup

    Your agent calls the tool to fetch the specific astronomical data for those coordinates.

    get_astronomy
  3. Parse celestial data

    Your agent extracts the sunrise, sunset, and moon phase information from the tool response.

    get_astronomy
  4. Deliver answer

    Your agent presents the times and phases in a clear format within your chat window.

    get_astronomy

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute IPGeolocation tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the astronomy tool immediately.

Starting points

Swap the bracketed locations for the specific coordinates or cities you want to check.

IPGeolocation Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_zgOsd32pBj8x0EIu4pzi9sVtlFMzJhp4Hbpkeoak/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, IPGeolocation capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "ipgeolocation-ip-intelligence-time-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_zgOsd32pBj8x0EIu4pzi9sVtlFMzJhp4Hbpkeoak/mcp"
    }
  }
}
Copy into chat04
  • 01

    What are the sunrise and sunset times for [latitude, longitude]?

  • 02

    Tell me the current moon phase at [latitude, longitude].

  • 03

    When is the next sunset in [latitude, longitude]?

  • 04

    Check the moon phase for these coordinates: [latitude, longitude].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect IPGeolocation once, then ask.

Click the link to connect the MCP to your client. Your credentials stay encrypted, and you can start asking for data immediately.

Connect IPGeolocation to your agent

FAQ

How this task behaves

  • 01

    Can your agent change the actual astronomical data?

    No. Your agent only retrieves data from the tool; it cannot alter the physical properties of the moon or sun.

  • 02

    Does your agent provide weather forecasts too?

    No. This specific tool is limited to astronomical data like sunrise, sunset, and moon phases.

  • 03

    Do I need to provide exact coordinates?

    Yes. The tool requires specific latitude and longitude to return accurate results.

  • 04

    Can your agent save this data to a file for me?

    Your agent can format the data for you to copy, but it cannot directly write files to your local hard drive.

  • 05

    Will your agent automatically update the data each hour?

    No. Your agent only fetches the data when you specifically ask it to via a prompt.

  • More questions about IPGeolocation? The Connector page answers them. See everything the IPGeolocation Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from IPGeolocation to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    IPGeolocation plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect IPGeolocation to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.