{"_id":"@braynexservices/nigeria-mcp-core","_rev":"17-046e80978ef4a808cd91e9465bda7b5a","name":"@braynexservices/nigeria-mcp-core","dist-tags":{"latest":"0.3.2"},"versions":{"0.1.0":{"name":"@braynexservices/nigeria-mcp-core","version":"0.1.0","author":{"url":"Braynex Services Ltd — https://www.braynexservices.com","name":"Samuel Orie","email":"braynexservices@gmail.com"},"license":"MIT","_id":"@braynexservices/nigeria-mcp-core@0.1.0","maintainers":[{"name":"braynexservices","email":"braynexservices@gmail.com"}],"homepage":"https://www.braynexservices.com","bugs":{"url":"https://github.com/braynexservices/nigeria-mcp/issues"},"dist":{"shasum":"a1cb6410da3e7161bb28ea7f6f866ae6b2329282","tarball":"https://registry.npmjs.org/@braynexservices/nigeria-mcp-core/-/nigeria-mcp-core-0.1.0.tgz","fileCount":43,"integrity":"sha512-pUEyrlTmxeH385pzIEwSLbwlRb5mrMAgxP3JtuM+/Pl3geSRnfjY63o7TyC4EkpngHMUzNn1JQbUsH6+QILUag==","signatures":[{"sig":"MEQCIHn4TeIi/E1xD+byZRH/kthWp6nEKsDWQpPcuX1qHkEKAiAg2/Oie2rxt5UjV2BEBobhJTQRQ+1YI6yBUX3cYQyuVQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57938},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"3f2e9cc3e2634983f0e9ee55f550fa001c709369","private":false,"scripts":{"build":"tsc","smoke":"tsx scripts/smoke.ts","inspect":"mcp-inspector tsx src/stdio.ts","prepack":"tsc","start:http":"tsx src/http.ts","start:stdio":"tsx src/stdio.ts"},"_npmUser":{"name":"braynexservices","email":"braynexservices@gmail.com"},"deprecated":"Superseded — upgrade to ^0.3.0 (0.3.2+).","repository":{"url":"git+https://github.com/braynexservices/nigeria-mcp.git","type":"git","directory":"shared"},"_npmVersion":"11.6.1","description":"Core runtime for the Nigeria MCP data-lane servers: MCP server builder, normalized Zod schemas, typed provider seam, and shared fetch/cache/error helpers.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"zod":"^3.25.76","express":"^4.22.2","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.22.4","typescript":"^6.0.3","@types/node":"^26.0.0","@types/express":"^4.17.25"},"_npmOperationalInternal":{"tmp":"tmp/nigeria-mcp-core_0.1.0_1783374191799_0.3639701281384691","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@braynexservices/nigeria-mcp-core","version":"0.1.1","keywords":["mcp","model-context-protocol","nigeria","ai-agents","naija","data","api","zod"],"author":{"url":"Braynex Services Ltd — https://www.braynexservices.com","name":"Samuel Orie","email":"braynexservices@gmail.com"},"license":"MIT","_id":"@braynexservices/nigeria-mcp-core@0.1.1","maintainers":[{"name":"braynexservices","email":"braynexservices@gmail.com"}],"homepage":"https://www.braynexservices.com","bugs":{"url":"https://github.com/braynexservices/nigeria-mcp/issues"},"dist":{"shasum":"ad0d8ea5cde8dfcf2138a69c6593d3c74b1430cf","tarball":"https://registry.npmjs.org/@braynexservices/nigeria-mcp-core/-/nigeria-mcp-core-0.1.1.tgz","fileCount":43,"integrity":"sha512-XbK/z/ygiVRJV9YEiy9kdLsIvxr03jMDHJW8ZVIDeNryYTR/PagXcNXs9zUzPasIbxXkL3H+lNp8b4JoA/xHzg==","signatures":[{"sig":"MEYCIQDQxH5DEK+OPjQYB2eWxG359FtM8y9kcBOuIm/FRAiW2QIhAJKuBiS2OOkWTlqIY7tovg5U+Omu+QG+cOYYLU+HDasV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58349},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f3dba8b3b92767c6a33fc3a19315b5041f1f55e5","private":false,"scripts":{"build":"tsc","smoke":"tsx scripts/smoke.ts","inspect":"mcp-inspector tsx src/stdio.ts","prepack":"tsc","start:http":"tsx src/http.ts","start:stdio":"tsx src/stdio.ts"},"_npmUser":{"name":"braynexservices","email":"braynexservices@gmail.com"},"deprecated":"Superseded — upgrade to ^0.3.0 (0.3.2+).","repository":{"url":"git+https://github.com/braynexservices/nigeria-mcp.git","type":"git","directory":"shared"},"_npmVersion":"11.6.1","description":"Core runtime for the Nigeria MCP data-lane servers: MCP server builder, normalized Zod schemas, typed provider seam, and shared fetch/cache/error helpers.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"zod":"^3.25.76","express":"^4.22.2","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.22.4","typescript":"^6.0.3","@types/node":"^26.0.0","@types/express":"^4.17.25"},"_npmOperationalInternal":{"tmp":"tmp/nigeria-mcp-core_0.1.1_1784029012163_0.0867957117023419","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@braynexservices/nigeria-mcp-core","version":"0.2.0","keywords":["mcp","model-context-protocol","nigeria","ai-agents","naija","data","api","zod"],"author":{"url":"Braynex Services Ltd — https://www.braynexservices.com","name":"Samuel Orie","email":"braynexservices@gmail.com"},"license":"MIT","_id":"@braynexservices/nigeria-mcp-core@0.2.0","maintainers":[{"name":"braynexservices","email":"braynexservices@gmail.com"}],"homepage":"https://www.braynexservices.com","bugs":{"url":"https://github.com/braynexservices/nigeria-mcp/issues"},"dist":{"shasum":"678bccf4170f0946e4d99af13d86aaef3ccc0943","tarball":"https://registry.npmjs.org/@braynexservices/nigeria-mcp-core/-/nigeria-mcp-core-0.2.0.tgz","fileCount":43,"integrity":"sha512-iKh748t1/2Z1qyuHxm14CrVqR48jbEuxjn0NDU/1M6xzforc6AKaGsoCRo3I74poG1EOdLsMoJGXSwF2c8e0UQ==","signatures":[{"sig":"MEQCICrh50aOj1mi8CqQetlvbwn0201lfL89/QmvQCaPSNwGAiA2BhI1tFEmW2FP4kNbuCdL+MchiuTIQ9xB4pKQmJ28lw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44320},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"eb5ff6acc9e5dc123f524b0bec63e87a270fdb5e","private":false,"scripts":{"build":"tsc","smoke":"tsx scripts/smoke.ts","inspect":"mcp-inspector tsx src/stdio.ts","prepack":"tsc","start:http":"tsx src/http.ts","start:stdio":"tsx src/stdio.ts"},"_npmUser":{"name":"braynexservices","email":"braynexservices@gmail.com"},"deprecated":"Superseded — upgrade to ^0.3.0 (0.3.2+).","repository":{"url":"git+https://github.com/braynexservices/nigeria-mcp.git","type":"git","directory":"shared"},"_npmVersion":"11.6.1","description":"Core runtime for the Nigeria MCP data-lane servers: MCP server builder, normalized Zod schemas, typed provider seam, and shared fetch/cache/error helpers.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"zod":"^3.25.76","express":"^4.22.2","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.22.4","typescript":"^6.0.3","@types/node":"^26.0.0","@types/express":"^4.17.25"},"_npmOperationalInternal":{"tmp":"tmp/nigeria-mcp-core_0.2.0_1784033283910_0.27576979879923225","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@braynexservices/nigeria-mcp-core","version":"0.2.1","keywords":["mcp","model-context-protocol","nigeria","ai-agents","naija","data","api","zod"],"author":{"url":"Braynex Services Ltd — https://www.braynexservices.com","name":"Samuel Orie","email":"braynexservices@gmail.com"},"license":"MIT","_id":"@braynexservices/nigeria-mcp-core@0.2.1","maintainers":[{"name":"braynexservices","email":"braynexservices@gmail.com"}],"homepage":"https://www.braynexservices.com","bugs":{"url":"https://github.com/braynexservices/nigeria-mcp/issues"},"dist":{"shasum":"c0fed048b1f3ce752f9c9a960ebcf72b16f789b9","tarball":"https://registry.npmjs.org/@braynexservices/nigeria-mcp-core/-/nigeria-mcp-core-0.2.1.tgz","fileCount":43,"integrity":"sha512-Z+sSsymfSczUbNV5Vt2TurZGelXGJIXLXTgJFqaG/DC4rx58Y51iqP9d4C4a0i1wcpRyT0bXZXEVzQZ9Z9Hjdw==","signatures":[{"sig":"MEQCIBxDTJfW8UnCPApLfWRpsYLfYOKezkg96ZMQ3gRrXuYoAiBh2O6DuIR+37ChYsE4Hzbauw16GFggKBoec0Kby7eAWQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43925},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"eb5ff6acc9e5dc123f524b0bec63e87a270fdb5e","private":false,"scripts":{"build":"tsc","smoke":"tsx scripts/smoke.ts","inspect":"mcp-inspector tsx src/stdio.ts","prepack":"tsc","start:http":"tsx src/http.ts","start:stdio":"tsx src/stdio.ts"},"_npmUser":{"name":"braynexservices","email":"braynexservices@gmail.com"},"deprecated":"Superseded — upgrade to ^0.3.0 (0.3.2+).","repository":{"url":"git+https://github.com/braynexservices/nigeria-mcp.git","type":"git","directory":"shared"},"_npmVersion":"11.6.1","description":"Core runtime for the Nigeria MCP data-lane servers: MCP server builder, normalized Zod schemas, typed provider seam, and shared fetch/cache/error helpers.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"zod":"^3.25.76","express":"^4.22.2","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.22.4","typescript":"^6.0.3","@types/node":"^26.0.0","@types/express":"^4.17.25"},"_npmOperationalInternal":{"tmp":"tmp/nigeria-mcp-core_0.2.1_1784033573819_0.03693607037833835","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@braynexservices/nigeria-mcp-core","version":"0.3.0","keywords":["mcp","model-context-protocol","nigeria","ai-agents","naija","data","api","zod"],"author":{"url":"Braynex Services Ltd — https://www.braynexservices.com","name":"Samuel Orie","email":"braynexservices@gmail.com"},"license":"MIT","_id":"@braynexservices/nigeria-mcp-core@0.3.0","maintainers":[{"name":"braynexservices","email":"braynexservices@gmail.com"}],"homepage":"https://www.braynexservices.com","bugs":{"url":"https://github.com/braynexservices/nigeria-mcp/issues"},"dist":{"shasum":"ff35997e2cc0ebaaa047ff29c4b87859f9f91349","tarball":"https://registry.npmjs.org/@braynexservices/nigeria-mcp-core/-/nigeria-mcp-core-0.3.0.tgz","fileCount":43,"integrity":"sha512-E0ly0nbrCS4w8V/KpKvVrfSQ4hYU9zw17vfGL5S5Tcr/IZENe0YPWVmpuUltLptjiI7znYpy/Ym7ZW3Zqligvg==","signatures":[{"sig":"MEUCIQDN2A0bz/t91IaQjr5PFrxJEzMjKlAK4dDN68QyLjLZOQIgdFXnDl+bak+YrnxM3/OG1r9wWJjMDjoh4kW8F6N23yY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44484},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"eb5ff6acc9e5dc123f524b0bec63e87a270fdb5e","private":false,"scripts":{"build":"tsc","smoke":"tsx scripts/smoke.ts","inspect":"mcp-inspector tsx src/stdio.ts","prepack":"tsc","start:http":"tsx src/http.ts","start:stdio":"tsx src/stdio.ts"},"_npmUser":{"name":"braynexservices","email":"braynexservices@gmail.com"},"deprecated":"Superseded — upgrade to ^0.3.0 (0.3.2+).","repository":{"url":"git+https://github.com/braynexservices/nigeria-mcp.git","type":"git","directory":"shared"},"_npmVersion":"11.6.1","description":"Core runtime for the Nigeria MCP data-lane servers: MCP server builder, normalized Zod schemas, typed provider seam, and shared fetch/cache/error helpers.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"zod":"^3.25.76","express":"^4.22.2","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.22.4","typescript":"^6.0.3","@types/node":"^26.0.0","@types/express":"^4.17.25"},"_npmOperationalInternal":{"tmp":"tmp/nigeria-mcp-core_0.3.0_1784033737460_0.21546004996189327","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@braynexservices/nigeria-mcp-core","version":"0.3.1","keywords":["mcp","model-context-protocol","nigeria","ai-agents","naija","data","api","zod"],"author":{"url":"Braynex Services Ltd — https://www.braynexservices.com","name":"Samuel Orie","email":"braynexservices@gmail.com"},"license":"MIT","_id":"@braynexservices/nigeria-mcp-core@0.3.1","maintainers":[{"name":"braynexservices","email":"braynexservices@gmail.com"}],"homepage":"https://www.braynexservices.com","bugs":{"url":"https://github.com/braynexservices/nigeria-mcp/issues"},"dist":{"shasum":"de596f2d6ce1f01dee15879feb4e9e96582ee228","tarball":"https://registry.npmjs.org/@braynexservices/nigeria-mcp-core/-/nigeria-mcp-core-0.3.1.tgz","fileCount":43,"integrity":"sha512-G95fTBdaaDmHhgOcAc3LBHvk5VRXAfPEIBTYoGKCHMhb3Q0/gX74/n9MLkKsjprA1jKi1n74WWoBoWpNn+RZdA==","signatures":[{"sig":"MEQCIGIa3B3eK7trsM5Y+wimkVBpTXejoLlipW7p0Iaq+/HfAiA2r0k2oDuQ+na9+J/Fc8nX5vaNbBLxvrFnHaUzC6AenQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44364},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"91a1e64e071e03bae86c9806f165b23535319f53","private":false,"scripts":{"build":"tsc","smoke":"tsx scripts/smoke.ts","inspect":"mcp-inspector tsx src/stdio.ts","prepack":"tsc","start:http":"tsx src/http.ts","start:stdio":"tsx src/stdio.ts"},"_npmUser":{"name":"braynexservices","email":"braynexservices@gmail.com"},"repository":{"url":"git+https://github.com/braynexservices/nigeria-mcp.git","type":"git","directory":"shared"},"_npmVersion":"11.6.1","description":"Core runtime for the Nigeria MCP data-lane servers: MCP server builder, normalized Zod schemas, typed provider seam, and shared fetch/cache/error helpers.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"zod":"^3.25.76","express":"^4.22.2","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.22.4","typescript":"^6.0.3","@types/node":"^26.0.0","@types/express":"^4.17.25"},"_npmOperationalInternal":{"tmp":"tmp/nigeria-mcp-core_0.3.1_1784038979801_0.01644898767363001","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Superseded — upgrade to ^0.3.0 (0.3.2+)."},"0.3.2":{"name":"@braynexservices/nigeria-mcp-core","version":"0.3.2","keywords":["mcp","model-context-protocol","nigeria","ai-agents","naija","data","api","zod"],"author":{"url":"Braynex Services Ltd — https://www.braynexservices.com","name":"Samuel Orie","email":"braynexservices@gmail.com"},"license":"MIT","_id":"@braynexservices/nigeria-mcp-core@0.3.2","maintainers":[{"name":"braynexservices","email":"braynexservices@gmail.com"}],"homepage":"https://www.braynexservices.com","bugs":{"url":"https://github.com/braynexservices/nigeria-mcp/issues"},"dist":{"shasum":"fe8071a7de7fed605ce4a2af1819186a5631d991","tarball":"https://registry.npmjs.org/@braynexservices/nigeria-mcp-core/-/nigeria-mcp-core-0.3.2.tgz","fileCount":43,"integrity":"sha512-1jW53+qDrbCZPNldVlKfmshs3brpXP3mdWiJrS66ZTEL7VAQCof9iI8Igx4RjUIWLmFV/G/EDidCVQu1UdJiAw==","signatures":[{"sig":"MEUCIB01DwIEwl0HapeZkdERGVNvlV91VovaNoM8216wDJSmAiEA94KTSP5N6dIi2bOV4stml5bucoWW017Pwtb+oBAQUr4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37492},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"db91ea45c1d81fef86e1135c8541ea2ed179efbc","private":false,"scripts":{"build":"tsc","smoke":"tsx scripts/smoke.ts","inspect":"mcp-inspector tsx src/stdio.ts","prepack":"tsc","start:http":"tsx src/http.ts","start:stdio":"tsx src/stdio.ts"},"_npmUser":{"name":"braynexservices","email":"braynexservices@gmail.com"},"repository":{"url":"git+https://github.com/braynexservices/nigeria-mcp.git","type":"git","directory":"shared"},"_npmVersion":"11.6.1","description":"Core runtime for the Nigeria MCP data-lane servers: MCP server builder, normalized Zod schemas, typed provider seam, and shared fetch/cache/error helpers.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"zod":"^3.25.76","express":"^4.22.2","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.22.4","typescript":"^6.0.3","@types/node":"^26.0.0","@types/express":"^4.17.25"},"_npmOperationalInternal":{"tmp":"tmp/nigeria-mcp-core_0.3.2_1784040961706_0.17698275554953624","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-07-06T21:43:11.680Z","modified":"2026-07-14T15:00:15.719Z","0.1.0":"2026-07-06T21:43:11.937Z","0.1.1":"2026-07-14T11:36:52.298Z","0.2.0":"2026-07-14T12:48:04.054Z","0.2.1":"2026-07-14T12:52:53.969Z","0.3.0":"2026-07-14T12:55:37.602Z","0.3.1":"2026-07-14T14:22:59.929Z","0.3.2":"2026-07-14T14:56:01.875Z"},"bugs":{"url":"https://github.com/braynexservices/nigeria-mcp/issues"},"author":{"url":"Braynex Services Ltd — https://www.braynexservices.com","name":"Samuel Orie","email":"braynexservices@gmail.com"},"license":"MIT","homepage":"https://www.braynexservices.com","keywords":["mcp","model-context-protocol","nigeria","ai-agents","naija","data","api","zod"],"repository":{"url":"git+https://github.com/braynexservices/nigeria-mcp.git","type":"git","directory":"shared"},"description":"Core runtime for the Nigeria MCP data-lane servers: MCP server builder, normalized Zod schemas, typed provider seam, and shared fetch/cache/error helpers.","maintainers":[{"name":"braynexservices","email":"braynexservices@gmail.com"}],"readme":"# `shared/` — `@braynexservices/nigeria-mcp-core`\n\nThe shared MCP core consumed by every lane. **No lane logic lives here** — only the reusable spine.\n\n## Will contain (built in v1)\n```\nshared/src/\n├── server.ts        # buildServer(): new McpServer(), accepts tool registrations\n├── stdio.ts         # StdioServerTransport entrypoint (local, no auth)\n├── http.ts          # Express + stateless StreamableHTTPServerTransport + API-key auth + /health\n├── config.ts        # env parsing, provider selection, key list\n├── schemas.ts       # shared Zod base types + Normalized* contracts\n├── providers/types.ts  # typed provider interfaces per shipped lane (the seam)\n└── lib/\n    ├── normalize.ts # raw → normalized helpers\n    ├── errors.ts    # actionable MCP error helpers\n    └── cache.ts     # in-memory TTL cache (Redis-swappable)\n```\n\n## Design rules\n- The **provider seam** (typed interfaces) is the core idea — tools depend on interfaces, never concrete providers.\n- Normalized schema stability > provider breadth.\n\n","readmeFilename":"README.md"}