mcpField
E
encyport

encyport

Local
github.com/CloudCorpRecordsSearch0Updated 2w ago

About encyport

encyport is an MCP server and CLI for searching Wikipedia and retrieving article content and structured page details. It uses Wikipedia's public APIs and requires no API key.

Key features

  1. 01Search for matching articles
  2. 02Retrieve full article text
  3. 03Get lead summaries and section outlines
  4. 04List linked pages and page status
  5. 05Retrieve recorded coordinates

Use cases

  1. 01Find Wikipedia articles for a topic
  2. 02Retrieve an article's summary or full text
  3. 03Check article links, sections, or coordinates

MCP support

Exposes MCP tools to search Wikipedia and retrieve article text, summaries, sections, links, and coordinates from its public APIs.

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-encyport": {
"command": "npx",
"args": [
"-y",
"@reneturcios/encyport"
]
}
}
}
Run commandnpx -y @reneturcios/encyport

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/encyport0.1.0
ocighcr.io/cloudcorprecords/encyport:0.1.0

Tools

6

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
limitintegerNoMaximum number of search results to return (optional; defaults to 10, clamped to 1-50).
querystringYesThe search text to match against Wikipedia article titles and content.

Details

From the project README

encyport

encyport reads Wikipedia so people and agents do not have to scrape it. Give it a phrase and it finds matching articles; give it a title and it hands back the article text, just the lead summary, the section outline, the pages the article links to, or the coordinates recorded for the subject — all from the public Wikipedia APIs on en.wikipedia.org, with nothing to sign up for and no API key.

Install

npx @reneturcios/encyport search "analytical engine"

Or run the container image:

docker run -i ghcr.io/cloudcorprecords/encyport

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

CLI

Every command prints JSON.

# Search for articles
encyport search Ada Lovelace
encyport search black holes --limit 5

# Read a page four ways, plus its coordinates
encyport article Ada Lovelace
encyport summary Ada Lovelace
encyport sections Ada Lovelace
encyport links Ada Lovelace
encyport coordinates Eiffel Tower

encyport --version

Titles and queries may contain spaces; everything after the command word is joined into one phrase. Exit codes: 0 on success, 1 when the lookup fails (a missing page or an upstream error, named in the message), 2 for usage errors.

MCP server

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

npx -y @reneturcios/encyport mcp

MCP client configuration:

{
  "mcpServers": {
    "encyport": {
      "command": "npx",
      "args": ["-y", "@reneturcios/encyport", "mcp"]
    }
  }
}
Tools
ToolInputWhat it returns
search_wikipediaquery (string, required), limit (integer, optional)Matching articles: title, page id, a cleaned text snippet, word count, and last-revision timestamp for each hit.
get_articletitle (string, required)The full plain-text content of the article.
get_summarytitle (string, required)The lead section of the article as plain text — the part most readers mean by "the summary".
get_sectionstitle (string, required)The article's section outline: section number, heading, heading level, and parse index, in document order.
get_linkstitle (string, required)Pages this article links to, each with its namespace and whether the target page exists.
get_coordinatestitle (string, required)Latitude/longitude pairs recorded for the page (empty when the subject has none), with the primary coordinate flagged.

Titles follow redirects, so a common name or an old title still lands on the current article. A title that does not resolve to a page is reported as an error rather than returning empty content.

Development

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

The core takes an injectable fetch function, and the test suite drives it entirely with hand-written payloads shaped like real Wikipedia API responses — the tests never touch the network.

License

MIT — see LICENSE.

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.