PageSourceSearch

https://astrologyapi.com/_next/static/chunks/pages/astro-ai/mcp-server-01a24dfde9be2021.js

js astrologyapi.com collected 2026-09-25 22:12:46 UTC 55,923 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18894],{9546:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/astro-ai/mcp-server",function(){return r(9576)}])},84034:function(e,t,r){"use strict";r.d(t,{z:function(){return Button}});var a=r(85893);r(67294);var s=r(45697),n=r.n(s),o=r(35583);let Button=e=>{let{children:t,onClick:r,variant:s="accent",className:n="",disabled:i=!1,type:l="button",icon:c,fullWidth:d=!1,...m}=e,x={primary:o.kx.BTN_PRIMARY,accent:o.kx.BTN_ACCENT,outline:o.kx.BTN_OUTLINE,ghost:o.kx.BTN_GHOST},u=o.kx.BTN_BASE,p=x[s]||x.primary;return(0,a.jsxs)("button",{type:l,onClick:r,disabled:i,className:"".concat(u," ").concat(p," ").concat(d?"w-full":""," ").concat(i?"opacity-50 cursor-not-allowed":""," ").concat(n),...m,children:[c&&(0,a.jsx)(c,{className:"mr-2 w-5 h-5"}),t]})};Button.propTypes={children:n().node.isRequired,onClick:n().func,variant:n().oneOf(["primary","accent","outline","ghost"]),className:n().string,disabled:n().bool,type:n().string,icon:n().elementType,fullWidth:n().bool},t.Z=Button},70453:function(e,t,r){"use strict";var a=r(85893),s=r(67294),n=r(86592),o=r(26671);t.Z=e=>{let{code:t,copyCode:r,language:i="javascript",radius:l="rounded-2xl",showCopy:c=!0}=e,[d,m]=(0,s.useState)(!1);return(0,a.jsxs)("div",{className:"relative group",children:[(0,a.jsx)("div",{className:"absolute right-4 top-4 z-10 transition-opacity duration-300",children:c&&(0,a.jsx)("button",{onClick:()=>{navigator.clipboard.writeText(r||t),m(!0),setTimeout(()=>m(!1),2e3)},className:"p-2 rounded-lg bg-white/10 hover:bg-white/20 text-white/70 hover:text-white transition-all backdrop-blur-md border border-white/10",title:"Copy to clipboard",children:d?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("polyline",{points:"20 6 9 17 4 12"})}):(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),(0,a.jsx)("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})]})})}),(0,a.jsx)("div",{className:"".concat(l," bg-[#1c1c1c]"),children:(0,a.jsx)("pre",{className:"overflow-x-auto font-mono text-sm leading-relaxed text-zinc-300 no-scrollbar",children:(0,a.jsx)(n.Z,{language:i,style:o.FE,customStyle:{overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"pre-wrap",wordWrap:"break-word",maxWidth:"100%",display:"block",backgroundColor:"transparent",overflow:"visible",fontSize:"14px",lineHeight:"1.5"},wrapLines:!0,showLineNumbers:!0,lineNumberStyle:{minWidth:"30px",textAlign:"right",color:"#999",position:"sticky",left:0},lineProps:{style:{wordBreak:"break-word",whiteSpace:"pre-wrap"}},wrapLongLines:!1,children:t})})})]})}},25692:function(e,t,r){"use strict";var a=r(85893),s=r(5379),n=r.n(s),o=r(67294);t.Z=e=>{let{icons:t=[],count:r=20,color:s="var(--accent-primary)"}=e,i=(0,o.useMemo)(()=>Array.from({length:r}).map((e,r)=>({id:r,icon:t[r%t.length],left:"".concat(100*Math.random(),"%"),top:"".concat(100*Math.random(),"%"),size:"".concat(20*Math.random()+15,"px"),delay:"".concat(20*Math.random(),"s"),duration:"".concat(15*Math.random()+25,"s"),opacity:.1*Math.random()+.03,rotate:360*Math.random(),moveX:50*Math.random()-25,moveY:-80*Math.random()-20})),[t,r]);return(0,a.jsxs)("div",{className:"jsx-b28f8e514a322d00 fixed inset-0 w-full h-full pointer-events-none z-0 bg-primary-bg overflow-hidden",children:[(0,a.jsx)("div",{className:"jsx-b28f8e514a322d00 absolute inset-0 bg-[radial-gradient(circle_at_50%_40%,rgba(var(--accent-primary-rgb),0.03),transparent_60%)]"}),i.map(e=>(0,a.jsx)("div",{style:{left:e.left,top:e.top,width:e.size,height:e.size,opacity:e.opacity,animationDelay:e.delay,animationDuration:e.duration,"--rotate":"".concat(e.rotate,"deg"),"--moveX":"".concat(e.moveX,"px"),"--moveY":"".concat(e.moveY,"px"),color:s},className:"jsx-b28f8e514a322d00 absolute pointer-events-none select-none animate-float-slow",children:e.icon},e.id)),(0,a.jsx)(n(),{id:"b28f8e514a322d00",children:"@-webkit-keyframes float-slow{0%{-webkit-transform:translate(0,0)rotate(var(--rotate));transform:translate(0,0)rotate(var(--rotate))}50%{-webkit-transform:translate(var(--moveX),var(--moveY))rotate(-webkit-calc(var(--rotate) + 20deg));transform:translate(var(--moveX),var(--moveY))rotate(-webkit-calc(var(--rotate) + 20deg));transform:translate(var(--moveX),var(--moveY))rotate(calc(var(--rotate) + 20deg))}100%{-webkit-transform:translate(0,0)rotate(var(--rotate));transform:translate(0,0)rotate(var(--rotate))}}@-moz-keyframes float-slow{0%{-moz-transform:translate(0,0)rotate(var(--rotate));transform:translate(0,0)rotate(var(--rotate))}50%{-moz-transform:translate(var(--moveX),var(--moveY))rotate(-moz-calc(var(--rotate) + 20deg));transform:translate(var(--moveX),var(--moveY))rotate(-moz-calc(var(--rotate) + 20deg));transform:translate(var(--moveX),var(--moveY))rotate(calc(var(--rotate) + 20deg))}100%{-moz-transform:translate(0,0)rotate(var(--rotate));transform:translate(0,0)rotate(var(--rotate))}}@-o-keyframes float-slow{0%{-o-transform:translate(0,0)rotate(var(--rotate));transform:translate(0,0)rotate(var(--rotate))}50%{-o-transform:translate(var(--moveX),var(--moveY))rotate(calc(var(--rotate) + 20deg));transform:translate(var(--moveX),var(--moveY))rotate(calc(var(--rotate) + 20deg))}100%{-o-transform:translate(0,0)rotate(var(--rotate));transform:translate(0,0)rotate(var(--rotate))}}@keyframes float-slow{0%{-webkit-transform:translate(0,0)rotate(var(--rotate));-moz-transform:translate(0,0)rotate(var(--rotate));-o-transform:translate(0,0)rotate(var(--rotate));transform:translate(0,0)rotate(var(--rotate))}50%{-webkit-transform:translate(var(--moveX),var(--moveY))rotate(-webkit-calc(var(--rotate) + 20deg));-moz-transform:translate(var(--moveX),var(--moveY))rotate(-moz-calc(var(--rotate) + 20deg));-o-transform:translate(var(--moveX),var(--moveY))rotate(calc(var(--rotate) + 20deg));transform:translate(var(--moveX),var(--moveY))rotate(-webkit-calc(var(--rotate) + 20deg));transform:translate(var(--moveX),var(--moveY))rotate(-moz-calc(var(--rotate) + 20deg));transform:translate(var(--moveX),var(--moveY))rotate(calc(var(--rotate) + 20deg))}100%{-webkit-transform:translate(0,0)rotate(var(--rotate));-moz-transform:translate(0,0)rotate(var(--rotate));-o-transform:translate(0,0)rotate(var(--rotate));transform:translate(0,0)rotate(var(--rotate))}}.animate-float-slow.jsx-b28f8e514a322d00{-webkit-animation:float-slow linear infinite;-moz-animation:float-slow linear infinite;-o-animation:float-slow linear infinite;animation:float-slow linear infinite;will-change:transform}"})]})}},35598:function(e,t,r){"use strict";r.d(t,{U:function(){return s}});var a=r(85893);let s={CheckIcon:()=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-4 h-4 text-green-500",fill:"none",viewBox:"0 0 24 24",strokeWidth:3,stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}),CopyIcon:()=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",className:"w-4 h-4",children:[(0,a.jsx)("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),(0,a.jsx)("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})]}),EyeIcon:()=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:3,stroke:"currentColor",className:"w-4 h-4",children:[(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.644C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.43 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]}),EyeSlashIcon:()=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:3,stroke:"currentColor",className:"w-4 h-4",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})}),RotateIcon:()=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-4 h-4",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.995-1.465"})}),WalletIcon:e=>{let{className:t="w-6 h-6"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z"})})},LocationIcon:e=>{let{className:t="w-6 h-6"}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:[(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]})},ChatIcon:e=>{let{className:t="w-6 h-6"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"})})},ResourceIcon:e=>{let{className:t="w-6 h-6"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"})})},ExploreIcon:e=>{let{className:t="w-6 h-6"}=e;return(0,a.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:t,children:[(0,a.jsx)("line",{x1:"7",y1:"17",x2:"17",y2:"7"}),(0,a.jsx)("polyline",{points:"7 7 17 7 17 17"})]})},InfoIcon:e=>{let{className:t="w-6 h-6"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})})},ArrowRightIcon:e=>{let{className:t="w-6 h-6"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:t,children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3"})})},PlusIcon:e=>{let{className:t="w-6 h-6"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:t,children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})})},TrashIcon:e=>{let{className:t="w-6 h-6"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:t,children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})})},LoadingSpinner:e=>{let{className:t="w-5 h-5"}=e;return(0,a.jsxs)("svg",{className:"animate-spin ".concat(t),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,a.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,a.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})},ChevronDownIcon:e=>{let{className:t="w-4 h-4"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:3,stroke:"currentColor",className:t,children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})},RocketIcon:e=>{let{className:t,strokeWidth:r=2}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round",className:"".concat(t||""),children:[(0,a.jsx)("path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"}),(0,a.jsx)("path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"}),(0,a.jsx)("path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"}),(0,a.jsx)("path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"})]})},MegaphoneIcon:e=>{let{className:t}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"animate-bounce text-blue-500 ".concat(t||""),children:[(0,a.jsx)("path",{d:"m3 11 18-5v12L3 14v-3z"}),(0,a.jsx)("path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6"})]})},FlameIcon:e=>{let{className:t}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"animate-pulse text-orange-500 ".concat(t||""),children:(0,a.jsx)("path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z"})})}}},96210:function(e,t,r){"use strict";r.d(t,{$:function(){return Section},W:function(){return Container}}
1);var a=r(85893);r(67294);var s=r(45697),n=r.n(s),o=r(35583);let Section=e=>{let{children:t,className:r="",id:s=""}=e;return(0,a.jsx)("section",{id:s,className:"".concat(r),children:t})},Container=e=>{let{children:t,className:r=""}=e;return(0,a.jsx)("div",{className:"".concat(o.X6.MAX_WIDTH," ").concat(o.FE.CONTAINER_PX," ").concat(r),children:t})};Section.propTypes={children:n().node.isRequired,className:n().string,id:n().string},Container.propTypes={children:n().node.isRequired,className:n().string}},95271:function(e,t,r){"use strict";r.d(t,{U:function(){return Reveal},v:function(){return StaggerReveal}});var a=r(85893),s=r(67294);let Reveal=e=>{let{children:t,animation:r="fade-up",delay:n=0,duration:o=.6,threshold:i=.1,once:l=!0,className:c=""}=e,[d,m]=(0,s.useState)(!1),x=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=new IntersectionObserver(t=>{let[r]=t;r.isIntersecting?(m(!0),l&&x.current&&e.unobserve(x.current)):l||m(!1)},{threshold:i});return x.current&&e.observe(x.current),()=>{x.current&&e.unobserve(x.current)}},[i,l]),(0,a.jsx)("div",{ref:x,style:(()=>{let e={transition:"all ".concat(o,"s cubic-bezier(0.2, 0.8, 0.2, 1)"),transitionDelay:"".concat(n,"ms"),opacity:d?1:0};switch(r){case"fade-up":return{...e,transform:d?"translateY(0)":"translateY(30px)"};case"fade-down":return{...e,transform:d?"translateY(0)":"translateY(-30px)"};case"fade-left":return{...e,transform:d?"translateX(0)":"translateX(30px)"};case"fade-right":return{...e,transform:d?"translateX(0)":"translateX(-30px)"};case"scale-up":return{...e,transform:d?"scale(1)":"scale(0.95)"};case"zoom-in":return{...e,transform:d?"scale(1)":"scale(0.8)"};default:return e}})(),className:c,children:t})},StaggerReveal=e=>{let{children:t,staggerDelay:r=100,baseDelay:n=0,animation:o="fade-up",className:i="",itemClassName:l=""}=e;return(0,a.jsx)("div",{className:i,children:s.Children.map(t,(e,t)=>(0,a.jsx)(Reveal,{animation:o,delay:n+t*r,className:l,children:e}))})}},52180:function(e,t,r){"use strict";var a=r(85893);r(67294),t.Z=e=>{let{tabs:t,activeTab:r,onTabChange:s,className:n=""}=e;return(0,a.jsx)("div",{className:"flex items-center gap-1 bg-secondary-bg border border-border-color p-1.5 rounded-xl w-fit ".concat(n),children:t.map(e=>(0,a.jsx)("button",{onClick:()=>s(e.id),className:"px-6 py-3 rounded-lg text-xs font-black uppercase tracking-widest transition-all duration-300 ".concat(r===e.id?"bg-accent-primary text-accent-contrast-text shadow-sm":"text-primary-text"),children:e.label},e.id))})}},69665:function(e,t,r){"use strict";r.d(t,{AW:function(){return TextDangerousHTML},X6:function(){return Heading},xv:function(){return Text}});var a=r(85893);r(67294);var s=r(45697),n=r.n(s),o=r(35583);let Heading=e=>{let{children:t,level:r=2,className:s="",color:n="text-primary-text"}=e,i={1:{tag:"h1",style:o.R$.H1},2:{style:o.R$.H2},3:{style:o.R$.H3}},{tag:l="h".concat(r),style:c}=i[r]||i[2];return(0,a.jsx)(l,{className:"".concat(c," ").concat(n," ").concat(s),children:t})},Text=e=>{let{children:t,variant:r="base",className:s="",color:n="text-secondary-text",onClick:i}=e,l={lg:o.R$.BODY_LG,base:o.R$.BODY_BASE,sm:o.R$.BODY_SM,xs:o.R$.BODY_XS},c=l[r]||l.base;return(0,a.jsx)("p",{onClick:i,className:"".concat(c," ").concat(n," ").concat(s),children:t})},TextDangerousHTML=e=>{let{children:t,variant:r="base",className:s="",color:n="text-secondary-text"}=e,i={lg:o.R$.BODY_LG,base:o.R$.BODY_BASE,sm:o.R$.BODY_SM,xs:o.R$.BODY_XS},l=i[r]||i.base;return(0,a.jsx)("p",{className:"".concat(l," ").concat(n," ").concat(s),dangerouslySetInnerHTML:{__html:t}})};Heading.propTypes={children:n().node.isRequired,level:n().oneOf([1,2,3]),className:n().string,color:n().string},Text.propTypes={children:n().node.isRequired,variant:n().oneOf(["xs","sm","base","lg"]),className:n().string,color:n().string}},9576:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return T}});var a=r(85893),s=r(5379),n=r.n(s),o=r(9008),i=r.n(o),l=r(80441),c=r(77666),d=r(67294),m=r(25692),x=r(96210),u=r(69665),p=r(95271),h=r(84034),b=r(9448);let g={badge:"MCP SERVER",title:"Give your AI agent astrology knowledge.",description:"Connect AstrologyAPI to Claude, ChatGPT, Cursor, or any MCP-compatible tool. Your agent can now run real birth chart calculations, generate Kundlis, and answer planetary questions mid-conversation — with live data, not static text.",primaryButton:{text:"Connect MCP server",link:b.Z.SIGNUP},secondaryButton:{text:"View Documentation",link:b.Z.DEVELOPERS.MCP_SERVER.HOME}},f=[{step:"01",title:"Add the config block",desc:"Paste the AstrologyAPI server config into your MCP client configuration file. Works with Claude Desktop, Cursor, VS Code extensions, and any MCP-compliant client.",code:'{\n  "mcpServers": {\n    "astrologyapi": {\n      "url": "https://mcp.astrologyapi.com/mcp",\n    }\n  }\n}',language:"json",file:"claude_desktop_config.json"},{step:"02",title:"Add your API credentials",desc:"Include your AstrologyAPI Access Token in the headers. Available instantly from your dashboard — no approval wait.",code:'"headers": {\n  "x-astrologyapi-key": "YOUR_ACCESS_TOKEN"\n}',language:"json",file:"credentials.json"},{step:"03",title:"Ask your first astrology question",desc:"Your AI agent now has access to the full calculation engine — birth charts, dashas, yogas, synastry, and more. Ask it anything with a birth date and location.",code:'// Example AI conversation:\n// User: "Check formed yogas for this chart"\n// AI uses: get_formed_yoga tool\n// Response: Detailed analysis of\n/
1/ Raj Yogas present in the chart',language:"javascript",file:"AI Assistant"}],v={tag:"SEE IT LIVE",title:"Working in 60 seconds.",description:"MCP lets any AI agent call external tools during a conversation. This clip shows Claude using our server to look up a birth chart and answer a planetary question — no pre-written responses.",videoCaption:'Claude + AstrologyAPI MCP — answering "What is my moon sign?" by calling our live calculation API.',callout:"Model Context Protocol is an open standard from Anthropic that lets AI assistants call external tools mid-conversation. Connecting our MCP server gives any compatible AI agent the ability to run real astrology calculations — not just recall training data."},y=[{icon:"\uD83D\uDCAC",label:"User",sub:'"What planets are in my 7th house?"',arrow:"message"},{icon:"\uD83E\uDD16",label:"AI Agent",sub:"Claude, GPT-4, or your custom agent",arrow:"tool call"},{icon:"⚡",label:"AstrologyAPI MCP",sub:"Runs the live calculation",arrow:"calculation",isAccent:!0},{icon:"\uD83E\uDE90",label:"Structured Result",sub:"Venus in Libra, House 7 — exact degree",arrow:"reply"},{icon:"\uD83D\uDCAC",label:"User Gets",sub:"A natural language answer grounded in real data"}],w=[{title:"Claude (Anthropic)",description:"Add one block to claude_desktop_config.json and Claude can answer chart questions in any conversation. Works with Claude Desktop and the Claude API.",icon:"\uD83E\uDDE0"},{title:"ChatGPT / OpenAI",description:"Compatible with GPT-4o and any model that supports tool use. Calculations run on our server, not in the model's weights.",icon:"\uD83D\uDCA1"},{title:"Cursor / Windsurf / Cline",description:"MCP-enabled editor agents can query the astrology server during a coding session. Useful for teams building astrology apps who want live data in their development context.",icon:"⌨️"},{title:"Custom AI Agents",description:"LangChain, CrewAI, AutoGen, or your own framework. Register our MCP server as a tool and your agent gets the full calculation surface — charts, transits, compatibility.",icon:"\uD83D\uDD27"},{title:"Your App's AI Assistant",description:"Real calculation power for your product's chatbot. Users get chart-specific answers, not generic horoscope text.",icon:"\uD83D\uDCF1"},{title:"Any MCP-Compliant Tool",description:"MCP is an open standard. Any client that speaks the protocol connects without modification. We handle the astrology calculation layer on our end.",icon:"\uD83D\uDCE1"}],j=[{question:"What is the AstrologyAPI MCP Server?",answer:"An MCP-compatible server that lets AI assistants perform professional astrology calculations mid-conversation. It covers both Vedic (Jyotish) and Western traditions — birth charts, dashas, compatibility, yogas, and transits — with live calculation data, not pre-written text."},{question:"Which AI applications are compatible?",answer:"Any MCP-compliant client: Claude Desktop (macOS & Windows), Cursor, VS Code extensions (Claude Dev, Roo Cline), ChatGPT via proxy, and any agent built on LangChain, CrewAI, or similar frameworks."},{question:"What calculations are available?",answer:"Vedic: birth charts, D1–D60 divisional charts, Vimshottari Dasha, yogas, Ashtakvarga, Lal Kitab, KP sub-lords. Western: natal charts, synastry, progressions, transits, solar returns across 6 house systems."},{question:"What languages are supported?",answer:"Vedic interpretations: English, Hindi, Marathi, Bengali, Tamil, Telugu, Malayalam, Kannada. Western: English, Spanish, Portuguese, French, Italian, German, Russian."},{question:"How is authentication managed?",answer:"Your AstrologyAPI User ID and API Key go in the MCP client config headers. Manage sessions from your developer dashboard — no separate credential system required."},{question:"Is there a free trial available?",answer:"Yes. New accounts include a free trial covering the full server — test every calculation type across Vedic and Western traditions before choosing a plan."}],k={title:"Your AI agent. With real astrology knowledge.",description:"Connect in minutes. 100 free calculation calls to test every endpoint — no credit card required.",primaryButton:{text:"Get API Key — Free",link:b.Z.DASHBOARD.HOME},secondaryButton:{text:"View Documentation",link:b.Z.DEVELOPERS.MCP_SERVER.HOME}};var N=r(69184),sections_McpHeroSection=()=>(0,a.jsx)("div",{className:"relative overflow-hidden pt-20 md:pt-40 pb-20",children:(0,a.jsx)(x.W,{children:(0,a.jsxs)("div",{className:"max-w-4xl mx-auto text-center flex flex-col items-center space-y-10",children:[(0,a.jsx)(p.U,{animation:"zoom-in",delay:20,className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-lg bg-accent-surface border border-accent-primary/20",children:(0,a.jsx)("span",{className:"text-xs font-bold text-accent-primary uppercase",children:g.badge})}),(0,a.jsxs)(p.v,{staggerDelay:20,baseDelay:20,animation:"fade-up",className:"flex flex-col items-center space-y-8",children:[(0,a.jsx)(u.X6,{level:1,className:"text-primary-text leading-[1.1]",children:g.title}),(0,a.jsx)(u.xv,{variant:"base",className:"text-secondary-text max-w-2xl",children:g.description}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-6 pt-4",children:[(0,a.jsx)(h.Z,{variant:"accent",className:"h-10 px-8 text-lg font-black rounded-lg",onClick:()=>window.location.href=(0,N.B)(),children:g.primaryButton.text}),(0,a.jsx)(h.Z,{variant:"outline",className:"h-10 px-8 text-primary-text rounded-lg border-border-color bg-secondary-bg hover:bg-secondary-bg/80 transition-all font-black",onClick:()=>window.location.href=g.secondaryButton.link,children:g.secondaryButton.text})]})]})]})})}),C=r(19942),A=r(95696),M=r(52180);let P={CLAUDE:"claude",CHATGPT:"chatgpt"},L={[P.CLAUDE]:{light:"https://iframe.mediadelivery.net/embed/620688/943b927a-fd97-454a-bb43-088565193531",dar
1k:"https://iframe.mediadelivery.net/embed/620688/c95ad0bb-042c-4f5b-94d6-490ca435a256",label:"Claude (Anthropic)"},[P.CHATGPT]:{light:"https://iframe.mediadelivery.net/embed/620688/29e2afd2-45f0-4cd0-91b2-a328366c8c66",dark:"https://iframe.mediadelivery.net/embed/620688/095db7b9-af97-4c57-ae79-6fee651716eb",label:"ChatGPT (OpenAI)"}},z=[{id:P.CLAUDE,label:"Claude"},{id:P.CHATGPT,label:"ChatGPT"}];var sections_McpVideoDemoSection=()=>{let{theme:e,mounted:t}=(0,C.F)(),[r,s]=(0,d.useState)(!1),[o,l]=(0,d.useState)(P.CLAUDE),c=t&&e===A.Jh.DARK,m=c?L[o].dark:L[o].light;return(0,d.useEffect)(()=>{if(!r)return;let e=document.body.style.overflow,handleKeyDown=e=>{"Escape"===e.key&&s(!1)};return document.body.style.overflow="hidden",window.addEventListener("keydown",handleKeyDown),()=>{document.body.style.overflow=e,window.removeEventListener("keydown",handleKeyDown)}},[r]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i(),{children:[(0,a.jsx)("link",{rel:"preconnect",href:"https://iframe.mediadelivery.net",className:"jsx-4bc5ec01dc497929"}),(0,a.jsx)("link",{rel:"dns-prefetch",href:"https://iframe.mediadelivery.net",className:"jsx-4bc5ec01dc497929"})]}),(0,a.jsx)(x.$,{className:"relative z-10 pt-16 pb-24",children:(0,a.jsx)(x.W,{children:(0,a.jsxs)("div",{className:"jsx-4bc5ec01dc497929 flex flex-col space-y-16",children:[(0,a.jsx)("div",{className:"jsx-4bc5ec01dc497929 max-w-3xl mx-auto text-center space-y-6",children:(0,a.jsxs)(p.U,{animation:"fade-up",children:[(0,a.jsxs)("div",{className:"jsx-4bc5ec01dc497929 inline-flex items-center gap-2 px-3 py-1 rounded-full bg-accent-primary/5 border border-accent-primary/10 mb-4",children:[(0,a.jsx)("span",{className:"jsx-4bc5ec01dc497929 w-1.5 h-1.5 rounded-full bg-accent-primary animate-pulse"}),(0,a.jsx)("span",{className:"jsx-4bc5ec01dc497929 text-[11px] font-bold uppercase tracking-wider text-accent-primary",children:v.tag})]}),(0,a.jsx)(u.X6,{level:2,className:"text-4xl md:text-5xl",children:v.title}),(0,a.jsx)(u.xv,{variant:"lg",className:"text-secondary-text mt-4",children:o===P.CLAUDE?v.description:v.description.replace("Claude","ChatGPT")})]})}),(0,a.jsx)("div",{className:"jsx-4bc5ec01dc497929 flex flex-col items-center gap-8",children:(0,a.jsx)(p.U,{animation:"fade-up",children:(0,a.jsx)(M.Z,{tabs:z,activeTab:o,onTabChange:l,className:"mx-auto"})})}),(0,a.jsxs)(p.U,{animation:"zoom-in",className:"mx-auto max-w-5xl w-full",children:[(0,a.jsxs)("div",{className:"jsx-4bc5ec01dc497929 video-teaser-shell group relative overflow-hidden rounded-[32px] border border-divider-color",children:[(0,a.jsx)("iframe",{src:"".concat(m,"?autoplay=true&muted=true&controls=false&loop=true&preload=true"),allow:"autoplay; encrypted-media; picture-in-picture",loading:"lazy",title:"MCP Server Demo Preview",className:"jsx-4bc5ec01dc497929 h-full w-full object-cover pointer-events-none border-none opacity-80"}),(0,a.jsx)("div",{className:"jsx-4bc5ec01dc497929 video-teaser-overlay absolute inset-0"}),(0,a.jsx)("div",{className:"jsx-4bc5ec01dc497929 absolute inset-0 flex items-center justify-center",children:(0,a.jsxs)("button",{type:"button",onClick:()=>s(!0),"aria-label":"Play MCP Demo Video",className:"jsx-4bc5ec01dc497929 video-play-trigger relative flex h-28 w-28 items-center justify-center rounded-full focus:outline-none focus:visible:ring-2 focus:visible:ring-accent-primary/70",children:[(0,a.jsx)("span",{className:"jsx-4bc5ec01dc497929 video-play-aura absolute inset-0 rounded-full"}),(0,a.jsx)("span",{className:"jsx-4bc5ec01dc497929 video-play-ring absolute inset-[-10px] rounded-full"}),(0,a.jsx)("span",{className:"jsx-4bc5ec01dc497929 video-play-core relative z-10 flex h-[88px] w-[88px] items-center justify-center rounded-full",children:(0,a.jsx)("svg",{width:"28",height:"32",viewBox:"0 0 28 32",fill:"none",className:"jsx-4bc5ec01dc497929 video-play-icon",children:(0,a.jsx)("path",{d:"M6 4.5C6 2.95 7.68 1.99 9.02 2.79L24.42 12.29C25.7 13.07 25.7 14.93 24.42 15.71L9.02 25.21C7.68 26.01 6 25.05 6 23.5V4.5Z",fill:"currentColor",className:"jsx-4bc5ec01dc497929"})})})]})})]}),(0,a.jsxs)("div",{className:"jsx-4bc5ec01dc497929 flex gap-4 items-start p-4",children:[(0,a.jsx)("div",{className:"jsx-4bc5ec01dc497929 w-2 h-2 rounded-lg bg-accent-primary mt-1.5 flex-shrink-0"}),(0,a.jsx)(u.xv,{variant:"base",className:"text-secondary-text font-medium italic underline underline-offset-4 decoration-accent-primary/20",children:o===P.CLAUDE?v.videoCaption:v.videoCaption.replace("Claude","ChatGPT")})]})]}),(0,a.jsxs)("div",{className:"jsx-4bc5ec01dc497929 z-[10] text-left p-4 rounded-lg bg-primary-bg border border-border-color space-y-4",children:[(0,a.jsxs)("div",{className:"jsx-4bc5ec01dc497929 flex items-center gap-3",children:[(0,a.jsx)("span",{className:"jsx-4bc5ec01dc497929 text-2xl",children:"\uD83D\uDCCC"}),(0,a.jsx)(u.X6,{level:3,className:"text-lg font-bold",children:"What is MCP?"})]}),(0,a.jsx)(u.xv,{variant:"base",className:"text-secondary-text leading-relaxed",children:v.callout})]})]})})}),r&&(0,a.jsxs)("div",{onClick:()=>s(!1),className:"jsx-4bc5ec01dc497929 fixed inset-0 z-[120] flex items-center justify-center px-4 py-8",children:[(0,a.jsx)("div",{className:"jsx-4bc5ec01dc497929 video-modal-backdrop absolute inset-0 bg-black/40 backdrop-blur-sm"}),(0,a.jsxs)("div",{onClick:e=>e.stopPropagation(),className:"jsx-4bc5ec01dc497929 video-modal-panel relative z-10 w-full max-w-6xl overflow-hidden rounded-[28px] border border-divider-color bg-zinc-950",children:[(0,a.jsx)("button",{type:"button",onClick:()=>s(!1),className:"jsx-4bc5ec01dc497929 video-modal-close absolute right-4 top-4 z-20 flex h-11 w-11 items-center justify-center rounded-full bg-white/10 text-white hover:bg-white/20 transition-all border border-white/10",children:(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",className:"jsx-4bc5ec01dc497929",children:(0,a.jsx)("path",{d:"M4.5 4.5L13.5 13.5M13.5 4.5L4.5 13.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",className:"jsx-4bc5ec01dc497929"})})}),(0,a.jsx)("iframe",{src:"".concat(m,"?autoplay=true&muted=false&controls=true&preload=true"),allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,style:{height:"min(78vh, 860px)"},title:"MCP Server Demo Walkthrough",className:"jsx-4bc5ec01dc497929 w-full aspect-video border-none shadow-2xl"})]})]}),(0,a.jsx)(n(),{id:"4bc5ec01dc497929",children:".video-teaser-shell.jsx-4bc5ec01dc497929{background:-webkit-radial-gradient(50%50%,circle,rgba(var(--accent-primary-rgb),.08),transparent 70%);background:-moz-radial-gradient(50%50%,circle,rgba(var(--accent-primary-rgb),.08),transparent 70%);background:-o-radial-gradient(50%50%,circle,rgba(var(--accent-primary-rgb),.08),transparent 70%);background:radial-gradient(circle at 50%50%,rgba(var(--accent-primary-rgb),.08),transparent 70%);
1-webkit-box-shadow:0 40px 100px -20px rgba(0,0,0,.2);-moz-box-shadow:0 40px 100px -20px rgba(0,0,0,.2);box-shadow:0 40px 100px -20px rgba(0,0,0,.2)}.video-teaser-shell.jsx-4bc5ec01dc497929 iframe.jsx-4bc5ec01dc497929,.video-teaser-shell.jsx-4bc5ec01dc497929 video.jsx-4bc5ec01dc497929{aspect-ratio:16/9}.video-teaser-overlay.jsx-4bc5ec01dc497929{background:-webkit-linear-gradient(top,rgba(0,0,0,.4)0%,transparent 40%,rgba(0,0,0,.4)100%);background:-moz-linear-gradient(top,rgba(0,0,0,.4)0%,transparent 40%,rgba(0,0,0,.4)100%);background:-o-linear-gradient(top,rgba(0,0,0,.4)0%,transparent 40%,rgba(0,0,0,.4)100%);background:linear-gradient(180deg,rgba(0,0,0,.4)0%,transparent 40%,rgba(0,0,0,.4)100%)}.video-play-trigger.jsx-4bc5ec01dc497929{color:white;-webkit-transition:-webkit-transform.3s cubic-bezier(.34,1.56,.64,1);-moz-transition:-moz-transform.3s cubic-bezier(.34,1.56,.64,1);-o-transition:-o-transform.3s cubic-bezier(.34,1.56,.64,1);transition:-webkit-transform.3s cubic-bezier(.34,1.56,.64,1);transition:-moz-transform.3s cubic-bezier(.34,1.56,.64,1);transition:-o-transform.3s cubic-bezier(.34,1.56,.64,1);transition:transform.3s cubic-bezier(.34,1.56,.64,1)}.video-play-aura.jsx-4bc5ec01dc497929{background:-webkit-radial-gradient(circle,rgba(255,196,107,.48),rgba(255,196,107,0)70%);background:-moz-radial-gradient(circle,rgba(255,196,107,.48),rgba(255,196,107,0)70%);background:-o-radial-gradient(circle,rgba(255,196,107,.48),rgba(255,196,107,0)70%);background:radial-gradient(circle,rgba(255,196,107,.48),rgba(255,196,107,0)70%);-webkit-animation:auraPulse 2.4s ease-in-out infinite;-moz-animation:auraPulse 2.4s ease-in-out infinite;-o-animation:auraPulse 2.4s ease-in-out infinite;animation:auraPulse 2.4s ease-in-out infinite;-webkit-filter:blur(4px);filter:blur(4px)}.video-play-ring.jsx-4bc5ec01dc497929{border:1.5px solid rgba(255,196,107,.4);-webkit-animation:ringPulse 2.4s ease-in-out infinite;-moz-animation:ringPulse 2.4s ease-in-out infinite;-o-animation:ringPulse 2.4s ease-in-out infinite;animation:ringPulse 2.4s ease-in-out infinite}.video-play-core.jsx-4bc5ec01dc497929{background:-webkit-linear-gradient(315deg,#ffc46b 0%,#e07a5f 100%);background:-moz-linear-gradient(315deg,#ffc46b 0%,#e07a5f 100%);background:-o-linear-gradient(315deg,#ffc46b 0%,#e07a5f 100%);background:linear-gradient(135deg,#ffc46b 0%,#e07a5f 100%);-webkit-box-shadow:0 20px 40px -10px rgba(224,122,95,.5);-moz-box-shadow:0 20px 40px -10px rgba(224,122,95,.5);box-shadow:0 20px 40px -10px rgba(224,122,95,.5);-webkit-transition:all.3s ease;-moz-transition:all.3s ease;-o-transition:all.3s ease;transition:all.3s ease}.video-play-icon.jsx-4bc5ec01dc497929{-webkit-transform:translatex(2px);-moz-transform:translatex(2px);-ms-transform:translatex(2px);-o-transform:translatex(2px);transform:translatex(2px);-webkit-filter:drop-shadow(0 2px 4px rgba(0,0,0,.1));filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.group.jsx-4bc5ec01dc497929:hover .video-play-trigger.jsx-4bc5ec01dc497929{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-ms-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}.group.jsx-4bc5ec01dc497929:hover .video-play-core.jsx-4bc5ec01dc497929{-webkit-box-shadow:0 25px 50px -12px rgba(224,122,95,.6);-moz-box-shadow:0 25px 50px -12px rgba(224,122,95,.6);box-shadow:0 25px 50px -12px rgba(224,122,95,.6);-webkit-filter:brightness(1.05);filter:brightness(1.05)}@-webkit-keyframes auraPulse{0%,100%{-webkit-transform:scale(.9);transform:scale(.9);opacity:.6}50%{-webkit-transform:scale(1.15);transform:scale(1.15);opacity:1}}@-moz-keyframes auraPulse{0%,100%{-moz-transform:scale(.9);transform:scale(.9);opacity:.6}50%{-moz-transform:scale(1.15);transform:scale(1.15);opacity:1}}@-o-keyframes auraPulse{0%,100%{-o-transform:scale(.9);transform:scale(.9);opacity:.6}50%{-o-transform:scale(1.15);transform:scale(1.15);opacity:1}}@keyframes auraPulse{0%,100%{-webkit-transform:scale(.9);-moz-transform:scale(.9);-o-transform:scale(.9);transform:scale(.9);opacity:.6}50%{-webkit-transform:scale(1.15);-moz-transform:scale(1.15);-o-transform:scale(1.15);transform:scale(1.15);opacity:1}}@-webkit-keyframes ringPulse{0%,100%{-webkit-transform:scale(1);transform:scale(1);opacity:.4}50%{-webkit-transform:scale(1.2);transform:scale(1.2);opacity:.1}}@-moz-keyframes ringPulse{0%,100%{-moz-transform:scale(1);transform:scale(1);opacity:.4}50%{-moz-transform:scale(1.2);transform:scale(1.2);opacity:.1}}@-o-keyframes ringPulse{0%,100%{-o-transform:scale(1);transform:scale(1);opacity:.4}50%{-o-transform:scale(1.2);transform:scale(1.2);opacity:.1}}@keyframes ringPulse{0%,100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1);opacity:.4}50%{-webkit-transform:scale(1.2);-moz-transform:scale(1.2);
1-o-transform:scale(1.2);transform:scale(1.2);opacity:.1}}@media(max-width:768px){.video-play-trigger.jsx-4bc5ec01dc497929{-webkit-transform:scale(.85);-moz-transform:scale(.85);-ms-transform:scale(.85);-o-transform:scale(.85);transform:scale(.85)}}"})]})},sections_McpFlowSection=()=>(0,a.jsx)(x.$,{className:"bg-primary-bg py-24",children:(0,a.jsx)(x.W,{children:(0,a.jsxs)("div",{className:"flex flex-col space-y-20",children:[(0,a.jsx)("div",{className:"max-w-8xl mx-auto",children:(0,a.jsx)(p.U,{animation:"fade-up",delay:20,children:(0,a.jsxs)(u.X6,{level:2,className:"text-4xl md:text-5xl text-center",children:["What happens when ",(0,a.jsx)("br",{})," a user asks a question"]})})}),(0,a.jsxs)("div",{className:"relative p-1 rounded-lg bg-secondary-bg border border-border-color overflow-hidden",children:[(0,a.jsxs)("div",{className:"p-2 md:px-4 md:py-5 border-b border-border-color bg-primary-bg/50 flex items-center justify-between",children:[(0,a.jsx)("div",{className:"flex items-center gap-4",children:(0,a.jsx)("span",{className:"text-xs font-black uppercase text-secondary-text",children:"\uD83D\uDD04 MCP Request Flow"})}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 rounded-lg bg-success-color animate-pulse"}),(0,a.jsx)("span",{className:"text-[10px] font-black uppercase text-success-color",children:"Live architecture"})]})]}),(0,a.jsx)("div",{className:"p-4 md:p-4 flex flex-col lg:flex-row items-center justify-between gap-8 lg:gap-4 overflow-x-auto no-scrollbar",children:y.map((e,t)=>(0,a.jsxs)(d.Fragment,{children:[(0,a.jsx)(p.U,{animation:"zoom-in",delay:10*t,className:"flex-shrink-0",children:(0,a.jsxs)("div",{className:"flex flex-col items-center text-center p-2 md:p-4 roun
1ded-lg border transition-all duration-300 w-52 ".concat(e.isAccent?"border-accent-primary scale-110":"border-border-color group-hover:border-accent-primary/20"),children:[(0,a.jsx)("span",{className:"text-xl",children:e.icon}),(0,a.jsx)(u.xv,{variant:"base",color:"text-primary-text",className:"font-semibold",children:e.label}),(0,a.jsx)(u.xv,{variant:"base",color:"text-primary-text",children:e.sub})]})}),e.arrow&&(0,a.jsxs)(p.U,{animation:"fade-in",delay:10*t+5,className:"flex flex-row lg:flex-col items-center gap-2 flex-shrink-0",children:[(0,a.jsx)("div",{className:"flex flex-col items-center",children:(0,a.jsx)(u.xv,{variant:"sm",className:"text-tertiary-text capitalize lg:mb-0",children:e.arrow})}),(0,a.jsx)("span",{className:"text-border-color text-xl leading-none rotate-90",children:"↑"})]})]},t))})]})]})})}),sections_McpCompatibilitySection=()=>(0,a.jsx)(x.$,{className:"bg-secondary-bg py-24 border-y border-border-color",children:(0,a.jsx)(x.W,{children:(0,a.jsxs)("div",{className:"flex flex-col space-y-20",children:[(0,a.jsx)("div",{className:"max-w-3xl mx-auto",children:(0,a.jsx)(p.U,{animation:"fade-up",delay:20,children:(0,a.jsxs)(u.X6,{level:2,className:"text-4xl md:text-5xl text-center",children:["Works with the AI tools ",(0,a.jsx)("br",{})," you already use"]})})}),(0,a.jsx)(p.v,{staggerDelay:10,animation:"fade-up",className:"bg-primary-bg backdrop-blur-sm border border-border-color grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 divide-x divide-y divide-border-color",children:w.map((e,t)=>(0,a.jsxs)("div",{className:"group p-4 md:p-6 border-border-color hover:border-accent-primary transition-all duration-300 hover:bg-secondary-bg",children:[(0,a.jsx)("div",{className:"w-16 h-16 flex items-center justify-center text-3xl group-hover:scale-110 transition-all duration-300",children:e.icon}),(0,a.jsx)(u.xv,{variant:"md",className:"font-semibold mb-2",color:"text-primary-text",children:e.title}),(0,a.jsx)(u.xv,{variant:"base",className:"text-secondary-text leading-relaxed",children:e.description})]},t))})]})})}),S=r(70453),D=r(35583),sections_McpIntegrationSection=()=>{let[e,t]=(0,d.useState)(0);return(0,a.jsx)(x.$,{className:"bg-secondary-bg py-24 border-y border-border-color",children:(0,a.jsx)(x.W,{children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 items-center",children:[(0,a.jsxs)(p.U,{animation:"fade-right",className:"space-y-10",children:[(0,a.jsx)("div",{className:"space-y-8",children:(0,a.jsxs)("div",{children:[(0,a.jsx)(u.xv,{variant:"base",className:"text-accent-primary font-bold uppercase mb-4",children:"GET STARTED"}),(0,a.jsx)(u.X6,{level:3,className:"text-4xl md:text-5xl mb-6",children:"Connected in under 5 minutes."}),(0,a.jsx)(u.xv,{variant:"base",className:"text-secondary-text",children:"Add one config block to your MCP client. Your AI agent immediately gains access to the full AstrologyAPI calculation engine."})]})}),(0,a.jsx)("div",{className:"space-y-6",children:f.map((r,s)=>(0,a.jsxs)("button",{onClick:()=>t(s),className:"flex gap-6 items-start w-full text-left p-6 rounded-lg transition-all duration-300 border ".concat(e===s?"bg-primary-bg border-accent-primary scale-[1.02]":"bg-transparent border-transparent hover:bg-primary-bg/50"),children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center font-bold flex-shrink-0 transition-colors ".concat(e===s?"bg-accent-primary text-accent-contrast-text":"bg-accent-surface text-accent-primary border border-accent-primary/20"),children:r.step}),(0,a.jsxs)("div",{children:[(0,a.jsx)(u.xv,{variant:"base",color:"text-primary-text",className:"font-bold",children:r.title}),(0,a.jsx)(u.xv,{variant:"base",className:"text-tertiary-text",children:r.desc})]})]},s))})]}),(0,a.jsx)(p.U,{animation:"fade-left",children:(0,a.jsxs)("div",{className:"".concat(D.kx.CARD," p-0 overflow-hidden rounded-lg"),children:[(0,a.jsx)("div",{className:"bg-primary-bg/50 border-b border-border-color px-6 py-4 flex items-center justify-between",children:(0,a.jsx)(u.xv,{variant:"base",className:"font-mono opacity-50",children:f[e].file})}),(0,a.jsx)("div",{className:"",children:(0,a.jsx)(S.Z,{code:f[e].
1code,language:f[e].language,showLineNumbers:!1,radius:""})})]})},e)]})})})},I=r(35598),sections_McpOAuthInfoSection=()=>{let e=[{title:"Access Dashboard",description:"Log in to your AstrologyAPI developer dashboard and navigate to the MCP Server section.",icon:(0,a.jsx)(I.U.ResourceIcon,{className:"w-5 h-5"})},{title:"Generate Bridge",description:'Click on "Create MCP Token" and select your preferred subscription or wallet as the source.',icon:(0,a.jsx)(I.U.PlusIcon,{className:"w-5 h-5"})},{title:"Connect to AI",description:"Copy your secure Token and paste it into ChatGPT or other MCP-compatible clients.",icon:(0,a.jsx)(I.U.ExploreIcon,{className:"w-5 h-5"})}];return(0,a.jsx)("section",{className:"py-24 bg-white relative overflow-hidden",children:(0,a.jsx)("div",{className:"max-w-6xl mx-auto px-4 relative z-10",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-16",children:[(0,a.jsxs)("div",{className:"flex-1 space-y-8 text-center md:text-left",children:[(0,a.jsx)(p.U,{animation:"fade-right",children:(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)(u.X6,{level:2,className:"text-4xl md:text-5xl font-bold !text-slate-900 leading-tight",children:["Seamlessly Connect to"," ",(0,a.jsx)("span",{className:"text-indigo-600",children:"ChatGPT"})]}),(0,a.jsx)(u.xv,{variant:"lg",className:"text-slate-600 leading-relaxed max-w-xl",children:"Our OAuth Bridge allows you to securely map your AstrologyAPI engine to ChatGPT in seconds. No complex setup, just a secure token that puts high-accuracy astrology at your AI's fingertips."})]})}),(0,a.jsx)(p.v,{staggerDelay:40,animation:"fade-up",children:(0,a.jsx)("div",{className:"space-y-6",children:e.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-start gap-4",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg bg-indigo-50 flex items-center justify-center text-indigo-600 shrink-0",children:e.icon}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(u.xv,{variant:"lg",className:"font-bold text-slate-900",children:e.title}),(0,a.jsx)(u.xv,{variant:"sm",className:"text-slate-500",children:e.description})]})]},t))})})]}),(0,a.jsx)(p.U,{animation:"fade-left",className:"flex-1",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"absolute -inset-4 bg-indigo-500/5 rounded-[2rem] blur-2xl"}),(0,a.jsxs)("div",{className:"relative bg-slate-900 border border-slate-800 rounded-2xl p-4 shadow-2xl",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-4 px-2",children:[(0,a.jsx)("div",{className:"w-3 h-3 rounded-full bg-red-500/20"}),(0,a.jsx)("div",{className:"w-3 h-3 rounded-full bg-amber-500/20"}),(0,a.jsx)("div",{className:"w-3 h-3 rounded-full bg-emerald-500/20"})]}),(0,a.jsxs)("div",{className:"space-y-4 p-4",children:[(0,a.jsx)("div",{className:"h-4 w-1/3 bg-slate-800 rounded animate-pulse"}),(0,a.jsx)("div",{className:"h-10 w-full bg-slate-800/50 rounded-lg border border-slate-700/50 flex items-center px-4",children:(0,a.jsx)(u.xv,{variant:"xs",className:"text-indigo-400 font-mono",children:"astrologyapi_bridge_jwt_..."})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"h-3 w-full bg-slate-800/30 rounded"}),(0,a.jsx)("div",{className:"h-3 w-4/5 bg-slate-800/30 rounded"})]}),(0,a.jsx)("div",{className:"pt-4",children:(0,a.jsx)("div",{className:"h-10 w-full bg-indigo-600 rounded-lg shadow-lg shadow-indigo-500/20 flex items-center justify-center",children:(0,a.jsx)(u.xv,{variant:"sm",className:"text-white font-bold",children:"Copy to ChatGPT"})})})]})]}),(0,a.jsx)("div",{className:"absolute -top-8 -right-8 w-32 h-32 bg-indigo-600/10 rounded-full blur-3xl"}),(0,a.jsx)("div",{className:"absolute -bottom-12 -left-12 w-48 h-48 bg-purple-600/10 rounded-full blur-3xl"})]})})]})})})},sections_McpCtaSection=()=>(0,a.jsx)(x.$,{className:"bg-primary-bg py-24 border-t border-border-color",children:(0,a.jsx)(x.W,{children:(0,a.jsx)(p.U,{animation:"zoom-in",delay:20,children:(0,a.jsxs)("div",{className:"bg-secondary-bg border border-border-color rounded-lg p-12 md:p-20 text-center flex flex-col items-center gap-8",children:[(0,a.jsxs)("div",{className:"space-y-4 max-w-2xl",children:[(0,a.jsx)(u.X6,{level:2,className:"text-3xl md:text-5xl leading-tight",children:k.title}),(0,a.jsx)(u.xv,{variant:"base",className:"text-secondary-text",children:k.description})]}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-6",children:[(0,a.jsx)(h.Z,{variant:"accent",className:"h-10 px-10 text-lg font-black rounded-lg",onClick:()=>window.location.href=(0,N.B)(),children:k.primaryButton.text}),(0,a.jsx)(h.Z,{variant:"outline",className:"h-10 px-10 text-lg font-black rounded-lg border-border-color bg-primary-bg hover:bg-secondary-bg transition-all text-primary-text",onClick:()=>window.location.href=k.secondaryButton.link,children:k.secondaryButton.text})]})]})})})}),sections_McpFaqSection=()=>{let[e,t]=(0,d.useState)(0),toggleAccordion=r=>{t(e===r?-1:r)};return(0,a.jsx)(x.$,{className:"bg-primary-bg py-24 border-t border-border-color",children:(0,a.jsx)(x.W,{children:(0,a.jsxs)("div",{className:"flex flex-col space-y-16",children:[(0,a.jsx)(p.U,{animation:"fade-up",className:"text-center max-w-2xl mx-auto",children:(0,a.jsx)(u.X6,{level:2,className:"text-3xl md:text-5xl mb-6",children:"Frequently Asked Questions"})}),(0,a.jsx)("div",{className:"max-w-3xl mx-auto w-full space-y-4",children:j.map((t,r)=>{let s=e===r;return(0,a.jsxs)(p.U,{animation:"fade-up",delay:10*r,className:"border transition-all duration-300 rounded-lg overflow-hidden ".concat(s?"border-accent-primary bg-secondary-bg":"border-border-color bg-primary-bg hover:bg-secondary-bg/50"),children:[(0,a.jsxs)("button",{onClick:()=>toggleAccordion(r),className:"w-full px-6 py-5 flex items-center justify-between gap-4 text-left",children:[(0,a.jsx)("span",{className:"font-bold transition-colors ".concat(s?"text-primary-text":"text-secondary-text"),children:t.question}),(0,a.jsx)("div",{className:"w-6 h-6 flex-shrink-0 flex items-center justify-center rounded-lg transition-transform duration-300 ".concat(s?"bg-accent-primary text-accent-contrast-text":"bg-accent-surface text-accent-primary"," ").concat(s?"rotate-180":""),children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("path",{d:"m6 9 6 6 6-6"})})})]}),(0,a.jsx)("div",{className:"px-6 overflow-hidden transition-all duration-300 ".concat(s?"pb-6 max-h-40 opacity-100":"max-h-0 opacity-0"),children:(0,a.jsx)(u.xv,{variant:"base",className:"text-tertiary-text",children:t.answer})})]},r)})})]})})})};let _=[(0,a.jsx)("svg",{fill:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M20,18c1.1,0,2-0.9,2-2V6c0-1.1-0.9-2-2-2H4C2.9,4,2,4.9,2,6v10c0,1.1,0.9,2,2,2H0v2h24v-2H20z M4,6h16v10H4V6z"})},"1"),(0,a.jsx)("svg",{fill:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M12,11L12,11c-1.1,0-2,0.9-2,2v2c0,1.1,0.9,2,2,2h0c1.1,0,2-0.9,2-2v-2C14,11.9,13.1,11,12,11z M12,15h-0v-2h0V15z M18,5h-1V4 c0-2.76-2.24-5-5-5S7,2.24,7,4v1H6C4.9,5,4,5.9,4,7v14c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V7C20,5.9,19.1,5,18,5z M9,4 c0-1.66,1.34-3,3-3s3,1.34,3,3v1H9V4z M18,21H6V7h12V21z"})},"2"),(0,a.jsx)("svg",{fill:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M4.7,18.7L3.3,17.3L10.3,10.3V5.4L11.7,4V10.3L4.7,17.3z M20.7,11.3V5.4L19.3,4V11.3L12.3,18.3L13.7,19.7L20.7,11.3z"})},"3")];var mcp_server_McpServerPage=()=>(0,a.jsxs)("div",{className:"flex flex-col w-full relative",children:[(0,a.jsx)(m.Z,{icons:_,count:25}),(0,a.jsx)(sections_McpHeroSection,{}),(0,a.jsx)(sections_McpVideoDemoSection,{}),(0,a.jsx)(sections_McpFlowSection,{}),(0,a.jsx)(sections_McpCompatibilitySection,{}),(0,a.jsx)(sections_McpOAuthInfoSection,{}),(0,a.jsx)(sections_McpIntegrationSection,{}),(0,a.jsx)(sections_McpCtaSection,{}),(0,a.jsx)(sections_McpFaqSection,{})]});let McpServerV1=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i(),{children:[(0,a.jsx)("meta",{name:"description",content:"Connect Claude, ChatGPT, or any LLM to real ephemeris data via the AstrologyAPI MCP server. No hallucinated charts, no code required.",className:"jsx-b8abc5eb292edc75"}),(0,a.jsx)("title",{className:"jsx-b8abc5eb292edc75",children:"Astrology MCP Server — Connect Any LLM | AstrologyAPI"}),(0,a.jsx)("link",{rel:"canonical",href:"https://astrologyapi.com/astro-ai/mcp-server",className:"jsx-b8abc5eb292edc75"})]}),(0,a.jsxs)("div",{className:"jsx-b8abc5eb292edc75 relative min-h-screen bg-primary-bg font-plus_jakarta_sans selection:bg-accent-primary selection:text-white",children:[(0,a.jsx)(l.Z,{showScrollProgress:!0}),(0,a.jsx)("main",{className:"jsx-b8abc5eb292edc75 relative z-10",children:(0,a.jsx)(mcp_server_McpServerPage,{})})]}),(0,a.jsx)(n(),{id:"b8abc5eb292edc75",children:"*{-webkit-box-shadow:none!important;-moz-box-shadow:none!important;box-shadow:none!important}:root{--font-plus-jakarta:'Plus Jakarta Sans', sans-serif}"})]});McpServerV1.getLayout=function(e){return(0,a.jsxs)(a.Fragment,{children:[e,(0,a.jsx)(c.Z,{showNewsLetter:!1})]})};var T=McpServerV1},30907:function(e,t,r){"use strict";function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}r.d(t,{Z:function(){return _arrayLikeToArray}})},4942:function(e,t,r){"use strict";r.d(t,{Z:function(){return _defineProperty}});var a=r(83997);function _defineProperty(e,t,r){return(t=(0,a.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},87462:function(e,t,r){"use strict";function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{Z:function(){return _extends}})},45987:function(e,t,r){"use strict";r.d(t,{Z:function(){return _objectWithoutProperties}});var a=r(63366);function _objectWithoutProperties(e,t){if(null==e)return{};var r,s,n=(0,a.Z)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}},63366:function(e,t,r){"use strict";function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var r={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;r[a]=e[a]}return r}r.d(t,{Z:function(){return _objectWithoutPropertiesLoose}})},83997:function(e,t,r){"use strict";r.d(t,{Z:function(){return toPropertyKey}});var a=r(71002);function toPropertyKey(e){var t=function(e,t){if("object"!=(0,a.Z)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var s=r.call(e,t||"default");if("object"!=(0,a.Z)(s))return s;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,a.Z)(t)?t:t+""}},71002:function(e,t,r){"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,{Z:function(){return _typeof}})},40181:function(e,t,r){"use strict";r.d(t,{Z:function(){return _unsupportedIterableToArray}});var a=r(30907);function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return(0,a.Z)(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,a.Z)(e,t):void 0}}}},function(e){e.O(0,[38190,67764,86592,49774,92888,40179],function(){return e(e.s=9546)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.