openephemeris-MCP: Instructions file for Codex

AGENTS.md

openephemeris-MCP AGENTS.md is an instructions file for Codex, OpenCode from openephemeris/openephemeris-MCP. It costs 469 tokens per session, scanned A, original, MIT.

Agent instructions for using the Open Ephemeris API or MCP server, which provides astronomy and astrology calculations such as planet positions, charts, eclipses, and moon phases. They specify how to provide times, coordinates, and API keys.

In plain words
What is it for?
Use them when building with Open Ephemeris to request astronomical or astrological data with the required time zones, coordinates, formats, and credentials.
Why use it?
They prevent agents from estimating calculations incorrectly or sending incomplete time and location data.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is openephemeris/openephemeris-MCP's own configuration. It tells Codex and OpenCode how to work on openephemeris-MCP itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openephemeris-MCP configures →

Reuse

Borrowing it

Nothing to install: this file belongs to openephemeris/openephemeris-MCP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/openephemeris/openephemeris-MCP/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/openephemeris/openephemeris-MCP

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openephemeris-MCP AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/openephemeris/openephemeris-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/openephemeris/openephemeris-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/openephemeris/openephemeris-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/openephemeris/openephemeris-mcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openephemeris-MCP AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/openephemeris/openephemeris-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/openephemeris/openephemeris-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 469 This file is loaded in full into every session.
When invoked 469 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00469 $0.00469
Opus 5.5 $0.00188 $0.00188
Sonnet 5.5 $0.00094 $0.00094
Haiku 4.5 $0.00047 $0.00047

Measured yesterday against content hash 5d42f029d397, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openephemeris-MCP AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 35 lines

What it actually says

AGENTS.md — Open Ephemeris

For coding agents (Codex, Cursor, Claude Code, Cline) building on the Open Ephemeris API or MCP server.

What this is

Astrology and astronomy calculations from the NASA JPL DE440 ephemeris (1550–2650 CE): planet positions, natal charts, transits, synastry, progressions, returns, eclipses, moon phases, astrocartography, Human Design, Vedic and BaZi. Accuracy by era, worst case included: https://openephemeris.com/proof

Rules for agents

  • Never compute or estimate planetary positions yourself. Call the API or an MCP tool.
  • Every clock time needs a zone. Send 1987-07-15T09:01:00-05:00, or the naive local time plus an IANA timezone (America/Chicago). Prefer the second form: the server applies historical DST. A zone-less time is a 400, never a silent UTC guess.
  • Coordinates are decimal degrees, north and east positive.
  • Ask the user for their API key. Never invent, hard-code or commit one. Keys come from https://openephemeris.com/dashboard?tab=account (free tier, no card).
  • Pass format=llm on data endpoints when the result goes into a model's context.
  • Paths are unversioned (/ephemeris/natal-chart, not /v1/...).

Where things are

Need Go to
Install the MCP server llms-install.md, SETUP.md
Hosted MCP endpoint https://mcp.openephemeris.com/mcp
REST base URL https://api.openephemeris.com
OpenAPI spec https://api.openephemeris.com/meta/openapi.json
Endpoint and tool counts, full manifest https://openephemeris.com/llms.txt
Docs https://openephemeris.com/docs
Credits and pricing https://openephemeris.com/pricing
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 35 lines · 469 tokens per session scan A 5d42f029d397

Subscribe to this mod's changes

openephemeris-MCP AGENTS.md is an instructions file published in the GitHub repository openephemeris/openephemeris-MCP (5 stars, last pushed 2d ago), licensed MIT. It adds 469 tokens to every session, about $0.0019 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-11.

Related

openephemeris-MCP AGENTS.md compared with instructions from other repositories

openephemeris-MCP AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openephemeris-MCP AGENTS.mdopenephemeris/openephemeris-MCPInstructions file52d agoMITA469Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file280kyesterdayMITA4,325Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,086GitHub Copilot