mcpServer

package
v0.0.0-...-f9a97ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: AGPL-3.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateAge

func CalculateAge(dobStr string) (int, error)

func GetLatLongForCity

func GetLatLongForCity(city string, countryCode string) (string, float64, float64, error)

func MCPServerInit

func MCPServerInit()

Types

type Input_GetAge

type Input_GetAge struct {
	DOB string `json:"dob" jsonschema:"The Date of birth in DD/MM/YYYY"`
}

type Input_GetAstrologicalChart

type Input_GetAstrologicalChart struct {
	DOB         string `json:"dob" jsonschema:"The Date of birth in DD/MM/YYYY"`
	TOB         string `json:"tob" jsonschema:"The Time of birth in HH:MM"`
	City        string `json:"city" jsonschema:"The City of birth"`
	CountryCode string `json:"countryCode" jsonschema:"The Country Code, for the country of birth. Eg: IN, US"`
}

type Input_GetLatLong

type Input_GetLatLong struct {
	City        string `json:"city" jsonschema:"The City for which latitude, longitude has to be found"`
	CountryCode string `json:"countryCode" jsonschema:"The Country Code, where the city is located. Eg: IN, US"`
}

type Output_GetAge

type Output_GetAge struct {
	Age string `json:"age" jsonschema:"The age of the user"`
}

type Output_GetAstrologicalChart

type Output_GetAstrologicalChart struct {
	Zodiac map[string]string `json:"zodiac" jsonschema:"The zodiac where each planet is placed"`
	House  map[string]string `json:"house" jsonschema:"The house number where each planet is placed"`
	Text   string            `json:"text" jsonschema:"The astrological position of planets in the zodiac"`
}
type Output_GetAstrologicalChart struct {
	Text string `json:"text" jsonschema:"The astrological position of planets in the zodiac"`
}

type Output_GetLatLong

type Output_GetLatLong struct {
	City string `json:"city" jsonschema:"The closest matching city"`
	Lat  string `json:"lat" jsonschema:"The latitude of the city"`
	Long string `json:"long" jsonschema:"The longitude of the city"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL