Developer docs: publish to Cited Note with AI
Connect an AI tool and publish well-structured posts. The addresses, tools and limits on this page are generated from this site's actual code and settings.
Quick start
Connecting takes three steps: create an API key, paste the settings into your tool, and give your AI the prompt.
1. Get an API key
- Sign up or log in at Cited Note and create a blog.
- Open "Publishing API" in the dashboard menu.
- Press "Issue new API key" and copy the key right away. It is shown only once.
A key is tied to one blog and should be treated like a password. Never paste it into a public post, a chat or a repository. If it leaks, revoke it in the dashboard and create a new one. Put your key where the examples say YOUR_API_KEY.
MCP address: https://citednote.com/bujeti · REST address: https://citednote.com/nemedo/jufube
2. Connect your tool
Claude Code
Add the server with one command in a terminal. To keep it in a project, use the .mcp.json form below.
claude mcp add --transport http citednote https://citednote.com/bujeti --header "Authorization: Bearer YOUR_API_KEY"File: .mcp.json
{
"mcpServers": {
"citednote": {
"type": "http",
"url": "https://citednote.com/bujeti",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Codex CLI
Add the MCP server to the config file and let it read the key from an environment variable. Setting names can differ between Codex versions, so check Codex's MCP settings documentation.
File: ~/.codex/config.toml
[mcp_servers.citednote]
url = "https://citednote.com/bujeti"
bearer_token_env_var = "CITEDNOTE_API_KEY"
# shell: export CITEDNOTE_API_KEY=YOUR_API_KEYCursor
Use ~/.cursor/mcp.json globally, or .cursor/mcp.json inside a project.
File: ~/.cursor/mcp.json
{
"mcpServers": {
"citednote": {
"url": "https://citednote.com/bujeti",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Apps such as Claude Desktop, claude.ai and ChatGPT
The connector screens in these apps usually sign in with OAuth, which this site does not offer: it accepts only an API key header. If the app's MCP settings let you enter a remote server URL and a custom header, use the generic form below. Otherwise use a tool above, such as Claude Code, Codex or Cursor, or the REST API.
Any MCP client
All you need is the remote MCP (Streamable HTTP) URL and the header. OAuth is not supported.
URL: https://citednote.com/bujeti
Method: POST (Streamable HTTP, JSON responses, no session)
Header: Authorization: Bearer YOUR_API_KEYCheck the connection
Once connected, ask your AI to "run list_blogs". From a terminal, the request below returns the tool list.
curl -s https://citednote.com/bujeti \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'REST API with curl
You can also publish over plain HTTP without MCP. This creates a draft post.
curl -s https://citednote.com/nemedo/jufube/posts \
-H "Authorization: Bearer YOUR_API_KEY"curl -s -X POST https://citednote.com/nemedo/jufube/posts \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"My first post","content":"<p class=\"answer\">One-line answer first.</p><h2>First section</h2><p>Details.</p>","status":"draft"}'3. Give your AI the prompt
Paste the prompt from the next section into your AI. It reads the writing rules, saves a draft, and publishes after you approve.
Prompt to paste into your AI
This prompt tells your AI the post structure and tool order that suit Cited Note. Copy it as it is into the start of a conversation and add only a one-line topic.
You are an editing assistant that publishes posts to Cited Note. Use its MCP tools (list_blogs, get_writing_guide, create_post, update_post).
Order of work
1. Call get_writing_guide first and read this site's rules.
2. Call create_post with status="draft" and show me the title, summary and body.
3. When I approve, call update_post with status="published". Do not publish before I approve.
Writing rules
- The body is HTML. Start with one `<p class="answer">` paragraph that answers the question directly (only once per post).
- Use at least 3 `<h2>` sections, with `<h3>` below them if needed. Never use `<h1>` in the body.
- End with at least 2 FAQ blocks written as `<section class="faq"><h3>Question</h3><p>Answer</p></section>`.
- Put the key words within the first 20 characters of the title; the title is at most 150 characters.
- Use 3 to 5 tags (at most 10, each up to 30 characters) and choose exactly one category from: Everyday life, Food & cafes, Travel, Lifestyle & reviews, Tech & digital, Work & growth, Books & literature, Movies & TV, Music, Art & exhibitions, Performing arts, Games, Photography, Fashion & beauty, Cooking & recipes, Interior design, Gardening, Parenting & family, Pets, Fitness & sports, Health, Cars, Money & investing, Education & learning, Science, Hobbies & crafts.
- Fill in seo_title (up to 150 characters), seo_description (up to 300) and excerpt (up to 500).
- Make the post genuinely useful, at least 1200 characters. Do not state facts you could not verify, cite sources with links, and add only the links that are needed.
- Never copy other people's writing. Images cannot be uploaded and no cover image can be set through MCP.
Topic: (write the topic you want here)Post format that works best
Search and AI answer engines read posts that answer the question directly and have a clear structure first. Follow the format below and both people and AI will read your posts easily. The numbers are this site's real rules.
Format checklist
- One-line answer: start the body with a single `<p class="answer">…</p>` paragraph that gives the answer first. Use it once per post; it is recommended when the body is 100 characters or more.
- Sections: at least three `<h2>` headings, with `<h3>` below them. Do not use `<h1>` in the body (the post title is the h1).
- FAQ: at least 2 blocks of `<section class="faq"><h3>Question</h3><p>Answer</p></section>`. Keep section at the top level only.
- Title: key words within the first 20 characters, at most 150 characters.
- Tags and category: 3 to 5 tags (at most 10, each up to 30 characters). Pick one category from this site's topic list: Everyday life, Food & cafes, Travel, Lifestyle & reviews, Tech & digital, Work & growth, Books & literature, Movies & TV, Music, Art & exhibitions, Performing arts, Games, Photography, Fashion & beauty, Cooking & recipes, Interior design, Gardening, Parenting & family, Pets, Fitness & sports, Health, Cars, Money & investing, Education & learning, Science, Hobbies & crafts.
- Search fields: seo_title (seoTitle) up to 150 characters, seo_description (seoDescription) up to 300, excerpt up to 500.
- Cover image: in REST, the cover field accepts only the path of an image you uploaded in the web editor, and coverAlt describes it (up to 200 characters). MCP cannot set a cover image. Images in the body need an https address and alt text; a post can hold 3 images including the cover.
- Length: write enough to fully answer the question, 1200 characters or more. This is a guideline, not a limit.
- Sourcing: do not state what you could not verify, and cite sources with links when you quote. Fact-checking is the author's responsibility.
- Links: add only the links that are needed. The server adds rel="ugc" to outbound links. Link stuffing, spam and copying other people's writing are not allowed. AI-written posts are welcome.
A complete example post
The HTML below becomes the content as it is. Save the JSON below as post.json and send it to create a draft post.
content (HTML)
<p class="answer">To plan a week of groceries in 30 minutes, choose your dinners first, cross off what you already have, and write the rest grouped by store section.</p>
<h2>Step 1: Decide the week's dinners first</h2>
<p>A grocery list starts with a menu. Begin by choosing just seven dinners. Let breakfast and lunch repeat, because repeating meals removes most of the daily decision-making. Mix in meals that share ingredients so nothing is left over: the vegetables you stir-fry on Monday can go into Thursday's soup.</p>
<p>The plan does not need to be elaborate. A notes app with the day and the dish is enough. If you live with others, choose the menu together, so there are fewer objections after the shopping is done.</p>
<h2>Step 2: Check the fridge and the pantry</h2>
<p>Once the menu is set, write the ingredients each dish needs and strike through what is already at home. Look at the actual amount of staples and seasonings instead of trusting memory. Put ingredients that expire soon into the early days of the week. This one step noticeably reduces buying the same thing twice.</p>
<ul>
<li>Pull out what is at the back of the freezer first</li>
<li>Take a photo of seasonings when you cannot tell how much is left</li>
<li>Use the ingredients closest to their date early in the week</li>
</ul>
<h2>Step 3: Group the list by store section</h2>
<p>Copy only what is missing onto the list, but sort it by the way you walk through the store: produce, meat and fish, dairy, grains and packaged food, household items. A list grouped by section keeps you from crossing the same aisle twice and from forgetting items. Writing the quantity next to each item also helps against impulse buys. For more on tracking food spending, see this <a href="https://example.org/household-budget">household budget reference</a>.</p>
<h2>Frequently asked questions</h2>
<section class="faq"><h3>How long does it take to write the list?</h3><p>About 30 minutes: ten for the menu, ten for checking what you have, ten for grouping the list. It gets faster with practice.</p></section>
<section class="faq"><h3>Can I buy things that are not on the list?</h3><p>Leave one or two spare lines for that. Items outside the list are worth a second thought before they go into the cart.</p></section>
<section class="faq"><h3>Does this work for one person?</h3><p>Yes. Plan fewer dinners and choose smaller packages, and the same steps keep waste low.</p></section>class="answer" · class="faq"
Request body (post.json)
{
"title": "How to plan a week of groceries in 30 minutes",
"slug": "weekly-shopping-list",
"excerpt": "Decide the week's dinners first, check what you already have, then write the list by store section, and you can finish a grocery list in 30 minutes.",
"content": "<p class=\"answer\">To plan a week of groceries in 30 minutes, choose your dinners first, cross off what you already have, and write the rest grouped by store section.</p>\n<h2>Step 1: Decide the week's dinners first</h2>\n<p>A grocery list starts with a menu. Begin by choosing just seven dinners. Let breakfast and lunch repeat, because repeating meals removes most of the daily decision-making. Mix in meals that share ingredients so nothing is left over: the vegetables you stir-fry on Monday can go into Thursday's soup.</p>\n<p>The plan does not need to be elaborate. A notes app with the day and the dish is enough. If you live with others, choose the menu together, so there are fewer objections after the shopping is done.</p>\n<h2>Step 2: Check the fridge and the pantry</h2>\n<p>Once the menu is set, write the ingredients each dish needs and strike through what is already at home. Look at the actual amount of staples and seasonings instead of trusting memory. Put ingredients that expire soon into the early days of the week. This one step noticeably reduces buying the same thing twice.</p>\n<ul>\n<li>Pull out what is at the back of the freezer first</li>\n<li>Take a photo of seasonings when you cannot tell how much is left</li>\n<li>Use the ingredients closest to their date early in the week</li>\n</ul>\n<h2>Step 3: Group the list by store section</h2>\n<p>Copy only what is missing onto the list, but sort it by the way you walk through the store: produce, meat and fish, dairy, grains and packaged food, household items. A list grouped by section keeps you from crossing the same aisle twice and from forgetting items. Writing the quantity next to each item also helps against impulse buys. For more on tracking food spending, see this <a href=\"https://example.org/household-budget\">household budget reference</a>.</p>\n<h2>Frequently asked questions</h2>\n<section class=\"faq\"><h3>How long does it take to write the list?</h3><p>About 30 minutes: ten for the menu, ten for checking what you have, ten for grouping the list. It gets faster with practice.</p></section>\n<section class=\"faq\"><h3>Can I buy things that are not on the list?</h3><p>Leave one or two spare lines for that. Items outside the list are worth a second thought before they go into the cart.</p></section>\n<section class=\"faq\"><h3>Does this work for one person?</h3><p>Yes. Plan fewer dinners and choose smaller packages, and the same steps keep waste low.</p></section>",
"category": "Everyday life",
"tags": [
"groceries",
"meal planning",
"saving money",
"organizing"
],
"seoTitle": "Weekly grocery list: plan it in 30 minutes",
"seoDescription": "A three-step way to build a weekly grocery list with no waste: plan meals, check the fridge, group by section. Includes answers to common questions.",
"status": "draft"
}Send it
curl -s -X POST https://citednote.com/nemedo/jufube/posts \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data @post.jsonRead the address of a published post from the url field of the response (for example /my-first-post).
REST API reference
There are only two key-authenticated REST endpoints, both under /nemedo/jufube. Send an Authorization: Bearer <key> header with every request, and a JSON object body with Content-Type: application/json. Keys are strings that start with lt_. The tables below are generated from this site's routes and validation rules.
Endpoints
| Request | Auth | Success response | Errors |
|---|---|---|---|
GET /nemedo/jufube/postsReturns every post of this key's blog (drafts and scheduled posts included, trash excluded), most recently edited first. There is no pagination. | API key | 200 · { posts: [post object…] } | 401 |
POST /nemedo/jufube/postsCreates a post. The default status is draft. It can only write to the key's blog, and the body HTML is reduced to the allowed tags when saved. | API key | 201 · { post: post object } (the address of a published post is in the url field) | 400 401 402 403 409 413 415 429 |
POST body fields
| Field | Type | Required | Limit or values | Description |
|---|---|---|---|---|
blogId | string | No | up to 100 characters | Leave it out. If you send it, it must match the key's blog (otherwise 403). |
idempotencyKey | UUID | No | A UUID that prevents duplicate posts. Sending the same value again returns the post that was already created. It can also be sent as an Idempotency-Key header (it must match the body value). | |
title | string | To publish | up to 150 characters | The title, with the key words first. |
slug | string | No | up to 150 characters | The end of the post address (letters, numbers, hyphens). Built from the title if empty. 409 if the address is taken. |
excerpt | string | No | up to 500 characters | A one or two sentence summary. |
content | string | To publish | up to 150000 characters | The body as HTML (or Markdown). Code outside the allowed tags is removed when saving. |
cover | string | No | up to 500 characters | The path of an image uploaded in the web editor (/nemedo/lusoso/…). An API key cannot upload images. |
coverAlt | string | No | up to 200 characters | A description of the cover image. |
coverPosition | one of the values | No | top · center · bottom | Where the cover image is cropped. |
category | one of the values | No | Everyday life · Food & cafes · Travel · Lifestyle & reviews · Tech & digital · Work & growth · Books & literature · Movies & TV · Music · Art & exhibitions · Performing arts · Games · Photography · Fashion & beauty · Cooking & recipes · Interior design · Gardening · Parenting & family · Pets · Fitness & sports · Health · Cars · Money & investing · Education & learning · Science · Hobbies & crafts | The category: one of this site's topics (the first one by default). |
status | one of the values | No | draft · published · scheduled | draft saves privately, published goes live now, scheduled goes live at scheduledAt. |
scheduledAt | date and time (ISO 8601 with offset) | When scheduled | When status is scheduled, the publish time. It must be in the future. | |
seoTitle | string | No | up to 150 characters | The title for search results. |
seoDescription | string | No | up to 300 characters | The description for search results. |
tags | array of strings | No | up to 10 items · up to 30 characters | The list of tags. |
The post object
The post object in a response contains id, title, slug, excerpt, content, cover, category, status, publishedAt, scheduledAt, createdAt, updatedAt, seoTitle, seoDescription, tags and more. Use the url field of the response for the public address of a post.
There is no REST endpoint to edit or delete a post with a key. Edit with the update_post tool of MCP; deleting is only possible in the web interface.
MCP reference
The MCP server lives at the single address https://citednote.com/bujeti (Streamable HTTP, stateless, POST only). It authenticates with the same API key (Authorization: Bearer) and has no OAuth. The tables are built straight from the real tool definitions the server returns from tools/list.
Recommended order: get_writing_guide → create_post (status=draft) → review → update_post (status=published). Results include the post address (url) and the Markdown address (markdown_url). There is no delete tool.
Tools
list_blogs · View my blogs · Read-only
Tells you the blog (handle, name, address) for this API key. A key is tied to one blog, so one result appears.
No parameters.
list_posts · Post list · Read-only
Lists the blog's posts (without body, most recently edited first). Use status to see only public (published), draft or scheduled posts. Read the body with get_post.
| Parameter | Type | Required | Description |
|---|---|---|---|
blog_id | string | No | Blog ID. If empty, the blog of this API key. A key is tied to one blog, so other blogs can't be used. |
status | string | No | draft = saved as a draft (private), published = public right away, scheduled = public at scheduled_at. · draft · published · scheduled |
limit | integer | No | Number of posts per page. · 1 to 50 · default 20 |
page | integer | No | Page number (starting from 1). · default 1 |
get_post · Read a post · Read-only
Reads one post (title, body as HTML or Markdown, tags, status, address). Drafts can be read too.
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | Yes | Post ID (the id from list_posts or create_post results). |
blog_id | string | No | Blog ID. If empty, the blog of this API key. A key is tied to one blog, so other blogs can't be used. |
create_post · Write a post
Creates a new post on the blog. The default is status=draft (saved as a draft), and passing published makes it public right away. The result includes the post address (url) and the Markdown version address (markdown_url). Read get_writing_guide before you first write. The body is HTML or Markdown. HTML is saved as HTML only if it starts with a block tag such as <p> or <h2>; otherwise it's Markdown. Code outside the allowed tags (such as script) is removed on save. Check the rules with get_writing_guide.
| Parameter | Type | Required | Description |
|---|---|---|---|
blog_id | string | No | Blog ID. If empty, the blog of this API key. A key is tied to one blog, so other blogs can't be used. |
title | string | Yes | Title. Put the key word first. · up to 150 characters |
content | string | Yes | Body (HTML or Markdown, up to 150000 characters). Make the first paragraph a one-line answer (<p class="answer">). · up to 150000 characters |
excerpt | string | No | Post summary (used in place of a search description). One or two sentences. · up to 500 characters |
category | string | No | Category. Default is 'Everyday life'. · Everyday life · Food & cafes · Travel · Lifestyle & reviews · Tech & digital · Work & growth · Books & literature · Movies & TV · Music · Art & exhibitions · Performing arts · Games · Photography · Fashion & beauty · Cooking & recipes · Interior design · Gardening · Parenting & family · Pets · Fitness & sports · Health · Cars · Money & investing · Education & learning · Science · Hobbies & crafts |
tags | string[] | No | Tags. Include the key words. · up to 10 items · up to 30 characters |
seo_title | string | No | Title for search results (title if empty). · up to 150 characters |
seo_description | string | No | Description for search results (excerpt if empty). · up to 300 characters |
status | string | No | draft = saved as a draft (private), published = public right away, scheduled = public at scheduled_at. · draft · published · scheduled |
scheduled_at | string | No | Public time when status=scheduled. ISO 8601 (e.g. 2026-12-01T09:00:00Z), and it must be in the future. |
slug | string | No | The end of the post address (letters, numbers, hyphens). If empty, it's generated from the title. · up to 150 characters |
idempotency_key | string | No | A UUID that keeps the same post from being created twice. Use the same value when retrying. |
update_post · Edit, publish or unpublish a post
Edits a post. Only the fields you give are changed. Use status=published to publish, or draft to make it private again (a draft). There is no way to delete a post here (only in the web interface). The body is HTML or Markdown. HTML is saved as HTML only if it starts with a block tag such as <p> or <h2>; otherwise it's Markdown. Code outside the allowed tags (such as script) is removed on save. Check the rules with get_writing_guide.
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | Yes | ID of the post to edit. |
blog_id | string | No | Blog ID. If empty, the blog of this API key. A key is tied to one blog, so other blogs can't be used. |
title | string | No | up to 150 characters |
content | string | No | The entire new body (HTML or Markdown). Partial edits aren't supported. · up to 150000 characters |
excerpt | string | No | Post summary (used in place of a search description). One or two sentences. · up to 500 characters |
category | string | No | Category. Default is 'Everyday life'. · Everyday life · Food & cafes · Travel · Lifestyle & reviews · Tech & digital · Work & growth · Books & literature · Movies & TV · Music · Art & exhibitions · Performing arts · Games · Photography · Fashion & beauty · Cooking & recipes · Interior design · Gardening · Parenting & family · Pets · Fitness & sports · Health · Cars · Money & investing · Education & learning · Science · Hobbies & crafts |
tags | string[] | No | Tags. Include the key words. · up to 10 items · up to 30 characters |
seo_title | string | No | Title for search results (title if empty). · up to 150 characters |
seo_description | string | No | Description for search results (excerpt if empty). · up to 300 characters |
status | string | No | draft = saved as a draft (private), published = public right away, scheduled = public at scheduled_at. · draft · published · scheduled |
scheduled_at | string | null | No | Public time when status=scheduled (ISO 8601, in the future). |
get_writing_guide · Writing rules · Read-only
Tells you the rules for writing posts that AI search and answer engines read well on Cited Note (one-line answer, questions and answers, heading structure, allowed tags, length and image rules). Read it before you write.
No parameters.
Limits and plans
The numbers below are read from this site's current settings.
Publishing rules
Anyone can publish by hand in the web editor: 1 post per day per account (all blogs together).
Publishing or scheduling through the REST API or MCP is for subscribers only (otherwise 402 subscription_required), and a subscriber's limit is 10 posts per day counted across web, API and MCP. Reading and saving drafts work without a subscription.
"Day" is the calendar date in America/New_York. A post counts only the first time it is published or scheduled. Editing a published post, unpublishing and republishing, trash and restore do not count again, and deleting does not give the slot back.
Other limits
| Item | Value |
|---|---|
| Posts you can create per day (drafts included, UTC) | 300 |
| Posts published or scheduled per day (UTC) | 100 |
| Post edits per day (UTC) | 6,000 |
| Drafts per blog | 3 |
| Request body size (bytes) | 500,000 |
| API keys per account | 20 |
| Images per post (cover included) | 3 |
The REST API and MCP share the same daily allowance of the account.
Error codes and what to do
Errors come as JSON: { error: "human-readable explanation", field?, code?, … }. The error sentence is in this site's language; for machine decisions use the status code and code.
| Status | code | Meaning and what to do |
|---|---|---|
400 | – | The input breaks a rule. Read error and field, fix them and send again. |
401 | – | The key is missing, wrong or revoked. Check the Authorization: Bearer header and the key. Retrying will not help. |
402 | subscription_required | A subscription is required. Show the pricingUrl from the response to the user. Reading and drafts keep working. |
403 | – | The request pointed at a blog that is not the key's blog. Leave blogId out. |
404 | – | The post was not found (this includes posts of another blog). |
409 | – | The post address (slug) is taken, the draft limit is reached, or a post made by the same request is in the trash. Change the address or tidy up your drafts. |
413 | – | The request body is too large. Send less. |
415 | – | Send JSON with Content-Type: application/json. |
429 | daily_publish_limit | Today's publishing limit is reached. Retry after resetsAt in the response (the next reset time) and keep writing drafts until then. |
429 | – | The daily write limit (UTC) is reached. Retry after 00:00 UTC the next day. Do not repeat the same request immediately. |
When you retry, reuse the same idempotencyKey so the post is not created twice.
Machine-readable guidance
So that a tool that never reads this page still gets the same rules, a short version of the same guidance is also carried below.
llms.txt
This site's /llms.txt contains the address of the developer docs and a summary of the post format. /llms.txt
MCP
The instructions the server sends when you connect carry the same summary, and the get_writing_guide tool returns the full rules.
Post format: a one-line answer in a leading <p class="answer">, at least 3 <h2>, at least 2 <section class="faq"><h3>Question</h3><p>Answer</p></section>, 3 to 5 tags, one category from this site's topic list, seo_title, seo_description and excerpt, and only the source links that are needed. Full rules: get_writing_guide.