mcpField
C
citesearch

citesearch

Local
github.com/CloudCorpRecordsSearch0Updated 1w ago

About citesearch

citesearch is a CLI and MCP client for searching and reading the Edgepedia encyclopedia corpus. It also explores article relationships, traces link paths, and resolves ambiguous names with context, without requiring an account or API key.

Key features

  1. 01Search encyclopedia articles
  2. 02Fetch articles with citation options
  3. 03List related articles
  4. 04Trace shortest in-text link paths
  5. 05Resolve ambiguous names with context

Use cases

  1. 01Find articles by subject
  2. 02Read an article with its credit line
  3. 03Trace links between two articles
  4. 04Distinguish an ambiguous name using context

MCP support

Its stdio MCP server exposes five read-only tools: search, fetch, related, connect, and resolve. Requests are forwarded to the hosted Edgepedia endpoint; no account or API key is required.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"cloudcorprecords-citesearch": {
"command": "npx",
"args": [
"-y",
"@reneturcios/citesearch"
]
}
}
}
Run commandnpx -y @reneturcios/citesearch

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@reneturcios/citesearch0.1.0
ocighcr.io/cloudcorprecords/citesearch:0.1.0

Tools

5

Saved tool list · updated 1w ago

ParameterTypeRequiredDescription
querystringYesSubject to search Edgepedia articles by.

Details

From the project README

citesearch

citesearch is a small client for Edgepedia, a standalone encyclopedia corpus of (per its own release notes) some 486,000 articles, each with its own id and credit line. It can search the corpus by subject, read an article or topic in full, list the articles related to one you already have, trace the chain of in-text links between two articles, and pin down which article an ambiguous name refers to when you give it a little surrounding context. One binary serves a command-line interface and a stdio MCP server.

There is no account and no API key. Under the hood, both faces forward each request to the hosted Edgepedia endpoint at https://www.edgechat.ai/mcp and print the text it returns. Articles carry a credit line; where the upstream text includes it, it is shown as returned — please keep it attached wherever you reuse the article text.

Install

npx @reneturcios/citesearch search koala

Or run the container image:

docker run -i ghcr.io/cloudcorprecords/citesearch

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

citesearch search Mount Fuji
citesearch fetch ep9kcz7eym
citesearch fetch ep9kcz7eym --no-citations
citesearch related ep9kcz7eym
citesearch connect epStart epTarget
citesearch resolve Jaguar --context "British car maker"

citesearch --version

Results print as plain text — a search returns matching articles with their ids, titles, links and summaries; a fetch returns one article as Markdown with its link, date, topic, license and credit line; a resolve answer names the article meant, its confidence and the alternatives. Exit codes: 0 on success, 1 when the upstream request fails, 2 for usage errors. Arguments are validated before any request is made.

Notes on fetch: with citations on (the default) an article's sources appear as inline links; --no-citations asks for [n] markers instead, which reads about a quarter shorter. The upstream documentation also mentions fetching several ids at once, a single section, a token budget, or only matching passages — but it does not publish parameter names for those controls, so this client does not invent any: fetch takes exactly one id and the citations switch.

MCP server

One bin serves both faces. The mcp subcommand starts a stdio MCP server:

npx -y @reneturcios/citesearch mcp

MCP client configuration:

{
  "mcpServers": {
    "citesearch": {
      "command": "npx",
      "args": ["-y", "@reneturcios/citesearch", "mcp"]
    }
  }
}
Tools

All five tools are read-only and key-free.

ToolInputWhat it returns
searchquery (string) — a subject's name, not a questionMatching articles: id, title, link and summary (or the article opening when there is no summary). Other names and misspellings work, and topic phrases return the topic.
fetchid (string); citations (boolean, optional)One article as Markdown, with its link, date, topic, license and credit line. A topic's id lists its articles. citations: false swaps inline source links for [n] markers.
relatedid (string)Articles related to it: its topic-mates, a few from each neighbouring topic, and its geography neighbours.
connectfrom (string), to (string)The shortest chain of in-text links from one article to the other (at most 6 hops), with the sentence that makes each hop.
resolvename (string); context (string, optional)Which article the name means, with a confidence and the alternatives. For example, "Jaguar" beside "British car maker" is the car company; beside "big cat" it is the animal.

Development

npm install
npm run build   # tsc -> dist/
npm test        # node test runner over test/*.test.ts, no network (fake fetch only)
npm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE. (This license covers this client; Edgepedia article text is under its own license and carries its own credit line.)

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.