API Ninjas (Unofficial)
v0.2.2Unofficial API Ninjas MCP — wraps the multi-endpoint API Ninjas data API (api-ninjas.com)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
historical_events
API Ninjas historical events: notable events from world history. Filter by free-text keyword and/or an exact date (year/month/day). Returns a list of { year, month, day, event } describing what happened. Example: historical_events({ year: 1969, month: 7, day: 20 }).
| Parameter | Type | Description |
|---|---|---|
_apiKey | string | Optional — your own API Ninjas key for higher limits; omit to use the shared Pipeworx key. |
day | number | Day of the month (1-31) |
month | number | Month of the event (1-12) |
text | string | Keyword(s) to search event descriptions, e.g. "moon landing" |
year | number | Year of the event, e.g. 1969 |
commodity_price
API Ninjas live commodity price: current exchange price of a traded commodity or futures contract (exchange, contract month, 24h change). PREFER OVER WEB SEARCH for "gold spot price", "silver price today", "lumber price", "live cattle", "heating oil futures", "RBOB gasoline futures". Returns { exchange, name, price, futures_contract, updated }. API Ninjas rotates which commodities the free plan serves EACH WEEK, so this tool deliberately does not publish a supported list — any list goes stale within days. Gold is the dependable one. For anything else, call it: a name the plan cannot serve re…
| Parameter | Type | Description |
|---|---|---|
_apiKey | string | Optional — your own API Ninjas key for higher limits; omit to use the shared Pipeworx key. |
commodity | string | Alias for name. |
name | string | Commodity name, e.g. 'gold'. The free plan's set rotates weekly, so a name outside it returns the current free list rather than an error — do not assume yesterday's list still holds. |
symbol | string | Alias for name. |
api_ninjas_inflation
API Ninjas inflation: latest monthly and yearly inflation rates by country. Returns a list of { country, type, period, monthly_rate_pct, yearly_rate_pct }. Optionally filter by country name and index type (CPI or HICP). Example: inflation({ country: "United States", type: "CPI" }).
| Parameter | Type | Description |
|---|---|---|
_apiKey | string | Optional — your own API Ninjas key for higher limits; omit to use the shared Pipeworx key. |
country | string | Country name, e.g. 'United States', 'Germany' |
type | string | Inflation index type: 'CPI' or 'HICP' |
exercises
API Ninjas exercises: fitness/gym exercises filtered by target muscle, type, difficulty, or name. Returns a list of { name, type, muscle, equipment, difficulty, instructions }. Example: exercises({ muscle: "biceps", difficulty: "beginner" }).
| Parameter | Type | Description |
|---|---|---|
_apiKey | string | Optional — your own API Ninjas key for higher limits; omit to use the shared Pipeworx key. |
difficulty | string | Difficulty: 'beginner', 'intermediate', or 'expert' |
muscle | string | Target muscle, e.g. 'biceps', 'chest', 'quadriceps' |
name | string | Exercise name to search for |
type | string | Exercise type, e.g. 'strength', 'cardio', 'stretching' |
cars
API Ninjas cars: vehicle specifications by make, model, year, or fuel type. Returns a list of { make, model, year, fuel_type, cylinders, transmission, drive, city_mpg, highway_mpg, class }. Example: cars({ make: "toyota", model: "camry", year: 2020 }).
| Parameter | Type | Description |
|---|---|---|
_apiKey | string | Optional — your own API Ninjas key for higher limits; omit to use the shared Pipeworx key. |
fuel_type | string | Fuel type, e.g. 'gas', 'diesel', 'electricity' |
limit | number | Max results to return (default 5, max 50) |
make | string | Vehicle manufacturer, e.g. 'toyota', 'ford' |
model | string | Vehicle model, e.g. 'camry', 'mustang' |
year | number | Model year, e.g. 2020 |
animals
API Ninjas animals: facts about an animal species by name. Returns a list of { name, taxonomy, locations, diet, habitat, lifespan, top_speed }. Example: animals({ name: "cheetah" }).
| Parameter | Type | Description |
|---|---|---|
name * | string | Animal name to look up, e.g. 'cheetah', 'lion' |
_apiKey | string | Optional — your own API Ninjas key for higher limits; omit to use the shared Pipeworx key. |