AstroMCP logo

AstroMCP

Community
simpolism

An MCP server for querying astrological data.

Publishersimpolism
RepositoryAstroMCP
LanguageTypeScript
Forks
2
Stars
14
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    AstroMCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    14 stars and 2 forks from the linked repository.

AstroMCP

A Model Context Protocol (MCP) server providing astrological chart functionality for AI assistants.

npm version

🚀 Quick Start

  1. Clone the repository
  2. Install dependencies:
    bash
    bun install
  3. Start the server:
    bash
    bun run start

✨ Key Features

  • Generate detailed astrological charts based on date, time, and location
  • Seamless integration with AI assistants via Model Context Protocol
  • Powered by chart2txt for natural language chart interpretations
  • Uses Photon geocoding API for location lookups
  • Outputs planetary positions, house placements, and major aspects

📂 Project Structure

AstroMCP/
├── src/
│   ├── tools/
│   │   ├── getChart/        # Astrological chart functionality
│   │   └── ...              # Other tools
│   ├── utils/               # Shared utilities
│   ├── main.ts              # Server entry point
│   └── types.ts             # Shared type definitions
├── tests/                   # Test files
├── biome.json               # Linting configuration
├── tsconfig.json            # TypeScript configuration
└── package.json             # Project dependencies

🔮 Using the Astrology Tool

The get_chart tool accepts three parameters:

  • date: Date in YYYY-MM-DD format
  • time: Time in 24-hour format (HH:MM:SS)
  • location: Location in "city, country" format

Example response:

Astrology Chart (location: New York, USA, at: 1/1/2001, 1:01:00 AM):

Ascendant is at 21° Libra. Sun is at 10° Capricorn. Moon is at 21° Pisces. Mercury is at 14° Capricorn. Venus is at 27° Aquarius. Mars is at 5° Scorpio. Jupiter is at 2° Gemini. Saturn is at 24° Taurus. Uranus is at 18° Aquarius. Neptune is at 5° Aquarius. Pluto is at 13° Sagittarius.

Sun is in house 4. Moon is in house 6. Mercury is in house 4. Venus is in house 5. Mars is in house 2. Jupiter is in house 9. Saturn is in house 8. Uranus is in house 5. Neptune is in house 5. Pluto is in house 3.

Sun is in conjunction with Mercury (orb: 3.8°). Moon is in sextile with Saturn (orb: 2.8°). Venus is in square with Jupiter (orb: 4.9°). Venus is in square with Saturn (orb: 2.7°). Mars is in square with Neptune (orb: 0.3°). Jupiter is in trine with Neptune (orb: 3.2°).

⚙️ Configuration

API Endpoints

The server uses the following API endpoints:

  • Photon API (photon.komoot.io) for geocoding locations
  • Simple Astro API for planetary calculations (currently using hosted version)

Creating New Tools

The project includes a script to help create new MCP tools:

bash
bun run scripts/create-tool.ts <tool-name>

🛠️ Development

  • Run tests: bun test
  • Format code: bun run format
  • Lint code: bun run lint
  • Build project: bun run build

To add your AstroMCP server to Claude Desktop:

  1. Build the project:
    bash
    bun run build
  2. Add to your Claude Desktop config:
    json
    {
      "mcpServers": {
        "astrology-mcp-server": {
          "command": "/path/to/node",
          "args": ["/path/to/AstroMCP/dist/main.js"]
        }
      }
    }

📦 Publishing to npm

  1. Ensure you're logged in to npm:
    bash
    npm login
  2. Build the project:
    bash
    bun run build
  3. Publish the package:
    bash
    npm publish

Installing from npm (after publishing)

Add to your Claude Desktop config:

json
{
  "mcpServers": {
    "astro-server": {
      "command": "npx",
      "args": ["-y", "astrology-mcp-server"]
    }
  }
}

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "simpolism-astromcp": {
      "command": "",
      "args": []
    }
  }
}

Use AstroMCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once AstroMCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add AstroMCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the AstroMCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "simpolism-astromcp": {
      "command": "npx",
      "args": [
        "-y",
        "astrology-mcp-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the AstroMCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the AstroMCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use AstroMCP to help me with this task?
AstroMCP
Sure. I read it.
Here is what I found using AstroMCP.

Frequently asked questions

What is the AstroMCP MCP server used for?

AstroMCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use AstroMCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use AstroMCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use AstroMCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With AstroMCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect AstroMCP MCP to TypingMind?

AstroMCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does AstroMCP MCP provide in TypingMind?

AstroMCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use AstroMCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If AstroMCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇